User:Kwj2772/noIE.js
From Meta, a Wikimedia project coordination wiki
Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.
/* Disable script that is IE-incompatiable script */ /* From http://en.wikipedia.org/wiki/User:Pyrospirit/noie.js */ var detect = navigator.userAgent.toLowerCase(); var IE; var place = detect.indexOf('msie') + 1; if (place) IE=true; if (!IE) { // Begin scripts disabled in Internet Explorer{{<includeonly>subst:</includeonly>User:Pyrospirit/break}}<noinclude> /* //</noinclude> {{{scripts}}} //{{<includeonly>subst:</includeonly>User:Pyrospirit/break}}// End scripts disabled in Internet Explorer<noinclude> */ //</noinclude> }