I was trying to write a simple extension in Firefox wherein I modify the X-Frame-Allow header.  I looked at the documentation briefly and I see that they support webRequest.onHeadersReceived.addListener(). However, I'm unable to get my code to...
I am developing an firefox extension using webExtensions that would help me ease my work with the scenario below.  I have to click around 50-60 buttons on the site that update the task status. On click of this button, the web page is calling the we...
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 missing?  MANIFEST:  {   "name": "testGetCurr...
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 load the extension from about:debugging, I get the foll...
I have developed an add-on for Firefox and Chrome. It has content scripts. I want to access them in the browser tab's console (on Firefox the Web Console). For example, I want to enter a global variable defined in the content script(s) in the con...
Hello guys,  i am trying to implement an add-on for the Mozilla-Firefox Browser. The following script shows one backgorund script I already successfully integrated. It uses the Mozilla WebExtension API storage. It gets executed but the log on the br...
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 the URL. If the URL matches one of three possible valu...
I'm experimenting firefox webextensions. I'd like to make HTTP requests using the fetch API after submitting a form. The problem is that the fetch request is not doing anything.   Here is the data extracted from my manifest.json:   "brows...
I am trying to add a context menu item in the bookmark menu of Firefox (with a WebExtension). I read the contextMenus.create() article and the example works for me.  There are a bunch of context types, but none seems to work in the bookmark menu. Is...
So, I've looked through the WebExtensions API, but I haven't been able to figure out how to open an HTML page separate from about:addons for options. In the Add-on SDK you could have resource://ext-id-/path/to/file.html. I've tried making...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.