您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
press N to continue scanning on everynoise.com, instead of having to scroll up every time
当前为
- // ==UserScript==
- // @name EveryNoise Scan Continue
- // @namespace https://alteregobot.me/
- // @description press N to continue scanning on everynoise.com, instead of having to scroll up every time
- // @author MissingNO123
- // @include https://everynoise.com/*
- // @version 1
- // @grant none
- // ==/UserScript==
- // Inject a script tag into the document,
- // this is to call the scan() function from GM
- function exec(fn) {
- var script = document.createElement('script');
- script.setAttribute("type", "application/javascript");
- script.textContent = '(' + fn + ')();';
- document.body.appendChild(script); // run the script
- document.body.removeChild(script); // clean up
- }
- document.addEventListener("keydown", Next);
- function Next(e) {
- if (e.key == "n"){
- exec(function() {
- return scan("continue");
- });
- }
- }