diff options
Diffstat (limited to 'desktopwikipedia.es')
| -rw-r--r-- | desktopwikipedia.es | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/desktopwikipedia.es b/desktopwikipedia.es new file mode 100644 index 0000000..83cf7ef --- /dev/null +++ b/desktopwikipedia.es @@ -0,0 +1,14 @@ +// ==UserScript== +// @name Desktop Wikipedia +// @description Redirects to Wikipedia from its mobile version. +// @match https://*.m.wikipedia.org/* +// @version 1.0 +// @run-at document-start +// ==/UserScript== + +// By Nicolas Paul <nico@puffer.fish>: unrestricted use given this notice +// remains. + +top.location.hostname = top.location.hostname.replace('.m.', '.'); + +// vi: ft=javascript |
