webextensions-examples icon indicating copy to clipboard operation
webextensions-examples copied to clipboard

Example Firefox add-ons created using the WebExtensions API

Results 86 webextensions-examples issues
Sort by recently updated
recently updated
newest added

I didn't found any example to share data between these js files. Do we have one already? I created one to share data between popup.js and background.js here< https://github.com/viswanathamsantosh/hydrator >....

Took me a little digging to figure out why my scripts took so long to run, I had [to change](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/extensionTypes/RunAt) the `runAt` value for `browser.tabs.executeScript`. It'd be useful if these...

Some examples (eg inpage-toolbar-ui ) inject code into a webpage. I would assume if the webpage isn't under our control it can easily delete, obscure and otherwise manipulate the displayed...

I want to programmatically dismiss an alert in WebExtensions. But I don't know how to. In Chrome extension, I can use `chrome.debugger` API to send a `Page.handleJavaScriptDialog` command. Then the...

Lot of extension let the user to enable/disable it per domain. Adblock for example . Would be nice to have a example about how to do that.

When running the `window-manipulator` example and clicking e.g. on `Create panel` in the popup, the error ``` Cannot send function call result: other side closed connection ``` appears in the...

Show which examples are working/supported on Firefox Mobile/Android/Fennec etc. E.g. although PageAction is supported on FF Android, all examples fail. (if showIcon() is not supported, how the hell do you...

enhancement

Create an example of an extension that runs in both Chrome and Firefox using this [polyfill](https://github.com/mozilla/webextension-polyfill) so that all API calls are compatible with each browser runtime.

enhancement

... based on what is currently best practice, simple and is not just using external dependencies(https://github.com/mdn/webextensions-examples/tree/master/webpack-modules). The idea is to not just have one big file with all the code,...

enhancement

Here's a screencast of what it looks like: ![bug](https://user-images.githubusercontent.com/6767374/189088977-094bbadd-097e-4710-be21-279b762127af.gif)