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 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...
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...
Testpage: https://www.google.com  It works in Chrome but in Firefox Nightly 52.0a1 it gives me this error when clicked on the notification:      document.execCommand(‘cut’/‘copy’) was denied because it was not   called from inside a short run...
I am trying to send a variable from a background script to a content script that is associated with an HTML page. The content script updates the HTML content with the variable received from the background script.   The problem is that I am getting th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.