JavaScript code frequently stops working in Firefox 2.0.0

== Issue
==
Firefox is having problems with certain web sites
== Description
==
I have the following code in my JSP page. Based on some certain business logic I need to hide some toolbar buttons.
<code>function displayToolbar()
var oPageHeader = parent.window.frames[0];
var aTDItems = oPageHeader.document.getElementsByTagName("td");
for (i = 0; i < aTDItems.length; i++)
if ("Loading view..." == aTDItems[i].getAttribute("title"))
if(aTDItems[i].style.display == "none")
aTDItems[i].style.display = "block";
}</code>
This works fine in Firefox 3.6.3.
When it comes to FF2.0 it works for some time and then stops working. If I manually clear the browser cache, again it starts working.
I can upgrade the browser to latest FF to fix it, but some of our customers use FF2.0.
Any help or suggestion will be well appreciated.
<br/> <br/>''(Edited by Moderator: placed code in a CODE block - c)''<br/> <br/>
Thanks
== URL of affected sites
==
http://
== Firefox version
==
3.6.3
== Operating system
==
Windows XP
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
== Plugins installed
==
*-Cooliris embedded in a tab
*Version 1.2.0.0
*Default Plug-in
*Google Update
*Shockwave Flash 10.0 r32
*iTunes Detector Plug-in
*DivX Web Player version 1.5.0.52
*npdivxplayerplugin
*Picasa plugin
*Yahoo Application State Plugin version 1.0.0.7
*6.0.12.46
*RealPlayer(tm) LiveConnect-Enabled Plug-In
*RealJukebox Netscape Plugin
*Rhapsody Player Engine Plugin
*Version 0.8.6c, copyright 1996-2006 The VideoLAN Teamhttp://www.videolan.org/
*Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
*Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*DRM Netscape Network Object
*DRM Store Netscape Plugin
*Npdsplay dll

