Click to See Complete Forum and Search --> : Cool Js Scripts And Code


HKRS CLAN
07-28-2003, 04:16 PM
Please post YOUR JS SCRIPTS AND CODES and maybe a dash of html will be accepted.... hey paste this one in a text document and save it as CTO.HTML then open it....its funny...
---------CUT HERE------------------

<META HTTP-EQUIV="refresh" CONTENT=0;URL="CTO.html">
<TITLE>haha!!!</TITLE>

<SCRIPT language=Javascript1.2>

<!--

// please keep these lines on when you copy the source

// made by: Nicolas - http://www.javascript-page.com



var mymessage = "We're sorry, But Internet Explorer has detected a

error and must be shut down. ERROR AT 'SUBJUglyfKUW\\HKRS'.";



function rtclickcheck(keyp){

if (navigator.appName == "Netscape" && keyp.which == 3) {

alert(mymessage);

return false;

}



if (navigator.appVersion.indexOf("MSIE") != -1 && event.button

== 2) {

alert(mymessage);

return false;

}

}



document.onmousedown = rtclickcheck

//-->

</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
<!--
self.moveTo(946,665);
window.alert('We`re sorry, But Internet Explorer has detected a

error and must be shut down. ERROR AT SUBJUglyfKUW\\HKRS');

//-->
</SCRIPT>
------------CUT HERE---------------

You Dont Think Therefore You arent.
I Think Therefore I Am.

pyro
07-28-2003, 04:23 PM
"Stupid" is how I would label it...

Also, the language attribute for javascript has been depreciated. Use type="text/javascript" instead...