Encryption Page

加密你的网站,在网站未加载前输入密码。

当前为 2018-08-16 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Encryption Page
  3. // @namespace Violentmonkey Scripts
  4. // @version 0.1
  5. // @description 加密你的网站,在网站未加载前输入密码。
  6. // @run-at document-start
  7. // @author 真心
  8. // @include 网站请自行添加。
  9. // @include 每行一个。
  10. // @include 可自由增加。
  11. // @include 无上限。
  12. // @include 下方网站为测试网站,可访问http://encryption-test.iqianye.cn/测试效果。
  13. // @include encryption-test.iqianye.cn
  14. // ==/UserScript==
  15. //
  16. // 加密你的网站,在网站未加载前输入密码。
  17. // 重要:如出现在网页加载完成才显示密码输入框的情况,请在设置页将运行时间切换为:document-start
  18. // 本脚本不可直接使用,需设置生效页面。
  19. // 设置方法:
  20. // 编辑代码,在// @include后方添加您的网站,一行一个。可无限叠加。
  21. // 如有任何问题请联系QQ:1307993674
  22.  
  23. loopy()
  24. function loopy() {
  25. var sWord =""
  26. while (sWord != "123") {//此处为密码,修改123为任何字符即可修改密码。
  27. sWord = prompt("输入正确密码才能登陆!")
  28. }
  29. alert("AH…欢迎光临!")
  30. }