0

import code

This commit is contained in:
2019-09-27 10:12:36 +00:00
commit 53a6ed22cb

18
userscript.js Normal file
View 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');
});
})();