7,446 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
132
views
Firefox WebExtension new-tab <video> briefly flashes black between poster and first frame, even though source video has no black frame
I am building a Firefox "New Tab" WebExtension that shows a full-screen looping video wallpaper (cat + fireplace). For perf reasons I try to show a static preview instantly and then fade into the live ...
0
votes
1
answer
85
views
Is there a way to get more detailed error messages from browser.scripting.executeScript?
I’m trying to run a simple script that extracts the length of a YouTube video inside of a tab from an extension in Firefox. I have code that looks like this:
try {
duration = await browser....
1
vote
1
answer
252
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
61
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
84
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
251
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
179
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
121
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
131
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
136
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
104
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
68
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
46
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
121
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
53
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 ...