how i use Gemini+ to create a TamperMonkey script to “fix” the fonts & such on fark.com

For a long time i have wanted to adjust the font & other visual elements in the comments section on fark.com. for instance, black on white text (the default is a little grey), make the font a bit bigger (without using the browser’s zoom factor (which makes everything bigger… I just want the font bigger) and increase the interline spacing (leading?), as I find the default to be too tight.

I know a tool like TamperMonkey can do this, and I have tried a few times. but I give up every time!
but, asking a chatbot for help (here I use Gemini+ 2.5, since it comes with some sort of Google thing i subscribe to; ChatGPT et al would likely do the same, since this is a trivial (to them!) example.

read the chat session here: Fark Font Size Settings via TamperMonkey

the improved (at least to me, and since i’m reading it, is all that matters) on the right. my preferred version likely breaks some style rules, but i don’t care. I think the original on the left already has the text black on white, since likely I have the “High Contrast” chrome extension active.

here’s the resulting TamperMonkey code:

// ==UserScript==
// @name         fark.com text improvements
// @namespace    http://tampermonkey.net/
// @version      2025-09-03
// @description  fark.com text improvements
// @author       You
// @match        https://www.fark.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`
        /* Styles for general text, including comments and sub-headlines */
        body, .comments-list, .subhead, .topic-headline-text {
            color: #000 !important;
            font-size: 16px !important;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
            line-height: 1.5 !important;
        }

        /* Styles for headlines and other link text */
        a.headline, a.subhead-link {
            color: #000 !important;
        }
    `);
})();

i tried to get a sense of what this chat would cost. apparently took ~6000+ “tokens”, or which my “free Gemini+ 2.5 Flash” usage has 1M tokens. but still hard to quantify.

Leave a Reply