Skip to content Skip to sidebar Skip to footer
Showing posts with the label Firefox Addon Webextensions

Fetch Api Does Not Work In Webextensions

I'm experimenting firefox webextensions. I'd like to make HTTP requests using the fetch API… Read more Fetch Api Does Not Work In Webextensions

Unable To Use Components In Webextensions: Get "referenceerror: Cu Is Not Defined"

I have a simple extension where I use Cu.import to import a JavaScript code module. But, when I loa… Read more Unable To Use Components In Webextensions: Get "referenceerror: Cu Is Not Defined"

Best Way To Purge Innerhtml From A Firefox Extension

I'm running web-ext lint and getting back a few errors like this: UNSAFE_VAR_ASSIGNMENT Unsafe… Read more Best Way To Purge Innerhtml From A Firefox Extension

Copy Text To Clipboard From Background Script In A Firefox Webextension

I am porting my Chrome extension over to Firefox. It has a paste to clipboard function. But, I have… Read more Copy Text To Clipboard From Background Script In A Firefox Webextension

Overriding Canvasrenderingcontext2d.getimagedata()

I am trying to override the built in method CanvasRenderingContext2D.getImageData(). I would like t… Read more Overriding Canvasrenderingcontext2d.getimagedata()

Firefox Webextension Alternative To Addon Clipboard Sdk For Copying Images

I am trying to develop a Firefox extension which involves copying an image to the clipboard. In the… Read more Firefox Webextension Alternative To Addon Clipboard Sdk For Copying Images

Messages Intended For One Script In The Background Context Are Received By All

I have a WebExtension with the following structure: webextension [directory] - background.js … Read more Messages Intended For One Script In The Background Context Are Received By All

How To Copy To Clipboard Via Chrome.notification.create With Chrome.notification.onclicked In A Firefox Webextension Add-on?

Testpage: https://www.google.com It works in Chrome but in Firefox Nightly 52.0a1 it gives me this … Read more How To Copy To Clipboard Via Chrome.notification.create With Chrome.notification.onclicked In A Firefox Webextension Add-on?

Promise Support For Chrome Extensions Api?

I've been writing some browser extensions in the last few weeks and until today I thought that … Read more Promise Support For Chrome Extensions Api?

Open A Tab And Make A Post Request To It In A Firefox Webextension

I try to migrate my firefox addon wich use low level SDK API to WebExtension and at some point I wa… Read more Open A Tab And Make A Post Request To It In A Firefox Webextension

How To Open A Firefox Webextension Options Page As A Tab, Separate From About:addons

So, I've looked through the WebExtensions API, but I haven't been able to figure out how to… Read more How To Open A Firefox Webextension Options Page As A Tab, Separate From About:addons

Catch If Runtime.sendMessage Doesn't Receive Response

Let's say we have a background script which communicates with the browser action popup. Under c… Read more Catch If Runtime.sendMessage Doesn't Receive Response

Best Way To Purge InnerHTML From A Firefox Extension

I'm running web-ext lint and getting back a few errors like this: UNSAFE_VAR_ASSIGNMENT Unsafe… Read more Best Way To Purge InnerHTML From A Firefox Extension

Get Tab URL From Page Action (WebExtensions, Android)

I would like to get the URL of the current tab within a page action popup. At first it seems obviou… Read more Get Tab URL From Page Action (WebExtensions, Android)