Last active
August 20, 2021 15:26
-
-
Save MahouShoujoMivutilde/76b24d91baa221ca9ccdcda2f8dd342b to your computer and use it in GitHub Desktop.
User script to force wikipedia to use minerva skin (mobile look) without login in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Wikipedia minerva (style like on mobile) | |
// @namespace Violentmonkey Scripts | |
// @run-at document-start | |
// @include *.wikipedia.org/wiki/* | |
// @include *.wiktionary.org/wiki/* | |
// @include *.metapedia.org/wiki/* | |
// @version 1 | |
// @grant none | |
// @noframes | |
// ==/UserScript== | |
var urlParams = new URLSearchParams(window.location.search); | |
var skin = urlParams.get('useskin'); | |
if (!skin) { | |
urlParams.set('useskin', 'minerva'); | |
window.location.search = urlParams; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://en.wikipedia.org/wiki/Wikipedia:Skin