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'm pretty much lost on how to make the added contents of my popup window not disappear every time I open a new link or click it "away". I've read about content script, background script and the like but I don't honestly know ho...
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'm trying to create URL inspector using Firefox native messages. The problem is, when native application sends a verdict, onBeforeRequest listener already released request, thus redirection doesn't happen. Can you please help to make my exte...
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...
My interest is handling sites only during heavy load times for autofills to work. For example, when a sale opens and the site is swarmed, it sometimes crashes. I need to catch the site errors, so I can reload the page from the background script. As d...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.