Guardian [Reload Page in Classic View] button

Adds a button to the bottom of theGuardian.com's web pages. The button reloads the page in Classic View.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Guardian [Reload Page in Classic View] button
// @namespace   
// @description Adds a button to the bottom of theGuardian.com's web pages. The button reloads the page in Classic View.
// @include     http://www.theguardian.com/*
// @include     http*://*.theguardian.com/*
// @version     0.1
// @grant       lellel
// @icon	http://static.guim.co.uk/favicon.ico
// ==/UserScript==




var input=document.createElement("input");
input.type="button";
input.value="Reload Page in Classic View";
input.onclick = showAlert;
document.body.appendChild(input);
 
function showAlert()
{
   
  window.location.search += '?view=classic';
}