All java code script don't work in my firefox 15 but work in IE9
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
Alle antwoorden (4)
please some one tell me what i should do ????
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.
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;}}
Bewerkt door cor-el op
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.