Amazon.com auto redirect mobile to desktop version

Automatically redirect from mobile version to desktop version of the page.

Versione datata 18/06/2018. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @id             amazon.com_mobile2desktop
// @name           Amazon.com auto redirect mobile to desktop version
// @version        1.1
// @namespace      V@no
// @author         V@no
// @description    Automatically redirect from mobile version to desktop version of the page.
// @include        http://www.amazon.com/gp/aw/d/*
// @include        http://amazon.com/gp/aw/d/*
// @include        https://www.amazon.com/gp/aw/d/*
// @include        https://amazon.com/gp/aw/d/*
// @grant          none
// @run-at         document-start
// ==/UserScript==

window.location.replace(window.location.toString().replace(/^(http:\/\/(www\.)?amazon\.com\/)gp\/aw\/d\/(.*)/ig, "$1dp/$3"));