Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¡¶Îò͸javascript¡·Ñ§Ï°±Ê¼Ç

¡¶Îò͸javascript¡·Ñ§Ï°±Ê¼Ç
 
Ò»¡¢          Ç°ÑÔ
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326520.aspx
 
¶þ¡¢          »Ø¹é¼òµ¥¡¢»ù±¾ÀàÐÍ
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326524.aspx
 
Èý¡¢          ±íÑÝ¡¢ËÆÀàÈ´²»ÊÇÀà
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326528.aspx
 
ËÄ¡¢          º¯ÊýµÄħÁ¦
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326535.aspx
 
Îå¡¢          ÆæÃîµÄ¶ÔÏó
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326536.aspx
 
Áù¡¢          ·Å϶ÔÏó
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326539.aspx
 
Æß¡¢          ¶ÔÏóÃèÊö
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326541.aspx
 
°Ë¡¢          ¹¹Ôì¶ÔÏó
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326542.aspx
 
¾Å¡¢          Ô­Ðͱ϶
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326544.aspx
 
Ê®¡¢          Ô­ÐÍÀ©Õ¹
http://blog.csdn.net/soldierluo/archive/2010/02/25/5326547.aspx
 
ʮһ¡¢   ÉîÈë¼Ì³Ð
http://blog.csdn.net/soldierluo/archive/2010/02/28/5333884.aspx
 
 


Ïà¹ØÎĵµ£º

Firefox ×îРJavaScript ÒýÇæ³õ̽

×Ô´Ó Google ÍƳöº¬ V8 JavaScript ÒýÇæµÄ Chrome ÒÔÀ´£¬¹«ÖÚ¶Ô JavaScript
ÒýÇæÖ´ÐÐЧÂʵÄθ¿ÚÓÖÒ»´Î±»Ìá¸ß£¬ÖÚ¶àä¯ÀÀÆ÷µÄ¿ª·¢ÕßÃǽʾ¡ÄÔÖ­ÌáÉýËûÃÇµÄ JavaScript ÐÔÄÜ£¬Opera ×îеÄ10.50 °æµÄ Carakan

ÒýÇæ¾Ý³ÆÒѾ­³¬¹ý V8£¬¶ø Firefox µÄ¿ª·¢ÕßÃÇÒ²²»¸ÊʾÈõ¡£
×î½üÉý¼¶µ½ Firefox 3.6 µÄÓû§ÒѾ­·¢ÏÖËûÃÇµÄ Java ......

javascriptÓÅ»¯·½·¨

ÐÞ¸ÄÑ­»·µÄÖ´Ðз½Ê½
for(var i=0;i<element.childNodes.length;i++){
Ö´ÐдúÂë
}
ÕâÖÖ·½Ê½Ã¿´ÎÑ­»·¶¼ÒªÈ¡element.childNodes.lengthµÄÖµ£¬Ó¦¸Ã¸ÄΪÈçϵÄ
var n£½element.childNodes.length
for(var i=0;i<n;i++){
Ö´ÐдúÂë
}
2£ºÐÞ¸Ädom²Ù×÷µÄ´ÎÊý
domÅúÁ¿²åÈëÒ»ÅúÀàËƵĽڵ㲻ÈçÏȹ¹ÔìÒ»¸ö¶ÔÏó£¬ ......

javascript ½ûÖ¹Êó±êÓÒ¼ü...

<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onbeforecopy="return false" onmouseup=document.selection.empty() oncopy=document.selection.empty() onselect=document.selection.empty()></body>
½²ÉÏÃæºìÉ«ÏÔʾµÄ²åÈëµ½ÍøÒ³ÖоͿÉÒÔʵÏÖÊó±êÓÒ»÷ÎÞЧ
......

ÍøÒ³³£ÓÃС¼¼ÇÉ(JavaScript)

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 f ......

JavaScript¶¯Ì¬Ìí¼Óɾ³ý±í¸ñÐÐ(Ö§³ÖFireFox)


JavaScript¶¯Ì¬Ìí¼Óɾ³ý±í¸ñÐÐ(Ö§³ÖFireFox)
2006-08-16 12:47
¡¡¡¡Ð§¹ûͼÈçÏ£º
¡¡¡¡µã“Ìí¼Ó²ÎÓëÈË”°´Å¥¿ÉÒÔÌí¼ÓÒ»ÐУ¬Ã¿ÐкóÃ涼ÓÐÒ»¸öɾ³ý°´Å¥£¬¿ÉÒÔɾ³ýËùÔÚÐУ¬“Çå¿Õ”Ôòɾ³ýËùÓеÄÐС£
¡¡¡¡ÕâÖÖЧ¹ûÔÚÐèÒªÅúÁ¿Ìí¼ÓÊý¾ÝµÄʱºò·Ç³£ÓÐÓ㬿ÉÒÔÔÚ¿Í»§¶ËÌí¼ÓÍêÒ»ÅúÊý¾Ý£¬È»ºóͨ¹ýAJAXÒ»´ÎÌá½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