This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

All java code script don't work in my firefox 15 but work in IE9

  • 4 replies
  • 5 have this problem
  • 1 view
  • Last reply by cor-el

more options

I have last version of java console but all my code JavaScript don't work and the big problem it is my java script code work in IE9 fine so what is my problem

and this is my installed plugin [IMG]http://nsm05.casimages.com/img/2012/10/03/12100304415711329510391559.png/IMG

I have last version of java console but all my code JavaScript don't work and the big problem it is my java script code work in IE9 fine so what is my problem and this is my installed plugin [IMG]http://nsm05.casimages.com/img/2012/10/03/12100304415711329510391559.png[/IMG]

All Replies (4)

more options

please some one tell me what i should do  ????

more options

To avoid confusion:

Make sure that you do not block JavaScript.

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 Safe Mode 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.
more options

Well, this is doesn't help me , so if you have anything also to try but to knew this is my code java script :

javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k<w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i<f.length;i++) {var e=f[i].elements;for(var j=0;j<e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}

Modified by cor-el

more options

You can only run such code as a bookmarks or via the command line in the Web Console or via the Scratchpad and not via the location bar.