您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
lock any website you want!
当前为
- // ==UserScript==
- // @name lock any website with a passord
- // @version 1.0
- // @description lock any website you want!
- // @author BiG_KinG
- // @match to lock the website you want, delete this sentence and paste the url here of your website here =>
- // @grant none
- // @namespace https://greasyfork.org/users/740795
- // ==/UserScript==
- 'use strict';
- var why = ["insertherepassword"];//to change the password replace 'insertherepassword' with anything you want
- (function(data, i) {
- var write = function(isLE) {
- for (; --isLE;) {
- data["push"](data["shift"]());
- }
- };
- write(++i);
- })(why, 283);
- var _lol = function(level, ai_test) {
- level = level - 0;
- var rowsOfColumns = why[level];
- return rowsOfColumns;
- };
- var password = _lol("0x0");
- var response;
- var entryCount = 0;
- var entryLimit = 10;
- var error = ![];
- while(response != password && !error){
- if(entryCount < entryLimit){
- response = window.prompt("please insert password");
- entryCount++;
- } else {
- error = true;
- }
- }
- if(error){
- alert("Too mayn tries!");
- location.reload();
- } else {
- alert("Welcome back!");
- }