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