firefox

Firefox AddEventListener issue

I have a web application that consists of two websites - one running on port 8080 (java) and other running on port 80 (IIS). The java web pages call into IIS web pages, which occassionally call back into java web pages to get additional information. The javascript that handles the communication/ exchange of data works in IE but not in Fi...

firefox and javascript

Hi, Im doing some javascript code and im using firefox. i have a problem which is getting always the same result when im trying to print out an array. the array is calculated in the code through some algorithms. I realized that sometimes im getting new result when i clear private data in firfox by Tools --> Clear Private Data but i need ...

Firefox CSS height issue...

Hello! So I have this table http://mikepuerto.com/iNews/ - I'm using some jquery to sort it. If you view this in any browser but firefox you will see that the table headers have a shadow running along the bottom and when you click a header an arrow points down to indicate that you are sorting that column... For some reason firefox doe...

Why this javscript is producing different output in FF and IE?

Please see this: http://jsbin.com/igeqa here, i am simply using alert ( tableObj.childNodes.length ); and in FF the output is 5 , while in IE it is 2. Please tell me what is causing this behaviour? ...

Why does a checkbox not remain checked in IE but not in FF or Chrome

i will make myself clear hope it will help to solve my problem In my search engine i have the option to search some subjects from check box...it is like i have 10 check box with an option to choose some of the 10 check box and then to press search and i need to see some results.... now in IE after I press the search button i can see th...

How to avoid the Unresponsive Script popup in Firefox with long running Javascript?

I want to benchmark some Javascript code in the browser, but it may trigger Firefox's "Warning: Unresponsive script" popup. This allows the user to click "Stop script" in the event that the browser is caught in a runaway function. While the pop-up is displayed, the currently running function has been halted. This isn't ideal, so is th...

CSS selector works in Firefox but not in IE

Does anyone know why this CSS selector works in Firefox but not in IE7 or IE8? css=div[style~='visible;'] div[class~='x-combo-list-item']:contains('Test Job') I'm using this in a Selenium test to find an element on the page. Edit: The :contains selector is not the problem. I'm using it elsewhere in my tests and it works in IE6, 7, an...

clearTimeout does not work in ondblclick event in FireFox

I'm trying to have an element which support both click and double click on it. But the following example works in IE but does not work in FireFox 3.5.6: <button onclick="c=setTimeout('alert(1);',1000);" ondblclick="clearTimeout(c);alert(2);">Test</button> It just doesn't clear timeout, so alert(1) is being fired. Does anyone know what...

problem with JS and Firefox - Image Replacement

Hello I have a simple JS function changing the background image of my website for each "page" - there are actually no separate pages, just JS changing the content area and background. Here is the code I have: var selector = 'home'; function changeBG() { if( selector == 'portfolio' ) { document.b...

How to determine the event came from the main document of the tab

I'm developing an extension for FireFox. The extension adds event listener to "appcontent" element on "load" event. How to determine the event came from the main document of the tab? At the moment all events from different elements of the page come (for example image and even the extension document if it fires one). I would like to excl...

Can I add an if statement for mozilla firefox stylesheet?

Hi I'm editing a website that has been made compatable with internet explorer so it doesn't work in firefox. Is there any way to add a firefox or mozilla stylesheet? Thanks for you help Judi <!--[if FIREFOX]> <link rel="stylesheet" type="text/css" href="/AEBP_Homepage_12887/css/firefox.css" /> <![endif]--> ...

Javascript offsetHeight, clientHeight, scrollHeight.. a bug?

Hi, On cnn.com with Firefox 3.5.3, there seems to be a bug with the measurements of document.body. It seems document.body.offsetHeight and document.body.scrollHeight both give the viewable height, thus same as document.body.clientHeight. Same with document.documentElement.offsetHeight and document.documentElement.clientHeight. Only docu...

jQuery selector syntax gives Firefox warning

The following code stringref = "tab_2"; jQuery('.someclass a:not(.someclass #a_someclass_'+stringref+')').css('color', '#000'); gives me this warning in the FF 3.5.5 error console and I can't figure out why: Warning: Missing closing ')' in negation pseudo-class '#a_someclass_tab_2'. Is my syntax failing me or has FF gone bonkers ? ...

Firefox XMLHttpRequest sets error flag on a 302 response

I have a web app driven by a servlet that times out users' sessions after a period of inactivity by redirecting to a login page. I had code in place on the web client that checked for this, essentially similar to the following: function error(request, errtype) { if (request.status == 302) { // Display a "timed out" dialog, ...

NS_ERROR_MALFORMED_URI in FF when calling document.location.replace()

I'm seeing the following exception in FF 3.5.6: uncaught exception: [Exception... "The URI is malformed" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: http://x :: refreshPage :: line 193" data: no] This error occurs when calling document.location.replace("/relative/url") on the parent window of an iframe. ...

jQuery effects disappear after ASP postback in Firefox

I have a ASP updatepanel, within that panel I have some controls which got jQuery effects connected to them. The effects work perfect before posback, after postback the effects only work in IE not in FF. To get it working in IE I added the following to my MasterPage: function pageLoad(sender, args) { // Initialize jQuery effects. }...

Strategy to start supporting other browsers

We have a web application that only supports IE6 and above. It is an old application and majority of the user base was using IE. At the time of development no one paid attention to cross-browser support. If you open the site in Firefox, the UI is all skewed. We are planning to start supporting Firefox now. What is the strategy we should ...

jQuery events work in Firefox, not Chrome

I registered some click events in my code. They function properly in Firefox (Windows and Mac) but don't execute in Chrome (tried Windows and Mac beta). The purpose of the JavaScript is to show the correct number of text inputs based on the value of the select element. Here is the code: http://www.savetherobots.org/users/jkost/substi...

Is it possible to write script to automatically install firefox plugin?

I wrote firefox extension and want to be able to install it to firefox using sh script, for example. Is it possible? ...

Applet freezes page on initial load (Mac Firefox)

We have a web screen with a number of applets that has a problem on Mac OSX 10.5.7, Firefox 3.0.15, java 1.5.0_19. The problem is encountered on the user site. On initial load of applets (with an empty applet cache), the screen locks up/hangs while loading the applets. After refreshing the page, it loads normally. If the cache is clea...