diff --git a/jrh.user.js b/jrh.user.js index 5cf7fe1..5fef7aa 100644 --- a/jrh.user.js +++ b/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 } /**