nascent / Mobile Wikipedia for Desktop: A Modern Design

// ==UserScript==
// @name        Mobile Wikipedia for Desktop: A Modern Design
// @namespace   A
// @include     /^https?://..\.wikipedia\.org/.*$/
// @version     1.2
// @grant       none
// @description Open Wikipedia in a better looking mobile mode.
// Original Author Krishna
// Updated by nascent
// @run-at      document-start
// @updateURL https://openuserjs.org/src/scripts/nascent/Mobile_Wikipedia_for_Desktop_A_Modern_Design.user.js
// @downloadURL https://openuserjs.org/install/nascent/Mobile_Wikipedia_for_Desktop_A_Modern_Design.user.js
// @license GPL-3.0-or-later
// ==/UserScript==



var newHost = window.location.host
var host = newHost.slice(0, 3) + "m." + newHost.slice(3);

var newURL = window.location.protocol + "//" + host + "" + window.location.pathname;

window.open(newURL,"_self");