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.1
// @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/meta/nascent/Mobile_Wikipedia_for_Desktop_A_Modern_Design.meta.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");