firefox

Preventing a Firefox Extension's load event from triggering across tabs

Hi, I've been working on a Firefox extension that uses an iFrame to do some background scrapping. I have gone through a number of hoops to get it to trigger only once in the window/tab where it should but now when I open a different tab that tab triggers the load event. I found this: https://developer.mozilla.org/en/Code_snippets/Progr...

Firefox is occasionally breaking the back button.

Having a really frustrating time with Firefox and the back button...given this simple ASP form: <head> <title>Form 1</title> </head> <body> <form action="form2.asp" method="post"> Enter some text:<input type="text" name="thetext" id="thetext"> <input type="submit" id="submit" name="submit"> </form> </body> </html> Firefox (3.6.3) wi...

Twitter @anywhere API problems in firefox only

I've implemented a simple example of the Twitter @anywhere api to display user hovercards. The example works great in Internet Explorer and Chrome. However, whenever I the page loads in Firefox I receive the following message in an alert window: To set up @anywhere, please provide a client ID Surely if the results are correct in ...

Mozilla Firefox border rendering

Hi, I've come across a strange thing in Firefox, which has become a problem to me. It seems that Firefox renders borders thinner than other browsers. For example I have just a simple empty div element, and nothing else on the webpage, with a border set to width:3px. In all other browsers, such as IE, Opera, Chrome and Safari, the widt...

Loading Jscript files into Firefox extension

Hi ! Let's get directly to the problem : I'm actually doing a firefox extension in which i would like to implement the jWebsocket API in order to build a small chat. I got my main script file, named test.js, and the jWebsocket lib into a js folder. Just for you to know, this is my first firefox extension ever. So in my XUL file I got ...

WebDriver with firefox-x11 on Mac

I am trying to run a headless test for a web application using WebDriver on Mac OS X 10.6.3. My plan is to run firefox-x11 with Xvfb, but WebDriver is unable to launch firefox-x11. My code is: System.setProperty("webdriver.firefox.bin", "/opt/local/bin/firefox-x11-devel-standalone"); WebDriver browser = new FirefoxD...

Web-serving a file : Firefox truncates name

I'm serving a file from Lighttpd whose name contains space-characters. I'm using mimetype "application/octet-stream" When I download this in Chrome, it works perfectly. But when I download in Firefox, the filename is truncated at the first space. Is this to do with the mimetype? With some other lightty config? Or maybe something to do ...

jQuery Dynamic Page Loading wont work, not sure why any ideas?

Live demo here <- http://webcallonline.exoflux.co.uk/html/ $(function() { var url = $(this).attr("href"); $("nav").delegate("a", "click", function(event) { event.preventDefault(); window.location.hash = $(this).attr('href'); $("#main").slideUp('slow', function(){ $("#main").load(url + " #main", fun...

firefox: How to enable local javascript to read/write files on my PC?

well, since greasemonkey cant read/write files from local hard disk. I've heard people suggesting Google gears but i've no idea obout gears :( So, what i've decided is to add a script type="text/javascript" src="file:///c:/test.js">/script> Now, this test will use FileSystemObject to read/write file. Since, the "file:///c:/test.js" is...

Using in-url basic authentication in firefox

I'm using launching firefox from the command line in a script to get snapshots of pages. These pages have basic http authentication. When using: firefox http://user:[email protected] Either a dialog appears, or authentication doesn't work at all. Is there any option to make firefox open the page without showing the dialog? ...

Logged out from one tab. User should logged out from other tab.

I am using jqury ajax call to update data. I logged in in two different tabs in firefox. I logged out from one tab. The second tab is not yet refreshed. When i tried to update data through ajax call the call executed properly. How do i catch the user is logged out and display error while executing the ajax call. ...

SIFR links DO NOT work in Firefox 3, Opera 9, Chrome

Hi, I have wmode: transparent and fixfocus: true in sifr replace (see below) but the links only work in IE8. sIFR.replace({ src: 'PalatinoLinotype.swf', selector: '.SubSloganTxt', wmode: 'transparent', fixFocus: true, css: [ '.sIFR-root { font-weight: normal; color: #dedede; text-transform: uppercase; }' ...

Run context.drawWindow method through a bookmarklet

I want to capture a webpage as an image. I am able to do this using a firefox extension using context.drawWindow method. Now I want to strech myself and see if I can do this using a bookmarklet :) I remember reading somewhere that context.drawWindow() works only from the firefox toolbars. I dont know if that's still true or not. Can an...

Can't switch on designMode in Internet Explorer

The following code works in Firefox 3.6, but not in Internet Explorer 8: <html> <head> <title>Example</title> <script type="text/javascript"> function init() { alert(document.designMode); document.designMode = "on"; alert(document.designMode); } </script> </head> <body onload="init()"> </b...

SVG Filters in Firefox

For some reason I can't get my SVG filters to work in Firefox. They work fine in Opera, however. The element whose property I set to the filter on just disappears. It's very odd. Here's my javascript code: defsElement = SVGDoc.createElement("defs"); var filterElement = SVGDoc.createElement("filter"); filterElement.setAttribute( "id", "...

sIFR 3 randomly placing text on a single line in FF3.6

Hello, sIFR 3 is behaving strangely in Firefox. The actual sIFR flash element is set within a box that is 412px wide. In IE, Chrome, Safari, etc., the with of the Flash element is a consistent 412px; however, in Firefox, the Flash element is briefly as wide as the Body element, before correcting itself. When the page finishes loading,...

jquery hover not working properly other than IE6

Hi All, We developed navigation bar using jQuery 1.4.2. Functionality is to show submneus for different menu items when user hovers on it. It is working perfectly in IE6 but we see some weird problems in other browsers. In Firefox, when the page gets loaded, it works fine but when we hit f5, the submenu wont appear on hover. To get su...

Browser popup blocker blocking jasper reports generated from flex

Hi all, I have a flex application that uses navigateToURL() to call a servlet. The servlet in turn generates a JasperReport and then uses exportReport() to show the report in a new browser tab. Now, my problem is this. I want to generate multiple reports at once, each opening in its own tab. It all works fine except that in Firefox the...

css @font-face not working with firefox, but working with chrome and IE

Ok I've been at this for some time and am now bewildered. The following code works in Google Chrome beta as well as IE 7. However, Firefox seems to have a problem with this. I'm suspecting it to be a problem of how my css files are included, cause i know firefox is not too friendly about cross-domain imports. But this is all just stati...

Mozilla addon- help needed with interfaces

Hi all , I am working on an Firefox - addon . To modify an url to another with all its parameters same .Could you please suggest me references.. I am struggling very hard to understand interfaces / services .Could you please help me with how and when and what interfaces-methods are called.. I want to know somewhat like this https...