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&#...
I'm curious if anyone knows how I would trigger a function to run if/once the user finishes selecting text on the web page? I would like the user to be able to select text, and after a short delay(or immediately, at this point it doesn't ma...
Since version 42, Firefox, by default, refuses to install unsigned add-ons. How do I disable this verification?...
I am a newbie to the browser extension development and I understand the concept of browser extensions altering the page and injecting codes into it.  Is there a way this direction can be turned around? I write an extension that provides a set of AP...
I'm using Execute JS to write and test Javascript code within Firefox. I want to open a new tab/window and write something to it and I tried  var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.i...
I am using the Firefox Add-on SDK to create an extension and am performing a PageMod. This code is in main.js.  ... exports.main = function() {   var pageMod = require("sdk/page-mod");    pageMod.PageMod({     include: "*",     cont...
When selecting a block of text (possibly spanning across many DOM nodes), is it possible to extract the selected text and nodes using Javascript?  Imagine this HTML code:  <h1>Hello World</h1><p>Hi <b>there!</b></p>...
How I can read WebSocket frames of a web page in a Chrome extension or Firefox add-on, in a way that cannot be detected by the page?  Inspect WebSockets frames from a Chrome Dev Tools extension formulates a similar question, but developing a NPAPI pl...
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...
I am trying to install an extension in Firefox 45 (same happens with Firefox 49), but Firefox does not allow me to do that, indicating that   This add-on could not be installed because it appears to be corrupt.    The way I am trying to install it is...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.