A Code Snippet for detecting if the script is being ran in an Userscript Manager.
Mint
Ezt a szkriptet nem ajánlott közvetlenül telepíteni. Ez egy könyvtár más szkriptek számára, amik tartalmazzák a // @require https://update.greasyfork.org/scripts/453189/1105661/Userscript%20Manager%20Detection.js hivatkozást.
A Code Snippet for detecting if the script is being ran in an Userscript Manager. Made by Taureon.
How to use:
var isInUserscriptContext = typeof GM === 'object' || typeof GM_info === 'object'; to the beginning of your script.isInUserscriptContext anytime when required.