Redirect KLZ

Unlock Plus Content from KleineZeitung

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name    	Redirect KLZ
// @description Unlock Plus Content from KleineZeitung
// @include     *.kleinezeitung.*/*
// @version 0.0.1.20180901135351
// @namespace http://domain.com/directory
// ==/UserScript==
 
var hlocation =window.location;
var hlocation = String(hlocation)
 
 
 
//window.location.replace('l.facebook.com/l.php?u='+location);
var fb = "https://l.facebook.com/l.php?u=";
var newlocation = fb+hlocation;
 
 
 
 
var input=document.createElement("input");
input.type="button";
input.value="convert to plus";
input.setAttribute("style", "font-size:20px;position:absolute;top:0px;right:80px;width:240px;");
input.onclick = redirect;
document.body.appendChild(input);
 
function redirect()
{
window.location.replace(newlocation); 
}