firefox-addon Questions
1
In a Firefox or Chrome(1) extension (using WebExtensions), is it possible to interrupt a request and return an alternate response instead, preventing the network request? What I'd like to do is sto...
Pint asked 25/11, 2017 at 3:51
6
Solved
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 bac...
Kwangju asked 21/6, 2017 at 10:31
10
Solved
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(...
Lipscomb asked 16/9, 2010 at 22:26
4
Solved
I'm using Win7 but looking for a cross os solution, but this isnt even working in my Win7. I'm trying to change the icon of just the current profile. So what i did was:
I created shortcut of fire...
Scoville asked 2/6, 2014 at 22:39
18
Solved
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 ...
Whirligig asked 31/12, 2010 at 12:31
2
Solved
I found the question How to install Firefox addon from command line in scripts? that seems to work for Firefox extensions (i.e. ones with an install.rdf file) but what about WebExtensions (extensio...
Divisible asked 9/6, 2016 at 14:32
6
I want to Change our Browser location to usa Please help me changing firefox location i.e geolocation location for testing.
Toul asked 24/7, 2014 at 11:17
2
Solved
How can an interprocess communication be estabilished between a browser extension and a native application? Is there any cross-platform (Linux and Mac OS X) and cross-browser solution (Firefox, Chr...
Insurer asked 23/4, 2014 at 20:30
6
Solved
We are making contenteditable editor. Wondering how to stop extensions like grammarly (if enabled) on editor page using javascript as these extensions insert their own html in the editor itself. It...
Martell asked 25/5, 2016 at 18:22
21
Solved
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...
Reclusion asked 31/10, 2013 at 3:16
2
Solved
I'm using Firefox for Ubuntu, version 39.0. I'm trying to debug an add-on and would like to run some JavaScript under chrome privileges. According to this page I should be able to do this in the Br...
Obedience asked 28/7, 2015 at 13:11
8
Solved
Add-on "appears to be corrupt" when trying to install my add-on's .xpi file in Firefox
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 t...
Bourse asked 4/10, 2016 at 13:51
6
Solved
I work on a firefox addon using JPM.
I want to install it on my android phone, i've run "jpm xpi" and copy xpi on my sdcard. When i browse to file://path/to/my/xpi in android firefox nothing happe...
Aerobe asked 16/9, 2015 at 17:33
10
Solved
Reference: FileReader.readAsDataURL
Considering the following example:
function previewFile(file) {
var reader = new FileReader();
reader.onloadend = function () {
console.log(reader.result)...
Sirree asked 30/7, 2014 at 20:27
4
I have my own browser extension with some personal website customizations. Works fine in Chrome, but doesn't work in Firefox.
Unlike Chrome, it seems Firefox can't install unpacked extensions or ...
Chasitychasm asked 6/6, 2020 at 19:48
7
Solved
I'm unable to upload my firefox extension using the form provided by mozilla. I'm constantly getting the error Your add-on failed validation with 2 errors.
No install.rdf or manifest.json foundAdd-...
Operetta asked 6/12, 2016 at 21:29
7
Solved
I within a panel and I want to get the current browser URL. Nothing so far works. Here's what I've tested:
Only thing that even returns anything, I get something like resource://jid0-18z0ptaugyu0a...
Catchfly asked 21/7, 2012 at 17:54
4
Solved
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/wind...
Fabrin asked 15/8, 2012 at 6:42
2
Solved
What is the exact difference between plugins, add-on and extensions.
I have read a lot about this and confused,
For example see these four definitions:
1-fire-fox says "Add-ons is the collective ...
Bergeron asked 1/11, 2015 at 13:12
2
Solved
I'm trying to develop firefox addon with addon builder.
I want to modify mail editor of a web-based mailer.
(In following code, I'm trying with Yahoo! Japan's mail service.)
I want to execute spe...
Preparation asked 11/4, 2012 at 12:36
2
Solved
Can a Manifest v3 Firefox extension request the "Access your data for all websites" permission from the user at runtime?
This option is usually managed in the firefox about:addons built-i...
Recipience asked 23/4, 2023 at 5:48
6
Solved
I've recently set-up a local WebSocket server which works fine, however I'm having a few troubles understanding how I should handle a sudden loss of connection which neither the client or server in...
Poler asked 17/11, 2014 at 10:52
8
I can detect when the content of an iframe has loaded using the load event. Unfortunately, for my purposes, there are two problems with this:
If there is an error loading the page (404/500, etc),...
Heinz asked 17/12, 2008 at 19:20
5
In short, I'm looking for a tool to perform an automated, zero-configuration, full-frontal assault on a web application.
I'm thinking this would logically be a browser-extension that both crawls l...
Gwyngwyneth asked 22/1, 2010 at 18:8
5
Solved
I am using Jasmine (BDD Testing Framework for JavaScript) in my firefox add-on to test the functionality of my code.
The problem is that jasmine is outputing the test results to an HTML file,what...
Wacke asked 23/8, 2011 at 8:9
1 Next >
© 2022 - 2024 — McMap. All rights reserved.