EveryNoise Scan Continue

press N to continue scanning on everynoise.com, instead of having to scroll up every time

Verze ze dne 20. 02. 2022. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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");
    });
  }
}