Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
246 views

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 ...
Fluffy the Togekiss's user avatar
0 votes
0 answers
46 views

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 ...
Niki Herl's user avatar
  • 538
0 votes
0 answers
75 views

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 ...
ManuelSchneid3r's user avatar
0 votes
1 answer
206 views

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,...
System_Error06's user avatar
0 votes
1 answer
157 views

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 ...
sashoalm's user avatar
  • 80.5k
0 votes
1 answer
118 views

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 ...
3rdTim's user avatar
  • 1
1 vote
1 answer
119 views

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 ...
Adib Zaini's user avatar
3 votes
1 answer
122 views

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 ...
user31184281's user avatar
0 votes
1 answer
99 views

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 ...
Yasin Dehfuli's user avatar
2 votes
1 answer
64 views

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 ...
Michael Oberpriller's user avatar
0 votes
0 answers
45 views

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 ...
BuddyWinte's user avatar
2 votes
1 answer
106 views

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 ...
Dekakaruk's user avatar
  • 767
0 votes
1 answer
52 views

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 ...
Abel Abraham's user avatar
0 votes
0 answers
60 views

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 ...
Dipesh Jain's user avatar
2 votes
1 answer
38 views

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)...
Lamron's user avatar
  • 258
0 votes
1 answer
73 views

I am working on a extension that downloads for the user content. (WebToEpub) Some websites check the origin header and block the request if it is wrong. How can i set the condition in the rule so that ...
 gamebeaker's user avatar
0 votes
0 answers
83 views

