I have the following code in test.js which is run right before </body>:  alert('stovetop'); alert(greasy);   I have the following code in test.user.js:  (function () {      'use strict';     var greasy = 'greasy variable&#...
Since version 42, Firefox, by default, refuses to install unsigned add-ons. How do I disable this verification?...
Is it possible, using javascript, to control an overlay firefox extension? I've extracted the contents of the extension and have identified what functions/methods I need to run, but they are not accessible within the scope of the console.   Thank...
What do I need to on the server side to allow someone to get data from that server using JSONP. And what do I need to do on the user side as well? I want to use JSONP as an alternative to an XMLHttpRequest.   It won't work out of my Firefox exten...
I'm trying to listen to custom event 'peakAhBoo' so I add the event listener to gBrowser and if no gBrowser is present then I add it to aDOMWindow (gist).  Code snippet:  loadIntoWindow: function (aDOMWindow, aXULWindow) {   if (!aDOMWind...
I'm a newbie trying to do a simple HTTP post in JS within a Firefox extension..  This isn't passing through the parameters:  var params = "a=1&b=2&c=3" req.open('POST', 'http://www.mywebsite.com/'); req.send(pa...
Subsequent to removeEventListener in bootstrapped addon not working when addon disabled, I am exploring other possibilities.  Beside using bind() and caching the bound function, is there a way to use 'this' and pass argument?  // works fine b...
I am trying to find an easy way to detect if my extension is installed in Firefox 3.6. This should be done from a webpage, probably using javascript.  I've read a lot of blogs that says that I should try loading an image from my extension. Since...
What event-listeners can I use to identify requests originating from the hiddenDOMWindow (or an iframe within it) in a firefox-addon? I need to do this BEFORE the request has been sent, in the "http-on-modify-request" event, for example.   Wh...
I need it for my firefox extension. I don't care about waiting the page load completely, I want only observe URL and get an event every time it changes, also when I do history back and forward.  edit: I saw An observer for URL changes (Firefox Ex...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.