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.

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 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        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';
}