收藏本站

深秋之葵下载站

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

5d6d代码不完全参考

1
唯我独尊 发表于 2011-10-25 13:37:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. <style>#rightinfo{display:none;} </style> </style/隐藏底部左边版权>
  2. <style>.list th img{float: left !important;}</style>< /style/让图片整体向左靠齐>
  3. <script>var liang=document.getElementsByTagName("h2");for(i=0;i<liang.length;i++){if(liang.innerHTML.indexOf("今日:")!=-1)
  4. {liang.innerHTML+="<img src='http://server.a.5d6d.com/attachments/day_090102/20090102_28e2cd5511d8e38856edk4lt4Zh0uBCU.gif'>";}}</script/在今日发新帖数后显示NEW闪动图标>
  5. <script>for(i=0;i<document.getElementsByTagName("div").length;i++){if(document.getElementsByTagName("div")){if(document.getElementsByTagName("div").getElementsByTagName("form")[0]){if(document.getElementsByTagName("div").getElementsByTagName("form")[0].id.substring(0,5)=="gform"){document.getElementsByTagName("div").getElementsByTagName("form")[0].parentNode.innerHTML="";if(!Load("HGoogle")||Load("HGoogle")!=i){document.getElementsByTagName("div").style.display="block";Save("HGoogle",i);}}}}}
  6. document.write("<style"+">"+"form{display:block}</style"+">");</script/隐藏搜索>
  7. <script>
  8. function $T(tag){
  9. return document.getElementsByTagName(tag);
  10. }
  11. function GetStr(str,scode,ecode){
  12. var X = str.indexOf(scode)+scode.length;var Y = str.indexOf(ecode);
  13. return str.substring(X,Y);
  14. }
  15. function Cust(chyid){
  16. chyid='00000'+chyid;chyid=chyid.substring(chyid.length-6,chyid.length);
  17. chyid=chyid.substring(0,2)+'/'+chyid.substring(2,4)+'/'+chyid.substring(4,6);
  18. return '<div style="float:left;width:28px;padding-top:2px;"><img src="/userdirs/a/6/3y4y/customavatars/000/'+chyid+'_avatar_middle.jpg" style="width:25px;height:25px;border:1px solid #CCCCCC;padding:2px;margin:0px;background-color:#FFFFFF;" onerror="this.onerror=null;this.src=\'server_5d6d/images/noavatar_small.gif\'" /></div><div style="float:left;padding:2px 0 0 6px;">';
  19. }
  20. function ChyAvatar(){
  21. document.write('<style>td.author{width:150px;text-align:left;}</style>');
  22. var chytd=$T('td');
  23. for(i=0;i<chytd.length;i++){
  24. if(chytd.className=="author"){
  25. if(chytd.innerHTML.indexOf('uid')>=1){
  26. chytd.innerHTML=Cust(GetStr(chytd.innerHTML,'uid-','.htm'))+chytd.innerHTML+'</div>';
  27. }
  28. }
  29. }
  30. }
  31. if(document.location.href.indexOf('/forum-')||document.location.href.indexOf('/forumdisplay.php')>=1){
  32. ChyAvatar();
  33. }
  34. </script>
  35. </script/帖子主题后面图像代码>
  36. <Script Language=javascript>
  37. <!--
  38. document.body.oncopy=function(){
  39. event.returnValue=false;
  40. var t=document.selection.createRange().text;
  41. var s="*本文来源于WM的故事个人情感记录论坛 属于违法转载 请管理员立即删除 如有看到此内容请联系QQ393414649 * ";
  42. clipboardData.setData('Text',t+'\r\n'+s+'\r\n\r\n');
  43. }
  44. --></Script>
  45. <script>var noavatar=document.getElementsByTagName("img");for(sp=0;sp<noavatar.length;sp++){if(noavatar[sp].src=="http://images.5d6d.net/dz7/extend/lovewall/btn_diy.gif"){noavatar[sp].src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1003/100328161986031e4fcd73ca06.gif"}};</script></script/改变爱墙里的我要发字条字样代码>
  46. <script type="text/javascript" >var str=document.getElementsByTagName("a");
  47. for (i=0;i<str.length ;i++ )
  48. {
  49. if (str.innerHTML=="我要和你永远在一起!")
  50. {
  51. str.innerHTML="";
  52. break;
  53. }
  54. }</script></script/隐藏/去掉5D6D官方强制性广告词>
  55. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic
  56. [sp].src=="http://images.5d6d.net/dz7/default/digest_1.gif"){yPic
  57. [sp].src="http://photo.loveyd.com/uploads/allimg/100207/17193039.gif"}};var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic
  58. [sp].src=="http://images.5d6d.net/dz7/default/digest_2.gif"){yPic
  59. [sp].src="http://photo.loveyd.com/uploads/allimg/100207/17193040.gif"}};var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic
  60. [sp].src=="http://images.5d6d.net/dz7/default/digest_3.gif"){yPic
  61. [sp].src="http://photo.loveyd.com/uploads/allimg/100207/17193014.gif"}};</script>
  62. <script>var yPic=document.getElementsByTagName("img");for
  63. (sp=0;sp<yPic.length;sp++){if(yPic
  64. [sp].src=="http://images.5d6d.net/dz7/default/pin_1.gif"){yPic
  65. [sp].src="http://photo.loveyd.com/uploads/allimg/100207/17193030.gif"}};var
  66. yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic
  67. [sp].src=="http://images.5d6d.net/dz7/default/pin_2.gif"){yPic
  68. [sp].src="http://photo.loveyd.com/uploads/allimg/100207/17160829.jpg"}};var
  69. yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic
  70. [sp].src=="http://images.5d6d.net/dz7/default/pin_3.gif"){yPic
  71. [sp].src="http://photo.loveyd.com/uploads/allimg/100207/17193013.gif"}};</script></script/改置顶和精华帖的图标代码>
  72. <style
  73. type="text/css">.signatures { overflow: hidden; height:
  74. expression(signature(this)); max-height: 100px; background:
  75. url(http://photo.loveyd.com/uploads/allimg/080919/09281310.jpg)
  76. no-repeat 0 0; margin: 10px; padding-top: 20px; padding-left:40px; color:
  77. #535353; line-height: 1.6em; }.signatures * { line-height: normal; }.signatures
  78. strong { font-weight: bold; }</style> </style/更改个人个人签名横线装饰>
  79. <script language=javascript>var str=document.getElementsByTagName("a");for (i=0;i<str.length ;i++ ){if (str.innerHTML=="<FONT color=red>玩sohu剑仙,送1688代金券</FONT>"){str.innerHTML="";break;}}</script>
  80. <script language=javascript>var str=document.getElementsByTagName("a");for (i=0;i<str.length ;i++ ){if (str.innerHTML=="50元大礼包派送!"){str.innerHTML="";break;}}</script></style/隐藏官方广告>
  81. <style>
  82. #nav {
  83. background-image: url(http://photo.loveyd.com/uploads/allimg/100207/1713454.jpg)
  84. }
  85. </style></style/更换首页左上角气泡图标>
  86. <style>#nav {background: center center!important;}</style></script/隐藏网站左上角小气泡>
  87. <style>#nav{display:none!important;}</style></script/隐藏网站左上角首页文字>
  88. <script language=javascript>var str=document.getElementsByTagName("a");for (i=0;i<str.length ;i++ ){if (str.innerHTML=="<FONT color=red>免费玩斗地主,每分钟送Q币</FONT>"){str.innerHTML="";break;}}</script>
  89. <script type="text/javascript" >var str=document.getElementsByTagName("a");
  90. for (i=0;i<str.length ;i++ )
  91. {
  92. if (str.innerHTML=="2元赢取1000万!")
  93. {
  94. str.innerHTML="";
  95. break;
  96. }
  97. }</script>
  98. <noscript></script/隐藏网站网警>
复制代码
2
 楼主| 唯我独尊 发表于 2011-10-25 13:37:25 | 只看该作者
  1. <style>#footlink p {text-align:center!important; width:939px!importent;}</style></script/底部居中>
  2. <STYLE><!--.pagecontrol{display:none}--></STYLE></script/隐藏帖子内容右上方“打印”、“字体大小”功能按钮>
  3. <style>.forumaction{display:none;}</style></script/隐藏网站收藏 RSS 精华 小图标的代码>
  4. <style>.forumcount{width:0px;height:0px;overflow:hidden;}</style></script/隐藏网站今日发帖和会员数>
  5. <style>#mn_bbs{display:none!important;}</style></script/隐藏导航条论坛名称代码 >
  6. <script language='JavaScript'>
  7. <!--
  8. function killErrors() {
  9. return true;
  10. }
  11. window.onerror = killErrors;
  12. // -->
  13. </script></style></script/已完毕,但网页上有错误 >
  14. <style>.useraction a { display:none}</style></script/隐藏收藏、分享、评分>
  15. <style><!--.logininfo{display:none;}--></style></script/隐藏5d6d广告 >
  16. <style>#index .postbtn{display:none;}</style></script/隐藏首页发帖>
  17. <style>#menu{display:none;!important;}</style></script/隐藏导航栏代码 >
  18. <script language="JavaScript1.2">
  19. /*禁止图片右键代码*/
  20. var clickmessage="个人内容论坛请勿转载 转载违法!"
  21. function disableclick(e) {
  22. if (document.all) {
  23. if (event.button==2||event.button==3) {
  24. if (event.srcElement.tagName=="IMG"){
  25. alert(clickmessage);
  26. return false;
  27. }
  28. }
  29. }
  30. if (document.layers) {
  31. if (e.which == 3) {
  32. alert(clickmessage);
  33. return false;
  34. }
  35. }
  36. }
  37. function associateimages(){
  38. for(i=0;i<document.images.length;i++)
  39. document.images[i].onmousedown=disableclick;
  40. }
  41. if (document.all)
  42. document.onmousedown=disableclick
  43. else if (document.layers)
  44. associateimages()
  45. /*禁止图片右键代码结束*/
  46. </script>
  47. <script>var tupiandizhi="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/1004101549efa2d7bdb84e0156.gif";if(document.location.href=="http://3y4y.5d6d.com/lovewall.php"){document.write("<style>table tr td{background-image:url("+tupiandizhi+")}</style>")};if(document.location.href=="http://3y4y.5d6d.com/lovewall.php?index=default"){document.write("<style>table tr td{background-image:url("+tupiandizhi+")}</style>")}</script></script/更换爱墙背景>
  48. <style>#footlink p
  49. {display:none;}</style></script/隐藏论坛底部右边>
  50. <link rel="icon" href="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/10040219304f1af19e87830d6e.png">
  51. <link rel="shortcut icon" href="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/10040219304f1af19e87830d6e.png"></script/地址栏里小图标>
  52. <style>.avatar img{border: 1.5px solid White}</style></script/给头像加个边框>
  53. <html xmlns="http://www.w3.org/1999/xhtml"xml:lang="ja"lang="ja" dir="ltr">
  54. </script/可爱字体>
复制代码
3
 楼主| 唯我独尊 发表于 2011-10-25 13:38:12 | 只看该作者
  1. <html>
  2. <body>
  3. <table border="0" cellpadding="100">
  4. <td>
  5. <td><a href="http://3y4y.5d6d.com"><img src="http://ff.a.5d6d.com/userdirs/a/6/3y4y/attachments/month_1003/1003171327720d87e994ec857f.gif" ></a>
  6. </p></td>
  7. <td><a href="http://ff.a.5d6d.com/userdirs/a/6/3y4y/attachments/month_1003/1003181644080f2c1fae737148.attach"><img src="http://ff.a.5d6d.com/userdirs/a/6/3y4y/attachments/month_1003/100317132769cadba70f724ed0.gif" ></a></p></td>
  8. <td><a href="http://3y4y.5d6d.com/lovewall.php"><img src="http://ff.a.5d6d.com/userdirs/a/6/3y4y/attachments/month_1003/1003171341eefd0b954c0b334a.gif" ></a></p></td>
  9. <td><a href="http://3y4y.5d6d.com/faq.php?action=faq&id=36&messageid=37"><img src="http://ff.a.5d6d.com/userdirs/a/6/3y4y/attachments/month_1003/1003171327c62b5e5fe37a1ef9.gif" ></a></p></tr>
  10. </table>
  11. </body>
  12. </html>
  13. <title>QPSH网页特效 首页图片切换</title>
  14. <style type="text/css">
  15. /* Reset style */
  16. * { margin:0; padding:0; word-break:break-all; }
  17. body {
  18. background:#fff;
  19. color:#000000;
  20. font:12px/1.6em Helvetica, Arial, sans-serif;
  21. margin-left: 0px;
  22. margin-top: 0px;
  23. margin-right: 0px;
  24. margin-bottom: 0px;
  25. }
  26. h1, h2, h3, h4, h5, h6 { font-size:1em; }
  27. a { color:#0287CA; text-decoration:none; }
  28. a:hover { text-decoration:underline; }
  29. ul, li { list-style:none; }
  30. fieldset, img { border:none; }
  31. legend { display:none; }
  32. em, strong, cite, th { font-style:normal; font-weight:normal; }
  33. input, textarea, select, button { font:12px Helvetica, Arial, sans-serif; }
  34. table { border-collapse:collapse; }
  35. html { overflow:-moz-scrollbars-vertical; } /*Always show Firefox scrollbar*/
  36. /* iFocus style */
  37. #ifocus { width:
  38. 810px; height:250px; margin:0px; border:1px solid #DEDEDE; background:#F8F8F8; }
  39. #ifocus_pic { display:inline; position:relative; float:left; width:700px; height:225px; overflow:hidden; margin:10px 0 0 10px; }
  40. #ifocus_piclist { position:absolute; }
  41. #ifocus_piclist li { width:710px; height:225px; overflow:hidden; }
  42. #ifocus_piclist img { width:705px; height:225px; }
  43. #ifocus_btn { display:inline; float:right; width:91px; margin:9px 9px 0 0; }
  44. #ifocus_btn li { width:91px; height:57px; cursor:pointer; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }
  45. #ifocus_btn img { width:75px; height:45px; margin:7px 0 0 11px; }
  46. #ifocus_btn .current { background: url(img/ifocus_btn_bg.gif) no-repeat; opacity:1; -moz-opacity:1; filter:alpha(opacity=100); }
  47. #ifocus_opdiv { position:absolute; left:0; bottom:0; width:850px; height:35px; background:#000; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }
  48. #ifocus_tx { position:absolute; left:8px; bottom:8px; color:#FFF; }
  49. #ifocus_tx .normal { display:none; }
  50. </style>
  51. <script type="text/javascript">
  52. function $(id) { return document.getElementById(id); }
  53. function addLoadEvent(func){
  54. var oldonload = window.onload;
  55. if (typeof window.onload != 'function') {
  56. window.onload = func;
  57. } else {
  58. window.onload = function(){
  59. oldonload();
  60. func();
  61. }
  62. }
  63. }
  64. function moveElement(elementID,final_x,final_y,interval) {
  65. if (!document.getElementById) return false;
  66. if (!document.getElementById(elementID)) return false;
  67. var elem = document.getElementById(elementID);
  68. if (elem.movement) {
  69. clearTimeout(elem.movement);
  70. }
  71. if (!elem.style.left) {
  72. elem.style.left = "0px";
  73. }
  74. if (!elem.style.top) {
  75. elem.style.top = "0px";
  76. }
  77. var xpos = parseInt(elem.style.left);
  78. var ypos = parseInt(elem.style.top);
  79. if (xpos == final_x && ypos == final_y) {
  80. return true;
  81. }
  82. if (xpos < final_x) {
  83. var dist = Math.ceil((final_x - xpos)/10);
  84. xpos = xpos + dist;
  85. }
  86. if (xpos > final_x) {
  87. var dist = Math.ceil((xpos - final_x)/10);
  88. xpos = xpos - dist;
  89. }
  90. if (ypos < final_y) {
  91. var dist = Math.ceil((final_y - ypos)/10);
  92. ypos = ypos + dist;
  93. }
  94. if (ypos > final_y) {
  95. var dist = Math.ceil((ypos - final_y)/10);
  96. ypos = ypos - dist;
  97. }
  98. elem.style.left = xpos + "px";
  99. elem.style.top = ypos + "px";
  100. var repeat = "moveElement('"+elementID+"',"+final_x+","+final_y+","+interval+")";
  101. elem.movement = setTimeout(repeat,interval);
  102. }
  103. function classNormal(iFocusBtnID,iFocusTxID){
  104. var iFocusBtns= $(iFocusBtnID).getElementsByTagName('li');
  105. var iFocusTxs = $(iFocusTxID).getElementsByTagName('li');
  106. for(var i=0; i<iFocusBtns.length; i++) {
  107. iFocusBtns[i].className='normal';
  108. iFocusTxs[i].className='normal';
  109. }
  110. }
  111. function classCurrent(iFocusBtnID,iFocusTxID,n){
  112. var iFocusBtns= $(iFocusBtnID).getElementsByTagName('li');
  113. var iFocusTxs = $(iFocusTxID).getElementsByTagName('li');
  114. iFocusBtns[n].className='current';
  115. iFocusTxs[n].className='current';
  116. }
  117. function iFocusChange() {
  118. if(!$('ifocus')) return false;
  119. $('ifocus').onmouseover = function(){atuokey = true};
  120. $('ifocus').onmouseout = function(){atuokey = false};
  121. var iFocusBtns = $('ifocus_btn').getElementsByTagName('li');
  122. var listLength = iFocusBtns.length;
  123. iFocusBtns[0].onmouseover = function() {
  124. moveElement('ifocus_piclist',0,0,5);
  125. classNormal('ifocus_btn','ifocus_tx');
  126. classCurrent('ifocus_btn','ifocus_tx',0);
  127. }
  128. if (listLength>=2) {
  129. iFocusBtns[1].onmouseover = function() {
  130. moveElement('ifocus_piclist',0,-225,5);
  131. classNormal('ifocus_btn','ifocus_tx');
  132. classCurrent('ifocus_btn','ifocus_tx',1);
  133. }
  134. }
  135. if (listLength>=3) {
  136. iFocusBtns[2].onmouseover = function() {
  137. moveElement('ifocus_piclist',0,-450,5);
  138. classNormal('ifocus_btn','ifocus_tx');
  139. classCurrent('ifocus_btn','ifocus_tx',2);
  140. }
  141. }
  142. if (listLength>=4) {
  143. iFocusBtns[3].onmouseover = function() {
  144. moveElement('ifocus_piclist',0,-675,5);
  145. classNormal('ifocus_btn','ifocus_tx');
  146. classCurrent('ifocus_btn','ifocus_tx',3);
  147. }
  148. }
  149. }
  150. setInterval('autoiFocus()',3500);
  151. var atuokey = false;
  152. function autoiFocus() {
  153. if(!$('ifocus')) return false;
  154. if(atuokey) return false;
  155. var focusBtnList = $('ifocus_btn').getElementsByTagName('li');
  156. var listLength = focusBtnList.length;
  157. for(var i=0; i<listLength; i++) {
  158. if (focusBtnList[i].className == 'current') var currentNum = i;
  159. }
  160. if (currentNum==0&&listLength!=1 ){
  161. moveElement('ifocus_piclist',0,-225,5);
  162. classNormal('ifocus_btn','ifocus_tx');
  163. classCurrent('ifocus_btn','ifocus_tx',1);
  164. }
  165. if (currentNum==1&&listLength!=2 ){
  166. moveElement('ifocus_piclist',0,-450,5);
  167. classNormal('ifocus_btn','ifocus_tx');
  168. classCurrent('ifocus_btn','ifocus_tx',2);
  169. }
  170. if (currentNum==2&&listLength!=3 ){
  171. moveElement('ifocus_piclist',0,-675,5);
  172. classNormal('ifocus_btn','ifocus_tx');
  173. classCurrent('ifocus_btn','ifocus_tx',3);
  174. }
  175. if (currentNum==3 ){
  176. moveElement('ifocus_piclist',0,0,5);
  177. classNormal('ifocus_btn','ifocus_tx');
  178. classCurrent('ifocus_btn','ifocus_tx',0);
  179. }
  180. if (currentNum==1&&listLength==2 ){
  181. moveElement('ifocus_piclist',0,0,5);
  182. classNormal('ifocus_btn','ifocus_tx');
  183. classCurrent('ifocus_btn','ifocus_tx',0);
  184. }
  185. if (currentNum==2&&listLength==3 ){
  186. moveElement('ifocus_piclist',0,0,5);
  187. classNormal('ifocus_btn','ifocus_tx');
  188. classCurrent('ifocus_btn','ifocus_tx',0);
  189. }
  190. }
  191. addLoadEvent(iFocusChange);
  192. </script>
  193. </head>
  194. <body>
  195. <div align="center">
  196. <div id="ifocus">
  197. <div id="ifocus_pic">
  198. <div id="ifocus_piclist" style="left:0; top:0;">
  199. <ul>
  200. <li><a href="http://3y4y.5d6d.com/forum-50-1.html" target="_blank"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/100402141194d41dc357504500.jpg" alt="故事" border="0" /></a></li>
  201. <li><a href="http://3y4y.5d6d.com/forum-52-1.html" target="_blank"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/1004021411cffc96bc86260a2e.jpg" alt="信件" border="0" /></a></li>
  202. <li><a href="http://3y4y.5d6d.com/forum-53-1.html" target="_blank"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/1004021411e91205cf371d994a.jpg" alt="风景" border="0" /></a></li>
  203. <li><a href="http://3y4y.5d6d.com/forum-51-1.html" target="_blank"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/100402141176a4bd3fa74cce8d.jpg" alt="爱情" border="0" /></a></li>
  204. </ul>
  205. </div>
  206. <div id="ifocus_opdiv"></div>
  207. <div id="ifocus_tx">
  208. <ul>
  209. <li class="current">wm的故事</li>
  210. <li class="normal">wm的信件 </li>
  211. <li class="normal">wm的风景</li>
  212. <li class="normal">wm的爱情</li>
  213. </ul>
  214. </div>
  215. </div>
  216. <div id="ifocus_btn">
  217. <ul>
  218. <li class="current"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/100402141194d41dc357504500.jpg" alt="" /></li>
  219. <li class="normal"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/1004021411cffc96bc86260a2e.jpg" alt="" /></li>
  220. <li class="normal"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/1004021411e91205cf371d994a.jpg" alt="" /></li>
  221. <li class="normal"><img src="http://3y4y.5d6d.com/userdirs/a/6/3y4y/attachments/month_1004/100402141176a4bd3fa74cce8d.jpg" alt="" /></li>
  222. </ul>
  223. </div>
  224. </div>
  225. <html>
  226. <body>
  227. <table border="0">
  228. <tr>
  229. <td> </td>
  230. <td> </td>
  231. <td> </td>
  232. <tr>
  233. <td> </td>
  234. <td> </td>
  235. <td> </td>
  236. </tr>
  237. <tr>
  238. <td> </td>
  239. <td> </td>
  240. <td> </td>
  241. </tr>
  242. </table>
  243. </body>
  244. </html>
复制代码
4
 楼主| 唯我独尊 发表于 2011-10-25 13:38:28 | 只看该作者
  1. <body onselectstart="return false"><!--禁止鼠标右键代码-->
  2. <noscript><iframe src=*.html></iframe></noscript>
  3. <script language=javascript>
  4. <!--
  5. if (window.Event)
  6. document.captureEvents(Event.MOUSEUP);
  7. function nocontextmenu(){
  8. event.cancelBubble = true
  9. event.returnValue = false;
  10. return false;
  11. }
  12. function norightclick(e){
  13. if (window.Event){
  14. if (e.which == 2 || e.which == 3)
  15. return false;
  16. }
  17. else
  18. if (event.button == 2 || event.button == 3){
  19. event.cancelBubble = true
  20. event.returnValue = false;
  21. return false;
  22. }
  23. }
  24. document.oncontextmenu = nocontextmenu; // for IE5+
  25. document.onmousedown = norightclick; // for all others
  26. //-->
  27. </script>
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

深秋之葵下载站   

GMT+8, 2024-11-27 10:28

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表