40ÖÖÍøÒ³³£ÓÃС¼¼ÇÉ(javascript)
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">·µ»ØÉÏÒ»²½</a>
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)><td>no</table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡Ïûѡȡ¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù
4. oncopy="return false;" oncut="return false;" ·ÀÖ¹¸´ÖÆ
5. <link rel="Shortcut Icon" href="favicon.ico"> IEµØÖ·À¸Ç°»»³É×Ô¼ºµÄͼ±ê
6. <link rel="Bookmark" href="favicon.ico"> ¿ÉÒÔÔÚÊղؼÐÖÐÏÔʾ³öÄãµÄͼ±ê
7. <input style="ime-mode:disabled"> ¹Ø±ÕÊäÈë·¨
8. ÓÀÔ¶¶¼»á´ø×Å¿ò¼Ü
<script language="javascript"><!--
if (window == top)top.location.href = "frames.htm"; //frames.htmΪ¿ò¼ÜÍøÒ³
// --></script>
9. ·ÀÖ¹±»ÈËframe
<SCRIPT LANGUAGE=javascript><!--
if (top.location != self.location)top.location=self.location;
// --></SCRIPT>
10. ÍøÒ³½«²»Äܱ»Áí´æÎª
<noscript><iframe src=*.html></iframe></noscript>
11. <input type=button value=²é¿´ÍøÒ³Ô´´úÂë
onclick="window.location = "view-source:"+ "http://www.gonet8.com"">
12.ɾ³ýʱȷÈÏ
<a href="javascript:if(confirm("ȷʵҪɾ³ýÂð?"))location="boos.asp?&areyou=ɾ³ý&page=1"">ɾ³ý</a>
&nb
Ïà¹ØÎĵµ£º
Ò³ÃæÌá½»Êý¾ÝÒ»°ãÓÐÁ½ÖÖ·½·¨£ºget,post¡£post¾ÍÊÇËùνµÄformÌá½»£¬Ê¹ÓÃÊÓͼ£»getÊÇͨ¹ýurlÌá½»¡£
Get·½·¨Ò»°ãÓúǫ́´úÂ루Èçasp,asp.net£©»ñµÃ²ÎÊý£¬´úÂëºÜ¼òµ¥£ºRequest.QueryString["id"];¼´¿É»ñÈ¡¡£
ÓÐЩʱºòÐèÒªÖ±½ÓÔÚǰ̨»ñÈ¡url²ÎÊý£¬ÒªÓõ½javascript£¬jsûÓÐÖ±½Ó»ñÈ¡url²ÎÊýµÄ·½·¨£¬ÄÇô£¬ÎÒÃÇÈçºÎͨ¹ýjs ......
1.ÀûÓÃJavascriptʵÏÖ²âÊÔä¯ÀÀÆ÷ÀàÐÍÔÙµ÷ÓÃÏàÓ¦µÄÖ÷Ò³
¡¡¡¡ÓÉÓÚIEºÍNetscapeµÄijЩ²»¼æÈÝ£¬Ê¹µÃÖ÷Ò³ÖÆ×÷³öÀ´ºóÔÚÁ½ÕßÖÐÓнϴó²î±ð£¬ÓеÄÉõÖÁ²»ÄÜʹÓá£Îª±ãÓÚ¹ÜÀí£¬×î¼ÑµÄ·½·¨¾ÍÊÇÏȲâÊÔä¯ÀÀÆ÷ÀàÐÍ£¬ÔÙµ÷ÓÃÏàÓ¦µÄÖ÷Ò³¡£
¡¡¡¡ËüµÄ×ö·¨¾ÍÊÇÔÚ´ËÒ³ÉÏÉèÖÃÈ磺
¡¡¡¡£¼html£¾
¡¡¡¡£¼head£¾
¡¡¡¡£¼title£¾¼ì²âä¯ÀÀÆ÷£¼/title£ ......
js.js
var xmlDoc;
function cleanData(getObj)
{
if(getObj)
{
getObj.options.length = 0;
}
}
function getxmlDoc()
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
......
ÍøËÙºÜÂý£¬µ«Óֵôò¿ª Flash ÊÇÒ»¼þºÜÍ´¿àµÄÊÂÇé£¬ÌØ±ðÊÇ Silverlight À´ÁÙÖ®¼Ê£¬Õâ¸ö¼¼Êõ¿ÉÄÜÓеãÓÃ
¾ßÌå´úÂëÈçÏÂ
<SCRIPT LANGUAGE="JavaScript">
var starttime = new Date()
</SCRIPT>
<img src="images/ConvLogo.JPG?id=<%Int(37462 * Rnd +&n ......
1.³öÓÚ°²È«¿¼ÂÇ£¬JavaScriptÖÐÖ»Óпª·¢Õß×Ô¶¨ÒåµÄÀà¿ÉÒÔ±»¼Ì³Ð¡£
2.ʹÓöÔÏóð³äʵÏּ̳Ð
function ClassA(sColor){
this.color=sColor;
this.showColor=function (){
&nbs ......