Category Archives: Chromium extension

Track Firefox Extension Installation and Usage Statistics Using Google Analytics

Browser extension developers often want to know how many people have downloaded their work and are actually using them. They may also want to know how often their users interact with the extensions, like accessing options/preferences etc. Although entities behind … Continue reading

Posted in Chromium extension, JavaScript, Mozilla extension, Web | Tagged , , , , , , , , , , | Comments Off

Using localStorage in Firefox Extensions for Persistent Data Storage

HTML5 introduced the ‘Web Storage‘ specification, which aims to provide a method for web developers to store data persistently on users’ local file system. By using the ‘localStorage’ object, key-value pairs can be stored (as strings) and persist through browser … Continue reading

Posted in Chromium extension, JavaScript, Mozilla extension | Tagged , , , , , , , , , , | 1 Comment

Accessing Operating System Clipboard in Chromium (Chrome) Extensions

Earlier this year, Webkit disabled clipboard access of web pages by default for security reasons (see this changelog and this bug report). Programming-wise, this means good old document.execCommand(‘Copy’) and document.execCommand(‘Paste’) will always return false. This is indeed quite understandable, and … Continue reading

Posted in Chromium extension | Tagged , , , , , | Comments Off