firefox

How to make FF and IE act the same when pressing the back button with hash marks#

Im using a jquery accordian that uses hash marks to differentiate between open accordion tabs. demo page http://sandbox.unwrongest.com/jquery.accordion/ When clicking through a few tabs then using the back button, Firefox only displays hash values changing. In IE the hash values don't change with the back button and goes directly to...

apache localhost sites opening in Firefox, but not IE or Safari?

I'm running WAMP on Vista and have Apache virtual hosts and my hosts file all set up to allow me to test sites locally using an address like this: http://testsitex.localhost:8080 Only problem is, it only works in Firefox. IE and Safari (currently the only other browsers I've tried, and the two I'm most concerned about) display an an er...

Javascript error in Firefox when using ASP.NET AJAX Control Toolkit

I have recently been building a website that utilizes the .NET Framework 3.5 SP1 and the AJAX Control Toolkit. The standard AJAX controls such as UpdatePanel work without problem. As soon as I add a CollapsiblePanelExtender control from the AJAXControlToolkit to the page I receive a Javascript error. (NOTE: this problem occurs on Firef...

Interactive Javascript console (preferably integrated with Firebug)

I'm looking for a way to have an interactive JIT debugger, preferably integrated with Firebug. I got the idea from PHPEd, which has an "Immediate" debug tab where you can just type in PHP code and modify objects on the fly. This makes debugging a breeze as you can re-assign variables multiple times, re-execute functions, etc without lea...

Firefox 3.5 does not allow creating OBJECT tag with Javascript?

Firefox 3.5 does not allow creating java OBJECT tag with Javascript (document.write)? this technique works nicely with all other browsers and older firefoxes. is it a new security limit? ...

Strange elements appearing in javascript rich text editors

There's been a rash of strange HTML form elements showing up in javascript-based rich text editors all around the web. The first evidence I can find of this is in the joomla forums a little under a month ago. Since then there have also been reports from drupal users and wordpress users, and there's now evidence of this all over the web...

Programmatically set browser cookie (Firefox)

I know from this question that Firefox 3.0 and up stores its cookies in an SQLite database. My question is: can you access this database from other desktop programs in such a way that you could add a cookie? I realize this has security implications. However, I do not want to read them at all. I want to be able to set one cookie if po...

Emulate clicking a link with Javascript that works with IE

I want to have java script clicking a link on the page..I found something on the net that suggests adding a function like this: function fireEvent(obj,evt){ var fireOnThis = obj; if( document.createEvent ) { var evObj = document.createEvent('MouseEvents'); evObj.initEvent( evt, true, false ); fireOnThis.dispat...

sIFR mouse wheel scrolling freeze in Firefox

I have started using sIFR for a site at work, everything works very well except one thing. When I'm scrolling down the webpage with the mouse wheel, it stops scrolling when the pointer is on the flash object. It seems like the flash object is stealing the the focus when the mouse is over it. I have only been experiencing this problem i...

Does execCommand SaveAs work in firefox?

Why does this not work in ff/chrome? javascript: document.execCommand('SaveAs','true','http://www.google.com'); (used as a bookmarklet) ...

How to force save as dialog box in firefox besides changing headers?

Is there a way to force a save as dialog box for www.example.com/example.pdf in ff? (i can't change the headers) ...

clientHeight/clientWidth returning different values on different browsers

The properties: document.body.clientHeight, document.body.clientWidth return different values on IE7, IE8 and Firefox: IE 8: document.body.clientHeight : 704 document.body.clientWidth : 1148 IE 7: document.body.clientHeight : 704 document.body.clientWidth : 1132 FireFox: document.body.clientHeight : 620 document.body.clientWidth : ...

How to provide (in IE and Firefox) a binary file download in a popup that closes ?

I need a cross-browser solution to the following use case: The user clicks an "export" button on one of our pages, which opens a popup with a form. On submitting the form, the user should receive a binary file download (a CSV file, for example), and the popup should close without changing the visible content of the parent window. We...

In XUL, how do I know a browser-tag has finished loading?

I'm developing a firefox extension based on this tutorial which is a FF 2.0 extension (second part of the tutorial is at this url) The main thing that is important is that it uses <iframe id="contentview" src="http://www.ibm.com/developerworks/web" flex="2"/> In the backend code, when clicking the GO button, this happens: contentvie...

Unable to use Screen's clipboard inside Firefox

I have not managed to get my pbcopy/pbpaste to work in Screen as discussed here. I aim to solve the problem by having Screen clipboard inside Firefox. Its paste works in terminal by the following command but not in Firefox C-a ] How can you use Screen's clipboard inside Firefox? ...

What is the most popular way to implement configuration settings like about:config in Firefox?

I would like to implement/use-existing a cross platform configuration settings tool like about:config in Firefox. It would have to work on Windows and Mac. Are there any libraries or design patterns out there that people recommend? Also, if I were to use a library, it would have to be "free as in beer" and couldn't be a GPL license. Th...

Firefox 3 syntax error with external css

I get a strange syntax error in Firefox 3.0.10/Leopard when using the following html/css: foo.html: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html lang="en"> <head> <link rel="stylesheet" href="foo.css"/> </head> <body> Foo </body> </html> foo.css: div { color:...

Programatically preventing Firefox to auto-resize images

By default in Firefox every time you open an image it will re-size to fit within the browser window, now if you view a lot of images this can become annoying having to click on the image every time it loads to see it full size. There is a way to switch off that in about:config, but this is not a solution for a broader public. Is there...

firefox proxy settings via command line

How do I change Firefox Proxy settings via command line on windows xp/2k? Thanks ...

How to add elements to web page from Firefox extension

I'm going to develop a Firefox extension which should put a button in the loaded pages, when the tag: <input type="file" ... > is found and a file has been selected. Likewise, I think the skype toolbar does a similar thing: when a website contains a phone number, the Skype extension automatically converts it into a button that can be cl...