Background I’m developing a Chrome extension distributed locally in “unpacked” mode, outside of the Chrome Web Store. I need a way to guarantee that if any part of the extension’s code (JS, HTML, CSS, ...
Thales Wendel's user avatar
0 votes
0 answers
30 views

I can run my extension in the local firefox browser using web-ext run and I can make a webdriver test that can open firefox and automate it, but this version doesn't have the development extension ...
Force Constant's user avatar
-2 votes
1 answer
97 views

In FireFox's debugger, how do I break at the first line of JavaScript that an addon runs? I need to break at the entry-point, but I don't know what the entry-point is.
Geremia's user avatar
  • 5,842
1 vote
1 answer
70 views

Edit: I gave up and decided to store the data in the storage.local of the popup. I am sending a message from the popup to the background to fetch some data from storage.local (when I do it from the ...
Zhikang Rong's user avatar
2 votes
1 answer
146 views

I've been working on my extension YTDownloaderNew, and in the ytm-content-script.js, I'm using this code to detect when the user navigates to a YouTube Music playlist: navigation.addEventListener('...
DipCrai's user avatar
  • 41
1 vote
1 answer
96 views

I'm creating a browser extension where I need to capture a full-page screenshot. The process involves sending message signals between popup and background script and content-script. However, the await ...
Aniket's user avatar
  • 197
0 votes
0 answers
81 views

We have a custom Windows web browser forked from Firefox and for convenience to our users, we would like to include some extensions by default. If they need to be approved by the user that is not a ...
WilliamK's user avatar
  • 692
0 votes
0 answers
60 views

I'm building my android browser from Firefox codes at https://firefox-source-docs.mozilla.org/mobile/android/fenix.html. It builds and runs well. Now I have a firefox extension myext.xpi which I want ...
SantK's user avatar
  • 95
1 vote
1 answer
131 views

I'm trying out Firefox's WebExtensions Ai API, and trying to run their example code. However, I'm getting the error Uncaught TypeError: browser.trial is undefined. Their instructions say: For Beta ...
AlexMA's user avatar
  • 10.3k
3 votes
1 answer
58 views

I've been trying for hours to run an extension (addon) on Mozilla Firefox Browser that listens for drag&drop even on empty tabs. If you look at the following code you will notice console.log(...
user20417316's user avatar
0 votes
0 answers
78 views

I have a website that I write code for just to try out new things I learn about in web dev. I also want to get into Firefox extension creation, which I've already somewhat started with. I know that ...
Lampe2020's user avatar
  • 362
0 votes
1 answer
42 views

In the context of a web extension, I am injecting a button in a text node. It works on Chrome but on Firefox, I have some weird long blank in the injected span (between the button and the next comma). ...
aloisdg's user avatar
  • 23.8k
1 vote
1 answer
139 views

I started developing a firefox extension. In my extension I make requests with fetch. But the requests don't appear in the Network tab of developer tools. I am opening the developing from within the ...
yachaka's user avatar
  • 5,629
1 vote
1 answer
3k views

I am developing a firefox addon that is meant to work on mobile only. To test it I want to download and install the xpi file on firefox for my android tablet. This question wants me to open the file ...
Player_X_YT's user avatar
0 votes
1 answer
97 views

I'm trying to make a Firefox extension. So far all I have in my content script is import isEven from 'is-even' and I get back SyntaxError: import declarations may only appear at top level of a module....
vietan's user avatar
  • 150
1 vote
1 answer
129 views

Trying to create a webextension, following the example from firefox bookmark-it!. I'm developing on 132.0.2 (64-bit). I think I have copied it almost word by word, but i get on my background.js script:...
gcb's user avatar
  • 14.5k
0 votes
1 answer
84 views

I'm developing a browser extension that works on Firefox and Chrome, one of its features is to download a zip file with images (webp or png) and I'm using JSZip to create the zip file, but it does not ...
TheDacks's user avatar
1 vote
1 answer
74 views

I want to make a simple browser extension that would do the following: Replace hjkl vim keys with jkl; at compiler explorer's vim-mode. I figured out that I can open devtools, put a breakpoint ...
Jouni's user avatar
  • 413
0 votes
0 answers
82 views

Is it possible to use a mix of local and sync storages on a Chrome browser extension/add-on? Local will store a large set of data but sync will be a smaller subset that can be synced across multiple ...
h-rai's user avatar
  • 4,054
1 vote
1 answer
146 views

I'm writing Chrome extension (manifest v3), the main aim is to override some of the Window native functions and replace them before any other webpages scripts can access them. I have contentscript.js ...
L D's user avatar
  • 622
2 votes
1 answer
96 views

I don't get any cookies from my ruby on rails development site on firefox with my extension. I already added the extension's id to my CORS policy. main.js browser.cookies.getAll({ url: "http://...
Ash Hammond's user avatar
-1 votes
1 answer
65 views

I want to create a firefox extension that connect to firebase but no luck every time i add import to the backgroud.js script i get this error: Uncaught ReferenceError: firebase is not defined or ...
Jack's user avatar
  • 13
1 vote
1 answer
70 views

We want to verify that only our devices can use our extension, therefore devices need to give an ID and be put on our allowed list. Similar questions have been asked before, and the answer boils down ...
Thomas's user avatar
  • 383
1 vote
1 answer
418 views

I am working on an extension that will inject some elements into the webpages using content scripts. i used react/webpack to build the extension. but when i am trying to use the extension, in some ...
Anand's user avatar
  • 63
2 votes
0 answers
271 views

I'm working on a browser extension. In Chrome, I can simply do this: manifest.json: "background": { "service_worker": "scripts/vh_service_worker.js", }, and in ...
FMaz008's user avatar
  • 11.3k
0 votes
0 answers
74 views

What's the fastest way to retrieve all the folders? This is what I'm trying, but seems to be very slow: App.get_bookmark_folders = async (title = ``) => { let folders = [] let nodes = await ...
madprops's user avatar
  • 4,073
1 vote
0 answers
52 views

In manifest.json I have defined: "browser_action": { "default_icon": { "128": "img/icon128.png" }, "default_title&...
madprops's user avatar
  • 4,073
1 vote
1 answer
68 views

I am developing a "basic" extension (addon) in firefox to modify the request headers I followed the official documentation here (copy/paste but didn't work) https://developer.mozilla.org/en-...
fp007's user avatar
  • 480
0 votes
1 answer
125 views

I'm having a pretty frustrating problem with these firefox extensions. Specifically, the problem is that I cannot obtain and then use the data following the sendResponse of onMessage.addListener. Here ...
banks's user avatar
  • 13
0 votes
1 answer
72 views

When all_frames: true is set in manifest.json, the content script runs on all frames of the target page, but when a message is sent to the content script from another script, I would like to know how ...
FoxRefire's user avatar
-2 votes
1 answer
55 views

My question is about browser extensions written with javascript. Tutorials for writing a browser extension always seem to use some minimal boilerplate HTML/CSS/JS as the test site (index.html = "...
dbaser's user avatar
  • 327
0 votes
1 answer
94 views

I am developing a FireFox addon. I want to make that every time a PUT web request with debug_source: "played_threshold_reached" in its JSON request body is sent, the extension sends it with ...
Delar's user avatar
  • 1
0 votes
2 answers
81 views

I am writing a first test of a firefox extension. I am using the following websites as assistance: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension https:/...
Drifter64's user avatar
  • 1,113
1 vote
1 answer
174 views

I have a page which requires Basic Authentication - for example https://authenticationtest.com/HTTPAuth/. What I want is to obtain the URL of this page before the users enter their credentials. In ...
helesfaigabor's user avatar

1
2 3 4 5
149