News for hackers. Stuff that matters.
Re:Show HN: I made a modern web UI for Wikipedia by grishka on Monday December 06, 2021 @03:43PM (#29465417)
I got annoyed at this enough to write this tiny userscript:

    // ==UserScript==
    // @name         Redirect from mobile wiki to desktop
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       You
    // @match        https://*.m.wikipedia.org/*
    // @grant        none
    // @run-at       document-start
    // ==/UserScript==
    
    window.location.hostname=window.location.hostname.split(".")[0]+".wikipedia.org";
Re:Show HN: I made a modern web UI for Wikipedia by selcuka on Monday December 06, 2021 @07:49PM (#29467836)
Hint: Use `document.location.replace()` to prevent the back button from going back to the mobile version, creating an endless loop.