7,444 questions
1
vote
1
answer
247
views
React Router With Browser Extension Popup Window?
I'm trying to incorporate React Router into my Firefox browser extension to be able to display different pages in the extension's popup window. However, I keep getting the warning, You should call ...
0
votes
1
answer
49
views
Can modern Firefox addons/extensions edit user preferences (i.e. about:config properties)?
I keep toggling the preference full-screen-api.ignore-widgets via the Configuration Editor (i.e. about:config) and I'm wondering if Firefox would allow an extension to perform that change ...
0
votes
0
answers
76
views
browser.runtime.sendNativeMessage → An unexpected error occurred
To implement browser bookmark integration I’m trying to use Firefox native messaging on macOS. Even a trivial shell script that just writes to /tmp/test.log is never executed. Firefox just fails ...
0
votes
1
answer
210
views
How to not trigger Firefox's strict Content Security Policy by my extension
I am currently contributing on an extension, and the main problem is that on Firefox, the CSP is being triggered, which causes quite a few issues. Mainly it seems to block the injection of dynamic CSS,...
0
votes
1
answer
157
views
Install modified XPI on Firefox or Fennec while disconnected from the internet [closed]
I want to download an XPI extension, and then add a console.log('hello, XPI world'); to one of its JS files. My browser is Fennec installed from F-Droid on Android.
I am looking for an equivalent to ...
0
votes
1
answer
118
views
Getting around X-Frame-Options DENY in a Chrome extension? (2)
I have an iframe loading inside an extension page but unfortunately the document inside the iframe embeds its own iframes whose Content-Security-Policy I still can't circumvent with ...
1
vote
1
answer
119
views
Plasmo Firefox production build: Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist
With plasmo 0.90.5, I faced this issue when trying to run my Firefox extension that I built with manifest v3. This issue happens when I try to pass a message to the content script.
Uncaught (in ...
3
votes
1
answer
124
views
Is it possible to modify the body of an outgoing HTTP request in a Firefox add-on?
I am making a Firefox add-on and I need it to have the ability to modify the bodies of certain outgoing HTTP requests. The instructions for modifying headers are readily available on Mozilla's own ...
0
votes
1
answer
99
views
Unable to open Vue Devtools from Toggle or Select Components in Firefox/Chrome on macOS
Environment:
OS: macOS (e.g., Sonoma or Ventura)
Browsers tested: Firefox (latest), Chrome (latest)
Vue Devtools version: [7.7.7]
Vue version: [e.g., Vue 3.4.21]
Devtools installation method: Browser ...
2
votes
1
answer
64
views
Firefox extension for android mobile permissions error
I am working on an extension for Firefox for Android, but I am running into issues with permissions. I have this piece of code that checks what permissions the extension has.
const bookmarks = await ...
0
votes
0
answers
45
views
Browser extension fails to reliably update favicon on SPA pages despite correct <link rel="icon"> in DOM
I’m developing a browser extension that changes the favicon on a Single Page Application (SPA).. specifically Roblox.com. The extension injects code to replace the existing favicon with a custom SVG ...
2
votes
1
answer
107
views
save to file from firefox extension
I want to pass a single number from Firefox extension to external world, so that another application can get it. The only solution I can think of is to write it to a file in some known location, but I ...
0
votes
1
answer
52
views
How to handle window is focused or not when extension is opened?
So the thing is I have an extension that tracks users to check the time they spend in each site. I have a particular code to stop all kinds of tracking when the user switches away from chrome onto ...
0
votes
0
answers
60
views
Performance Discrepancy in Image Pixel Comparison Across Browsers Using Canvas
I am using the Canvas NPM library to perform a delta comparison between two images. Both images have the same dimensions (equal width and height). The Method takes two images as base64 string and I am ...
2
votes
1
answer
38
views
How to use `.xpiignore`?
I want to remake Firefox addon "Open With"( https://github.com/darktrojan/openwith ).
I noticed there is a file named .xpiignore but I can't find document( found some repositories which have)...