Script to remove the redirection

by goodsamaritan

Use an extension like greasemonkey or tampermonkey with the below code to remove the redirection:


// ==UserScript==

// @name redirremove

// @version 1

// @grant none

// @match kinkyforums.com/forum/*

// @namespace noredir

// ==/UserScript==


'use strict';


function removeRedirector() {

const anchors = [...document.getElementsByTagName('a')];


anchors.forEach(url => {

url.href = url.href.replace('http://redirme.com/?to=','');

});


}


window.addEventListener('load', function() {

removeRedirector();

}, false);