import code
This commit is contained in:
18
userscript.js
Normal file
18
userscript.js
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
// ==UserScript==
|
||||||
|
// @name Joy: correcting nofollow domain
|
||||||
|
// @namespace http://tampermonkey.net/
|
||||||
|
// @version 1.0
|
||||||
|
// @description correcting nofollow domain
|
||||||
|
// @author You
|
||||||
|
// @match http://joy.reactor.cc/*
|
||||||
|
// @grant none
|
||||||
|
// @run-at document-end
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
document.querySelectorAll('a[rel="nofollow"][href^="//reactor.cc"]').forEach((elm) => {
|
||||||
|
elm.href = elm.href.replace('//reactor.cc', '//joy.reactor.cc');
|
||||||
|
});
|
||||||
|
})();
|
||||||
Reference in New Issue
Block a user