Skip to main content
30 votes
3 answers
16k views

I am trying to test sample code for web extension for browsers. But, it doesn't work. I checked the console for Google Chrome and also for Firefox. It doesn't print anything. The following is my code: ...
harish's user avatar
  • 654
551 votes
18 answers
767k views

Recently I've realised that, some adblocker extensions (such as adBlocker plus) block some Ajax calls. I get that error on the console: GET http://localhost/prj/conn.php?q=users/list/ net::...
s.alem's user avatar
  • 13.2k
12 votes
3 answers
27k views

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 ...
user avatar
257 votes
18 answers
180k views

So now that HTML5 introduces history.pushState to change the browsers history, websites start using this in combination with Ajax instead of changing the fragment identifier of the URL. Sadly that ...
Felix Kling's user avatar
270 votes
1 answer
126k views

EDIT After looking at JSHint I found this 'destructuring expression' is available in ES6 (use esnext option) or Mozilla JS extensions (use moz) and this however after reading it I still don't ...
Georgi Georgiev's user avatar
88 votes
10 answers
63k views

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 ...
Robert Smith's user avatar
35 votes
1 answer
16k views

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?...
keewooi's user avatar
  • 1,012
59 votes
7 answers
40k views

I want to use jQuery inside a firefox extension, I imported the library in the xul file like this: <script type="application/x-javascript" src="chrome://myExtension/content/jquery.js"> </...
user avatar
53 votes
7 answers
86k views

Since version 42, Firefox, by default, refuses to install unsigned add-ons. How do I disable this verification?
czerny's user avatar
  • 16.9k
136 votes
5 answers
364k views

I'm trying to parse a bit.ly JSON response in javascript. I get the JSON via XmlHttpRequest. var req = new XMLHttpRequest; req.overrideMimeType("application/json"); req.open('GET', ...
chanux's user avatar
  • 1,875
4 votes
4 answers
18k views

I need to test Firefox using an extension. I want to automate the test and visit several websites. I installed Selenium and it opens in geckodriver. However, the extension is not there. I can ...
user9371654's user avatar
  • 2,488
371 votes
7 answers
265k views

I have been reading about how to build plug-ins and this "MIME type" keeps getting discussed in it. I have tried to look into it and know that it is Multipurpose Internet Mail Extensions (MIME) but no ...
Mohsin Sheikh Khalid's user avatar
146 votes
6 answers
89k views

What are some resources for getting started writing a Firefox Addon? Is there an API guide somewhere? Is there a getting started tutorial somewhere? Is there a developer discussion board somewhere?
Nick's user avatar
  • 13.5k
5 votes
2 answers
11k views

I put a lot of stuff in searching an easy way to develop a Firefox extension, but I am unable to create an extension. Kindly tell me the file structure of Firefox extensions and an easy way to install ...
roushan kumar Singh's user avatar
63 votes
22 answers
201k views

I'm writing a simple addon in Firefox - 24, on Linux. I get the error: ReferenceError: TextEncoder is not defined when I do: var encoder = new TextEncoder(); the function I'm using is: function ...
user avatar

15 30 50 per page
1
2 3 4 5
67