Add support to Violentmonkey

This commit is contained in:
KingThunder 2017-11-22 15:36:34 -03:00 committed by GitHub
parent a260f79c7d
commit dda0e9a1c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,7 +199,7 @@ try {
function isRunningTampermonkey() {
try {
return GM_info.scriptHandler === 'Tampermonkey';
return GM_info.scriptHandler === 'Tampermonkey' || GM_info.scriptHandler === 'Violentmonkey';
} catch (error) {
return false;
}