Greasy Fork is available in English.

Replace the ad link redirector in Proboards

Make the links crystal clear, without referer crap.

Mint 2016.07.01.. Lásd a legutóbbi verzió

// ==UserScript==
// @name        Replace the ad link redirector in Proboards
// @description Make the links crystal clear, without referer crap.
// @match       *://*.proboards.com/*
// @version     1
// @grant       none
// @run-at      document-start
// @namespace https://greasyfork.org/users/4813
// ==/UserScript==

document.addEventListener('DOMContentLoaded', function()
{
  for (a of document.querySelectorAll("a[href*='redirect.viglink.com']"))
  {
    a.href = decodeURIComponent(a.href.substr(68));
    console.log("Replaced redirector link: ", a.href)
  }
  
  for (a of document.querySelectorAll("a:not([class^=norewrite])"))
  {
    a.classList.add("norewrite")
    console.log("Replaced redirector link: ", a.href)
  }
})