this changes the width of the article (resembling the old style a little bit), as well as the SIZE of the text, which is very different from your browser changing the size of the page. Very convenient.

Only seen on the Dutch wikipedia

  • dysprosium@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago

    is it not possible to inject some URL or SQL piece to set those preferences without logging in? I really don’t want to be logged onto wikipedia…

          • dysprosium@lemmy.dbzer0.comOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 months ago

            DONE.

            // ==UserScript==
            // @name     en.wikipedia font size LARGE
            // @version  1
            // @match    https://en.wikipedia.org/*
            // @grant    none
            // @require    http://code.jquery.com/jquery-3.6.0.min.js
            // ==/UserScript==
            
            (function(){
              'use strict';
              // Use the .css() method to change CSS properties
              $('.vector-feature-custom-font-size-clientpref--excluded, .vector-feature-custom-font-size-clientpref-0').css('--font-size-medium', '1.10rem');
            })();