firefox-addon-webextensions Questions

1

I am currently taking my very first steps in extension development. At the moment I'm just trying to display some info in a popup that appears when I hit the button. The problem is that it is dynam...
Substructure asked 6/1, 2018 at 18:28

1

Solved

Am learning how to use the Firefox Web Extensions API, and am using IntelliJ. Is there a way to get code completion / suggestions for the API? I followed the steps in the answer below, but ther...

2

Solved

I'm using the Firefox permissions API documented HERE I'm having a problem with the request method, wherein all of my permissions requests result in: Error: permissions.request may only be called...

1

Solved

When I make a request to http://www.example.com, why does I see http://www.example.com/ in the webRequest.onBeforeRequestListener? For example: chrome.webRequest.onBeforeRequest.addListener( det...

1

I am trying to learn WebExtension development for Firefox. I find the window debugging tools EXTREMELY useful as I can interactively evaluate javascript code in the window context. For the Webexte...
Typewritten asked 6/11, 2017 at 18:31

1

Solved

I'm referring to the "Internal UUID" value that's visible in about:debugging, which is different from the extension ID that is specified in manifest.json for web extensions. In my testing, this is...
Sillsby asked 31/10, 2017 at 18:43

1

Solved

I have developed a WebExtension for Firefox and my website works with the extension as a prerequisite. I need to check programmatically whether the extension is installed or not and if not ask the ...

2

Solved

I have a bookmarking firefox/chrome WebExtension (using the standard popup, content and background scripts). My api servers have a /login route that returns a JSON Web Token and the web app stores ...

1

Solved

I am migrating my old Firefox extenstion to WebExtenstion API. Here is what my extension does: add a button to the toolbar specify four settings in Options when a user clicks a button, I verify t...
Freemanfreemartin asked 7/9, 2017 at 14:16

1

Solved

While migrating my old Firefox add-on to WebExtension API, failed to understand while I am getting this error: TypeError: browser.browserAction is undefined Here is the manifest.json: { ...
Playwright asked 6/9, 2017 at 17:37

1

Solved

Working at migrating my old Firefox extension to the up-to-date Webextension format. Earlier, I was able to get the URL of the active tab in the following way: var URL = tabs.activeTab.url; ...
Frijol asked 6/9, 2017 at 15:59

1

Solved

I have written a Chrome extension and I am migrating it to other browsers like Firefox and Edge. However, the WebExtensions API on Firefox has some differences compared to Chrome's API. So I...

2

I put a lot of stuff in searching an easy way to develop a Firefox extension, but I am unable to create an extension. Kindly tell me the file structure of Firefox extensions and an easy way to inst...

1

I'm running web-ext lint and getting back a few errors like this: UNSAFE_VAR_ASSIGNMENT Unsafe assignment to innerHTML Due to both security and performance concerns, this may not be set using dyna...
Rifle asked 8/8, 2017 at 23:20

2

Solved

Not sure why I cannot retrieve info about current tab using getCurrent() when I navigate to, say, amazon.com or google.com and hit the browser icon for a browser action. Any hints on what I am miss...
Fibrillation asked 29/4, 2017 at 12:38

1

Solved

I'm writing a Firefox Add-On using the WebExtension API. Some of the APIs (such as browser.storage.sync) require an Add-On ID to be explicitly declared in the add-on's manifest.json file. The docu...

2

I would like to get the URL of the current tab within a page action popup. At first it seems obvious: Just use the tabs API. But that doesn't seem to be available on Android if I deciphering the do...

2

Solved

Does Firefox WebExtensions support an API to change proxy preferences (like the chrome.proxy API)? Does Mozilla have plans to add it?

1

Solved

I have a WebExtension with the following structure: webextension [directory] - background.js - page1.html - page1.js - page2.html - page2.js The background.js listens for errors. If any, it...

1

Solved

Porting extension from Chrome into FF Followed this tutorial (which works fine in Chrome): http://www.codingscripts.com/check-whether-user-has-a-chrome-extension-installed/ Sending message from w...
Headwork asked 16/6, 2017 at 15:11

3

Solved

I already know the way to temporarily install an add-on for debugging. However, I want to install it persistently. I do not want to upload it to AMO, because I've developed it for use by myself onl...
Sandrocottus asked 14/6, 2017 at 6:56

1

Solved

Reference to the answer for my previous question here. Briefly: When an error occurs in a navigation webRequest (e.g. a DNS lookup error), the URL to which the tab navigates is available in the url...
Coherent asked 14/6, 2017 at 17:58

1

Solved

I am trying to execute a script that shows a green border on the specified tab (by ID). The script should execute when the response for the requested URL is an error. The problem is that, when I lo...

1

Solved

I'm porting a legacy Firefox extension to WebExtensions. I want to know at run time the version number of the extension itself. Right now I'm doing: let extensionVersion = (function() { var xhr =...
Carliecarlile asked 19/5, 2017 at 19:13

0

Forgive me if you think its an obvious one, but I didn't find any relevant(non-obsolete) material on the same. So, I have a chrome extension out there (Zoho Mail Tracker) which as the name suggest...

© 2022 - 2024 — McMap. All rights reserved.