Questions tagged [firefox]

Mozilla Firefox is a free, open-source cross-platform web browser. Use this tag if your question is related to the inner workings of Firefox or if it relates to code that is not working on Firefox which does work in other browsers. Questions about Firefox add-on development should be tagged [firefox-addon]. If your question is about using Firefox for browsing (i.e. as an end user) you should ask your question on Super User instead.

Firefox is an open source, cross-platform web-browser created by Mozilla. It uses the open source rendering engine and the JavaScript engine.

Standards

Firefox implements many web standards, including (almost full ), , , , , (with extensions), (), , , , and (Animated PNG) images with transparency.

Platform availability

Firefox runs on various operating systems including , , , and , as well as on , and devices. Its source code is licensed under the Mozilla Public License.

There are various add-ons available for Firefox under various categories, such as web development, changing the appearance of Firefox and utilities such as download managers.


Resources


What questions should have this tag?

Use this tag if your question is related to:

  • Code that is not working on Firefox which does work in other browsers
  • The inner workings of Firefox

Questions concerning Firefox add-on development should be tagged .

If your question is about using Firefox for browsing (i.e. as an end user) rather than the development of code for Firefox, you should ask your question on Super User instead.


Related tags

38740 questions
189
votes
9 answers

Detect all Firefox versions in JS

How to detect Firefox in JavaScript? I want to detect all versions of Firefox.
Mirgorod
  • 31,413
  • 18
  • 51
  • 63
187
votes
10 answers

Preventing an image from being draggable or selectable without using JS

Does anyone know of a way to make an image not draggable and not selectable -- at the same time -- in Firefox, without resorting to Javascript? Seems trivial, but here's the issue: Can be dragged and highlighted in Firefox: So we add this, but…
tmkly3
  • 3,131
  • 2
  • 18
  • 13
182
votes
5 answers

Can I prevent the Firefox developer tools network panel from clearing on page reload?

I would like to observe the contents of a POST request whose successful completion results in a location.reload() - when I try to capture this request in the Network Panel of the Firefox developer tools, I find that the page reload clears the list…
jl6
  • 6,110
  • 7
  • 35
  • 65
182
votes
8 answers

Breakpoint on property change

Firebug for Firefox has a nice feature, called "Break on property change", where I can mark any property of any object, and it will stop JavaScript execution right before the change. I'm trying to achieve the same in Google Chrome, and I can't find…
Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224
179
votes
2 answers

Secret copy to clipboard JavaScript function in Chrome and Firefox?

Update Looks like browsers are starting to support copy natively in JS In the console windows of both Chrome and Firefox on Mac I can execute copy("party in your clipboard!"); and the text gets copied to my clipboard. I have searched SO and Google…
Mike Grace
  • 16,636
  • 8
  • 59
  • 79
176
votes
10 answers

Can I call jQuery's click() to follow an link if I haven't bound an event handler to it with bind or click already?

I have a timer in my JavaScript which needs to emulate clicking a link to go to another page once the time elapses. To do this I'm using jQuery's click() function. I have used $().trigger() and window.location also, and I can make it work as…
Mnebuerquo
  • 5,759
  • 5
  • 45
  • 52
174
votes
9 answers

Does Firefox support position: relative on table elements?

When I try to use position: relative / position: absolute on a or in Firefox it doesn't seem to work.
Ben Johnson
  • 2,632
  • 3
  • 21
  • 20
174
votes
21 answers

How can I get browser to prompt to save password?

Hey, I'm working on a web app that has a login dialog that works like this: User clicks "login" Login form HTML is loaded with AJAX and displayed in DIV on page User enters user/pass in fields and clicks submit. It's NOT a
-- user/pass are…
Eric
  • 5,104
  • 10
  • 41
  • 70
173
votes
30 answers

How to remove the arrow from a select element in Firefox

I'm trying to style a select element using CSS3. I'm getting the results I desire in WebKit (Chrome / Safari), but Firefox isn't playing nicely (I'm not even bothering with IE). I'm using the CSS3 appearance property, but for some reason I can't…
RussellUresti
  • 6,211
  • 4
  • 28
  • 26
173
votes
9 answers

Disable cross domain web security in Firefox

In Firefox, how do I do the equivalent of --disable-web-security in Chrome. This has been posted a lot, but never a true answer. Most are links to add-ons (some of which don't work in the latest Firefox or don't work at all) and "you just need to…
Oscar Godson
  • 31,662
  • 41
  • 121
  • 201
170
votes
6 answers

How JavaScript closures are garbage collected

I've logged the following Chrome bug, which has led to many serious and non-obvious memory leaks in my code: (These results use Chrome Dev Tools' memory profiler, which runs the GC, and then takes a heap snapshot of everything not garbaged…
164
votes
11 answers

Animate scrollTop not working in firefox

This function works fine. It scrolls the body to a desired container's offset function scrolear(destino){ var stop = $(destino).offset().top; var delay = 1000; $('body').animate({scrollTop: stop}, delay); return false; } But not in…
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
164
votes
17 answers

Firefox 'Cross-Origin Request Blocked' despite headers

I'm trying to make a simple cross-origin request, and Firefox is consistently blocking it with this error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at [url]. This can be fixed by moving the…
Godwhacker
  • 3,624
  • 3
  • 15
  • 23
162
votes
3 answers

How to disable paste protection in Mozilla Firefox Developer Console?

I have noticed that in recent versions of Mozilla Firefox there is a super, super annoying bug that disables pastes into the developer console. This has to be the single worst idea ever. However, I have tried to allow it by typing in the text that…
Ms01
  • 4,420
  • 9
  • 48
  • 80
146
votes
17 answers

How to turn off caching on Firefox?

During development I have to "clear cache" in Firefox all the time in order to make it use the latest version of JavaScript files. Is there some kind of setting (about:config) to turn off caching completely for JavaScript files? Or, if not, for all…
Thilo
  • 257,207
  • 101
  • 511
  • 656