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.

Stan na 20-11-2014. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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