Which extensions do you have installed?
Are you using the default theme or a custom theme?
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Similar Messages

  • The javascript code which is working on safari is not working on firefox. When I debugged it from HTTPFOX it gave NS_ERROR_DOCUMENT_NOT_CACHED error

    I have a javascript code which is working fine with safari but not working at all in firefox. The code is
    <pre><nowiki><html><head></head>
    <body>
    <button type="button" onClick="handleButtonClick();">undo</button>
    <button type="button">redo</button>
    <select><option value="V1">V1</option>
    <option value="V2">V2</option>
    <option value="V3">V3</option>
    <option value="V4">V4</option>
    <option value="V5">V5</option></select>
    <script type="text/javascript">
    function handleButtonClick(){var xmlHttp, handleRequestStateChange;
    handleRequestStateChange = function() {if (xmlHttp.readyState==4 && xmlHttp.status==200) { var substring=xmlHttp.responseText; alert(substring); } }
    xmlHttp = new XMLHttpRequest();
    xmlHttp.open("GET", "http://csce.unl.edu:8080/test/index.jsp?id=c6c684d9cc99476a7e7e853d77540ceb", true);
    xmlHttp.onreadystatechange = handleRequestStateChange; xmlHttp.send(null);}
    </script>
    </body>
    another I am getting this also in url text/html (NS_ERROR_DOM_BAD_URI)
    </html>
    </nowiki></pre>
    Whats going wrong I can't figure out. Kindly suggest... I am struggling with this for last few days..

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • FastFox, a program that can extend by me selected letters to words or whole sentences, and even draw up tables in Wikipedia, has stopped working in Firefox.

    FastFox, a program that can extend by me selected letters to words or whole sentences, and even draw up tables in Wikipedia, has stopped working in Firefox. FastFox has always worked very well with FastFox, but not anymore. FastFox still works excellent in Mozilla Thunderbird, Google Chrome and Safari, but not in Internet Explorer and Mozilla Firefox 3.6.6. I need help with this because I am disabled after a meningitis caused by medical doctors in 2005. I rely on automatic writing programs, and unfortunately does not the alternative program AllChars work in Windows 7. I do not know of any other similar programs, which write "The United States of America" when I write the code that I have chosen - "USA+". I have not downloaded any new extentions to Firefox.

    Hello Stefan.
    Please contact FastFox's developers for support.

  • ISF/javascript code doesn't work for non-English RequestCenter proile

    ISF/javascript code doesn't work for non-English RequestCenter proile
    Hello,
    I am not sure if i posted the same question before also. We have some customers who have set thier language profile in newScale requestcenter to French. However, all the javascript customizations configured on the service forms do not function for 'French' as a Langauge preference. Has anyone encountered the similar issue before and can anyone please suggest a solution for it?
    Thanks,
    Mihir

    we had a similar issue a while back where the Approval button was not working in Spanish, needed a fix from nS for it
    The way to fix this would be to locate the language XML file, override the French caption with Submit and on onLoad write a global JS that would write the button label again (not so sure about this)
    But really its an major defect and they should be able to fix it.

  • Youube stopped working in Firefox 30

    System: Ubbuntu 14.04
    Firefox Version:30
    Adobe Flash Plugin version:11.2.202.378
    Youtube has stopped working on firefox since few days. I tried disabling all thied party plugins and then restarting firefox but it didn't work.

    If you are in India, see this:
    http://www.medianama.com/2014/07/223-world-cup-2014-472-websites-including-google-docs-blocked-in-india-following-sony-complaint/
    "As many has 472 websites, including Google Docs, '''Google Video''' and Google’s URL shortener goo.gl, have been blocked in India, as per instructions from the Delhi High Court ...."

  • HTML Page Transition code doesn't work in FireFox

    when programming html page transition, either a page enter/exit or a site enter/exit, the transition code does not work in FireFox .. any fix or have i missed something. I.E page fade in or page fade out on exit

    you have a security sandbox issue or popup blocker.
    test with your swf/embedding html uploaded to a server.

  • IPad's auto-rotation frequently stops working.

    Hi there, my iPad's auto-rotation frequently stops working and the only way I can get the screen to rotate gain, is to reboot. It used to be once in while but now happens every day which is very frustrating. What can I do to stop this? Thanks, Siobhan

    I know you already stated that you have to reboot, but make sure you're doing it this way. I've found some that do it differently and the results can be different.
    Make Sure iOS is updated to the latest version
    Reboot the device by pressing and holding down the home and sleep/wake buttons (power) at the same time until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings

  • My acute accent code has stopped working

    my acute accent code has stopped working - aka "option" + "e"
    all other accent codes are still working.
    is this a hardware or software issue? any clues on how to fix it?

    Check
    System Preferences > Speech > Speech Recognition > Listening Key
    System Preferences > Speech > Text to Speech > Speak selected text… (if enabled, check Set Key…)
    If neither works, specify your version of Mac OS X, your keyboard layout, and the applications in which you tested this issue.

  • CTRL+H and CTRL+B have stopped working for Firefox. Every other CTRL command works. What's wrong and how do I fix it?

    Whenever I want to open my history (CTRL+H) or my bookmarks (CTRL+B), I use those commands. They've always worked. Yesterday, they mysteriously stopped working. Every other CTRL+KEY command still works flawlessly.
    I haven't done anything out of the ordinary in the past few days, and I've already tried to restart my computer. What could be the cause of this?
    Thanks.

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Javascript bookmark dialogs stopped working

    I have some bookmarks on my Bookmarks Toolbar whose address is a Javascript snippet:<br />
    <br />
    <pre><nowiki>javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Enter subject to lookup in Wikipedia:',''))}if(Qr)location.href='http://en.wikipedia.org/wiki/Special:Search/'+escape(Qr)+'%20'</nowiki></pre>
    This will open a dialog box asking "Enter subject to lookup in Wikipedia", and takes that word or phrase and passes it on to Wikipedia's search page. With some editing, this code can also work for other sites, like dictionary.com.
    So, when I upgraded to Firefox 8, these JS bookmarks turned into dotted squares for icons, and they no longer open a dialog box. Instead, only the site itself displays.
    I've searched for a solution, but all I found were references to "keyword bookmarks". But AFAIK this is a different concept, because they're meant to be typed in the address bar, e.g. "w searchterm", and I don't know how it could be made into an item on the bookmark toolbar.
    Any ideas for a workaround?

    In Firefox 8 getSelection() returns an object and no longer a string.<br />
    So you need to force it to a string by either adding +"" or use the toString() method.
    Qr=document.getSelection()+"";
    Qr=document.getSelection().toString();
    * https://developer.mozilla.org/en/DOM/Selection

  • Cascading menu stopped working in Firefox 4.

    I am a web developer. On one of my sites there is a cascading drop menu to select State / City. This was working as of Firefox 3.6.13 and when I updated to FF4 it no longer works. It still works in Safari and IE. I do not even know where to start looking in the code for what may be affected.
    The way it is supposed to work on the page of the listed URL is you select a state from the first drop down, then the second drop down is populated with available cities for that state. Normally this takes about a second to display the list of cities, but now it sites on the "Loading cities" prompt and goes no further.
    Is this a bug in FF? I notice that FF4 is a little more "Chrome" like, so I checked it in Chrome to find that it does not work there either.
    If there was a way to attach the javascript code that creates the menu I would so that you could see what may be tripping it up. Let me know if you need additional information.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.
    http://forums.mozillazine.org/viewtopic.php?f=25&t=2202953

  • Printing function (to paper, and to pdf) stops working in Firefox 6.0

    All webpages give windows error (audible), but no error message, when printing with Ctrl+P. The same webpages will print in Microsoft IE 8.0.
    I have reset printer in Firefox, updated, un-installed, re-installed, all add-ins or extensions, when printing worked, but has since stopped working again. I have minimum add-ins and extensions 'enabled' now, and printing still does not work.
    Curiously, the Firefox, File, Print Preview menu option works to preview the webpage, but it is then unavailable for actual printing.
    Where on earth is the problem?
    Should I revert to previous Mozilla Firefox version?

    An automatic Firefox update from v6.0 to v8.0 yesterday had again prevented the same webpages being printed that previously worked fine (to paper or to pdf).
    These webpages will print to paper or pdf in IE8. The problem obviously lies with Firefox and its latest update. Pressing Ctr+P, an audible sound is heard once, and no print dialog box. in Firefox Menu Print-Preview the webpage is visible, but again Ctrl+P causes a warning sound, and no printing dialog box.
    I'm going to have to revert to a previous Firefox version.
    Anybody got a clue out there?

  • Part of my code won't work in Firefox

    I'm not really good at coding and I have some problems with my code. I create animated menu in Edge Animate using jquery and then imported it in Muse as a edge file. It's working perfect in IE and Chrome, but something caused problems in Firefox - menu start animation just don't work in Firefox when scroll down. I appreciate any help!
    Label = "begin";
    sym.$("menuover").hide();
    var h = $(window.parent).height()
    var element1 = sym.getSymbol("submitbut").$("title");
    var element8 = sym.getSymbol("aboutbut").$("title");
    var element9 = sym.getSymbol("servicebut").$("title");
    var element10 = sym.getSymbol("projectbut").$("title");
    var element15 = sym.getSymbol("beginbut").$("title");
    fired10 = true;
    var fired11 = true;
    $(window.parent).on('scroll', function b1() {
    var $this = $(this),
      $head = $('#head');
       if ($this.scrollTop() > h && Label == "begin" && fired11 === true) {
      fired10 = false;
      fired11 = false;
    var element3 = sym.$("menuback");
    TweenMax.to(element1, 1, {x:-630, alpha:1, ease:Power3.easeOut, onComplete:animDone});
    TweenMax.to(element8, 1.1, {x:-630, alpha:1, ease:Power3.easeOut});
    TweenMax.to(element9, 1.2, {x:-630, alpha:1, ease:Power3.easeOut});
    TweenMax.to(element10, 1.3, {x:-630, alpha:1, ease:Power3.easeOut});
    TweenMax.to(element15, 1.4, {x:-630, alpha:1, ease:Power3.easeOut});
    TweenMax.to(element3, 1.3, {alpha:1, x:-860, width: 940, ease:Power3.easeOut});
    function animDone() {
    var element1 = sym.getSymbol("submitbut").$("title");
    var element8 = sym.getSymbol("aboutbut").$("title");
    var element9 = sym.getSymbol("servicebut").$("title");
    var element10 = sym.getSymbol("projectbut").$("title");
    var element15 = sym.getSymbol("beginbut").$("title");
    TweenMax.to(element1, 1, {color:"#7F8C8D", ease:Power3.easeOut, onComplete:animDone2});
    TweenMax.to(element8, 1, {color:"#7F8C8D", ease:Power3.easeOut});
    TweenMax.to(element9, 1, {color:"#7F8C8D", ease:Power3.easeOut});
    TweenMax.to(element10, 1, {color:"#7F8C8D", ease:Power3.easeOut});
    TweenMax.to(element15, 1, {color:"#7F8C8D", ease:Power3.easeOut});
    function animDone2() {
    var element2 = sym.getSymbol("submitbut").$("redline");
    var element12 = sym.getSymbol("aboutbut").$("redline");
    var element13 = sym.getSymbol("servicebut").$("redline");
    var element14 = sym.getSymbol("projectbut").$("redline");
    var element16 = sym.getSymbol("beginbut").$("title");
    var element20 = sym.getSymbol("beginbut").$("strelka");
    var element3 = sym.$("menuback");
    var element5 = sym.$("closebut");
    var element6 = sym.$("closebutover");
    var element7 = sym.$("closebutback");
    TweenMax.to(element3, 0.6, {backgroundColor:"#ede8e0", x:-859, y:37, height:365, ease:Power3.easeOut, onComplete:animDone3});
    TweenMax.to(element2, 0.6, {x:0, y:-40, height:61, alpha:1, ease:Power3.easeOut});
    TweenMax.to(element12, 0.6, {x:0, y:-40, height:61, alpha:1, ease

    Thanks Király, the System Profiler was exactly what I needed. Some of my Apps didn't show up in Roaring Apps so the PowerPC indicated against the non-compatible apps in System Profiler was very useful.

  • Pandora stopped working in firefox for mac 17.0.1

    Pandora just stopped working this week. No major updates. I am running mac OS X version 10.8.2
    I have been using Pandora for years. Pandora runs fine on safari.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • My subject bar has stopped working in firefox. It works fin in Internet Exporer. How do I fix in Firefox? Thank You

    My subject bar has stopped working in 2 of my Go Daddy emails.
    If I switch to internet explorer the subject bar works fine.
    Go Daddy said it is a firefox (Browser) problem I am having.
    Please let me know what I can do so my subject line in the top of my emails work again.
    It just started happening the last 3-4 days.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • While creating the parameter it doesnot pull all the data of that particular column

    Post Author: pvds CA Forum: Data Connectivity and SQL Hi everyone. i am using a sql query with a join condition to pull data in to crystal reports. I got that data which i want in to the report. but when i was trying to create a parameter with a drop

  • Changing the scroll thumbnail size

    When I click in the scroll bar, a small thumbail appears (which I call the scroll thumbnail because I don't know what it is actually called). This allows me to scroll up and down, giving me a preview of what is on the page that I will see when I rele

  • Recovery partition delete by mistake how can i get it back?

    Hello  I decided to create recovery discs for my hp envy 17, and try to do it by cyberlink , unfortunately i delete amy recovery partition file (it's about 300mb file in disc D:/ ) so pleas help me to download that file Thank you

  • Steps for portal and Microsoft LDAP server integration

    Hi, Could any one guide me steps for portal and Microsoft LDAP server integration. Need it urgently. Thanks in advance. Regards, Niraj

  • Premiere Pro 2.0 compatible with Windows 7 Pro?

    I have just upgraded my computer to Windows 7 Pro 64 bit. I have installed Premiere Pro 2.0 with no problem. Only problem I have faced is there is no sound. I can play the file in Windows Media Player fine. Is there anything I could do? Many thanks b