Update jrh.user.js
This commit is contained in:
11
jrh.user.js
11
jrh.user.js
@@ -1,12 +1,12 @@
|
||||
// ==UserScript==
|
||||
// @name JRH: JoyReactor Helper
|
||||
// @description Улучшаем JoyReactor
|
||||
// @version 2.2.2
|
||||
// @version 2.2.3
|
||||
// @author DmitriyMX
|
||||
// @namespace https://gitlab.com/DmitriyMX/joyreactor-helper
|
||||
// @downloadURL https://gitlab.com/DmitriyMX/joyreactor-helper/raw/master/jrh.user.js
|
||||
// @updateURL https://gitlab.com/DmitriyMX/joyreactor-helper/raw/master/jrh.user.js
|
||||
// @downloadURL https://gitlab.com/DmitriyMX/joyreactor-helper/raw/master/userscript.js
|
||||
// @updateURL https://gitlab.com/DmitriyMX/joyreactor-helper/raw/master/userscript.js
|
||||
// @match http://joy.reactor.cc/*
|
||||
// @match http://pornreactor.cc/*
|
||||
// @grant none
|
||||
// @run-at document-end
|
||||
// ==/UserScript==
|
||||
@@ -14,7 +14,7 @@
|
||||
const reactorDomain = 'joy.reactor.cc';
|
||||
|
||||
function getKnownReactorDomains() {
|
||||
return ['reactor.cc', 'joyreactor.cc'];
|
||||
return ['reactor.cc', 'joyreactor.cc', 'pornreactor.cc'];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,6 +84,7 @@ function collapseTreeComments() {
|
||||
|
||||
function isPostPage() {
|
||||
return document.URL.match(/http?:\/\/joy\.reactor\.cc\/post/) !== null
|
||||
|| document.URL.match(/http?:\/\/pornreactor\.cc\/post/) !== null
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user