firefox

Accessing Firefox cache from an XPCOM component

Does anybody know how to get local path of file cached by Firefox based on its URL from an XPCOM component? ...

How to write a C++ FireFox 3 plugin (not extension) on Windows?

Could someone write-up a step by step guide to developing a C++ based plugin for FireFox on Windows? The links and examples on http://www.mozilla.org/projects/plugins/ are all old and inaccurate - the "NEW" link was added to the page in 2004. The example could be anything, but I was thinking a plugin that lets JavaScript set the name...

How to change Firefox icon?

Is there any way to change Firefox system icon (the one on the left top of the window)? Precision : I want to change the icon of a bundled version of Firefox with apache/php and my application. So manual operation on each computer is not a solution. I try Resource Hacker and it's the good solution. The add ons one is good too. ...

Why do fixed elements slow down scrolling in Firefox?

My question is simple, why do elements with the CSS "position: fixed" applied to them cause Firefox to eat 100% CPU when scrolling the page they are in? And are there any workarounds? I've noticed this behaviour on a few sites, for example the notification bar at the top of the page on stackoverflow. I'm using Linux in case that matters...

Proxy settings in Firefox don't "stick"

At home we have a proxy server. At work we don't. Firefox irritates in this regard: whenever I launch it, it defaults to the proxy server. If I do Tools>Options>Settings and select "No proxy", no problem. However, if I shutdown Firefox and restart it, I have to do the Tools>Options>Settings thing all over again because the "No proxy" set...

How do I get the most recently updated form item to "stick" in Firefox when I copy its container?

I have a dl containing some input boxes that I "clone" with a bit of JavaScript like: var newBox = document.createElement('dl'); var sourceBox = document.getElementById(oldkey); newBox.innerHTML = sourceBox.innerHTML; newBox.id = newkey; document.getElementById('boxes').appendChild(columnBox); In IE, the form in sourceBox ...

Writing a Firefox plugin for parsing a custom client-side language

I had an idea for a client-side language other than JavaScript, and I'd like to look into developing a Firefox plugin that would treat includes of this new language in a page, like <script type="newscript" src="path/script.ns" />, just as if it were a natively supported language. The plugin would do all of the language parsing and ideall...

How to remove Firefox's dotted outline on BUTTONS as well as links?

I can make Firefox not display the ugly dotted focus outlines on links with this: a:focus { outline: none; } But how can I do this for <button> tags as well? When I do this: button:focus { outline: none; } the buttons still have the dotted focus outline when I click on them. (and yes, I know this is a usability issue, ...

How to implement "DOM Ready" event in a GreaseMonkey script?

I'm trying to modify my GreaseMonkey script from firing on window.onload to window.DOMContentLoaded, but this event never fires. I'm using FireFox 2.0.0.16 / GreaseMonkey 0.8.20080609 This is the full script that I'm trying to modify, changing: window.addEventListener ("load", doStuff, false); to window.addEventListener ("DOMConten...

Firefox, saved passwords, and the change password dialogue

If a user saves the password on the login form, ff3 is putting the saved password in the change password dialoge on the profile page, even though its not the same input name as the login. how can I prevent this? ...

Is there a Firefox add-on to use vim to edit textboxes?

or "How do I answer questions on SO in Firefox using gVim inside the textboxes?" ...

How to skip fields using javascript?

I have a form like this: <form name="mine"> <input type=text name=one> <input type=text name=two> <input type=text name=three> </form> When user types a value in 'one', I sometimes want to skip the field 'two', depending on what he typed. For example, if user types '123' and uses Tab to move to next field, I want to skip it and go to f...

How to re-open the Java Console in Firefox 3 after I've closed it

I'm using firefox3 to run a Java Applet (on Linux). normally, when the JVM launches the Java Console window opens so I can see output from the Applet (stack traces etc.). However, if I close the console there appears to be no way of getting it back short of restarting Firefox (I have to close the console because it makes startup of the ...

Why is setInterval calling a function with random arguments?

So, I am seeing a curious problem. If I have a function // counter wraps around to beginning eventually, omitted for clarity. var counter; cycleCharts(chartId) { // chartId should be undefined when called from setInterval console.log('chartId: ' + chartId); if(typeof chartId == 'undefined' || chartId < 0) { next = c...

How do you respond when an IT manager asks you, "What is Firefox?"

Even though I've jumped on the Chrome bandwagon, I still wear my blue Firefox golf shirt to work occasionally. Sometimes people ask me about it in the elevator. Sometimes these people are managers in our IT department. I've even had the same manager ask me more than once (given about six months between). I want to know not just how wou...

Debugging my web app with JSON/Firefox - Firefox handling of JSON?

I'm attempting to debug my web application with FireFox3. However, when a JSON feed comes from my application, Firefox wants to open up the "application/json" in a new program. Is there a way to configure FireFox3 to handle JSON like regular text files and open up the JSON in the current tab? Thanks. ...

What causes Firefox to make a GET request after submitting a form via the POST method?

What causes Firefox to follow a POST request with a GET request when submitting a form via the POST method? The GET method is sent to the same url as the POST method but without the request parameters. If you change the form method to GET, it will result in two identical GET requests. ...

Flash should open window in new tab, but instead it opens a new pop up on mac

using target="_blank" in the navigateToUrl with firefox on windows it opens in new tab, with firefox on mac it opens a 'popup', anyway how to make the window popup in a new tab on ff on mac as well? ...

javascript XSLTProcessor occasionally not working

The following javascript supposes to read the popular tags from an XML file and applies the XSL Stylesheet and output to the browser as HTML. function ShowPopularTags() { xml=XMLDocLoad("http://localhost/xml/tags/popular.xml?s=94987898"); xsl=XMLDocLoad("http://localhost/xml/xsl/popular-tags.xsl"); if (window.ActiveXObject...

Specific Client Detection based on headers. Firefox extension?

I have a website in which I want to be able to detect a certain user based upon a permanent attribute of a specific user. My original plan was to use an ip address but those are difficult to maintain since they can change frequently. Cookie's and Sessions are almost out of question because they expire and tend to be difficult to manipul...