Warning: mkdir(): No space left on device in /www/wwwroot/Z4.com/func.php on line 127

Warning: file_put_contents(./cachefile_yuan/dyjschina.com/cache/24/f4647/8caea.html): failed to open stream: No such file or directory in /www/wwwroot/Z4.com/func.php on line 115
輸入密碼才能瀏覽網頁內容的JS代碼_西安小黄片下载入口科技官網_西安小黄片下载入口科技官網

小黄片下载入口,小黄片下载软件,小黄片下载视频,免费小黄片下载

18202918669

輸入密碼才能瀏覽網頁內容的JS代碼

文章出處: │ 網站編輯:西安網站建設 │ 發表時間:2023-06-02 10:23

如何給網頁HTML添加**訪問網站頁麵三種簡單的JS方法。把以下三種方法任意選擇一種JS代碼加在body和/body中間位置即可實現。快來試一下吧!!!

方法一:

<script type="text/javascript">   loopy()   function loopy() {   var sWord =""  while (sWord != "henenseo") {//設置** 初始**codekesWord = prompt("輸入正確**才能登陸!")   }   alert("歡迎訪問")   }   </script>

 

方法二:

<script type="text/javascript">   function password() {   var testV = 1;   var pass1 = prompt('請輸入**','');   while (testV < 3) {   if (!pass1)   history.go(-1);   if (pass1 == "henenseo") {//初始**codekealert('**正確');   break;   }   testV+=1;   var pass1 =   prompt('**錯誤!請重新輸入:');   }   if (pass1!="password" & testV ==3)   history.go(-1);   return " ";   }   document.write(password());   </script>

方法三:

<script type="text/javascript">   function password() {   var testV = 1;   var pass1 = prompt('請輸入**:','');   while (testV < 3) {   if (!pass1)    history.go(-1);   if (pass1 == "henenseo") {//設置** 初始**codekealert('口令正確,進行跳轉');   window.locations.href="http://www.hensenseo.com/";//添加你要跳轉的頁麵break;   }    testV+=1;   var pass1 =    prompt('**錯誤','');   }   if (pass1!="password" & testV ==3)    history.go(-1);   return " ";   }    document.write(password());   </script>

配合禁止查看源碼代碼一起使用。



本文標題:輸入密碼才能瀏覽網頁內容的JS代碼
文章地址:http://www.dyjschina.com/fw_sjwzjs/10887.html

西安小黄片下载入口科技官網:http://www.dyjschina.com

手機/微信:18202918669

公司地址:西安市高新區高新六路唐興路口唐興數碼4層423

網站地圖