Userscript Manager Detection

A Code Snippet for detecting if the script is being ran in an Userscript Manager.