Skip to main content

Questions tagged [firefox-addon]

Commonly, you should use this tag IN ADDITION TO the tag for the specific type of add-on which you are asking about. At this point, the most common is firefox-addon-webextensions for WebExtensions based add-ons. A Firefox add-on is a way of adding to or modifying the Firefox web browser. Most commonly, questions in this tag are about Firefox extensions, which add new functionality to the browser, although "add-on" may also refer to themes or plugins.

firefox-addon
0 votes
0 answers
21 views

How to execute simple script like auto scroll on local file

When I put code on console (F12) on normal page this code works, normally has https:// address. But when it comes to local file or when i open pdf on browser, the F12 code doent work, but when you ...
Iso I's user avatar
  • 9
1 vote
0 answers
8 views

Accessing and overwriting builtin variables or classes within a webpage using a firefox addon's content script (Or alternative method?) [duplicate]

I wrote a userscript a while back for a specific webpage and I want to make a more polished tool using a web extension. The general idea is, Im intercepting a webpage's builtin Class, and rewriting ...
Mister SirCode's user avatar
1 vote
0 answers
37 views

Does CSS injected by "user style" browser extensions necessarily have the "user style" CSS origin? Is there a way to find out programmatically? [closed]

I'm trying to understand the mechanics of how user-style browser extensions (like Stylus) inject their CSS. According to my understanding, stylesheets with a 'user style' CSS origin have a priority ...
yg-i's user avatar
  • 129
1 vote
0 answers
25 views

Is it possible to clear web browser "offline website data" programmatically (extension development)?

As known, "Offline Website Data" can be cleared as follows from the browser: I tried to do that but there is no option to clear the "offline website data": browser.browsingData....
Lion King's user avatar
  • 33.5k
-2 votes
0 answers
34 views

Why does Mac OS X beep when triple-clicking on an input field inside a Firefox extension?

I'm the author of a browser extension, and I need help figuring out a certain behavior that only happens on Firefox on Mac OS X. How to reproduce Use Firefox on Mac OS X. (I'm using Firefox 127 on ...
Denilson Sá Maia's user avatar
1 vote
0 answers
48 views

Content script can't open a WebSocket connection in Firefox

Dev tools of the site, dev tools of the service worker and background.js can open a websocket connection perfectly fine. The content scripts however, will trigger onerror, then onclose immediately. I ...
Peasant Lord's user avatar
0 votes
1 answer
19 views

How to not download the binary when we reach an URL that finish by .exe

I want to be able to check the content of binary file before downloading it on a browser when I reach a .exe file with a URL (something like www.example.com/test.exe) I did not find anything to do it, ...
leo bertrand's user avatar
1 vote
0 answers
8 views

background script not getting executed in firefox extension but gets detected when temporarily load extension

I have written this manifest.json { "manifest_version": 2, "name": "Get tab url and title", "description": "Copies the Title and URL of the currently ...
Ciasto piekarz's user avatar
1 vote
0 answers
27 views

Is there any way to get setPointerCapture to work with artificial pointer events?

I'm working on a browser extension that creates artificial pointer events and sends them into the page using dispatchEvent like so: function myCreatePointerEvent(pointerId, isPrimary, screenX, screenY,...
Bri Bri's user avatar
  • 2,329
2 votes
1 answer
40 views

Firefox `browser.identity.getRedirectURL()` uses random id instead of extension ID in URL

browser.identity.getRedirectURL() returns https://3347c8cebdf365b6de12af5ab0927a76cf6421c3.extensions.allizom.org/ even though in manifest.json browser_specific_settings.gecko.id is set to contexto-...
Bader's user avatar
  • 63
1 vote
0 answers
50 views

Chrome extension: How to modify the cookie header in response (& request) headers in a network call in manifest v3?

I want to add tab ID as prefix in the Cookie response header of a web request before it reaches the web application and similarly want to remove that prefix from the Cookie request header before the ...
backslashN's user avatar
  • 2,865
-1 votes
1 answer
26 views

How to not show the downloads notification made by extension when it downloads in any site

I tried suppressing them in my background js. And it still notifying the downloaded on Downloads right top. Other than turn off the download notification manually, can we code it not notify it? Tried ...
Iso I's user avatar
  • 9
0 votes
0 answers
17 views

Why cookies can not be returned?

I have the following firefox extension. I want to get cookies from the browser. But when I click "All" in the extension, the console.log(await (browser.cookies.getAll({})) only print an ...
user1424739's user avatar
1 vote
0 answers
40 views

Is there a way to modify the POST data in an extension now?

I'm testing the webRequest API for extension. Specifically, I want to modify the data in the request body before sending it to the server. manifest.json { "description": "...
William's user avatar
  • 935
0 votes
0 answers
22 views

Firefox add-on reviewed failed and offer a build report

I am using Plasmo and React developing a browser extendsion. When I submitted the extendsion to firefox, I got a info as below Sources, specifically Build not reproducing: Reproducing the submitted ...
Eve-Sama's user avatar
  • 2,580

15 30 50 per page
1
2 3 4 5
497