{"id":42049,"date":"2025-09-03T21:10:25","date_gmt":"2025-09-04T01:10:25","guid":{"rendered":"https:\/\/ckms.ca\/?p=42049"},"modified":"2025-09-03T21:18:12","modified_gmt":"2025-09-04T01:18:12","slug":"how-i-use-gemini-to-create-a-tampermonkey-script-to-fix-the-font-such-on-fark-com","status":"publish","type":"post","link":"https:\/\/blog.ckms.ca\/?p=42049","title":{"rendered":"how i use Gemini+ to create a TamperMonkey script to &#8220;fix&#8221; the fonts &#038; such on fark.com"},"content":{"rendered":"\n<p>For a long time i have wanted to adjust the font &amp; 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&#8217;s zoom factor (which makes everything bigger&#8230; I just want the font bigger) and increase the interline spacing (leading?), as I find the default to be too tight.<br><br>I know a tool like <a rel=\"noreferrer noopener\" href=\"https:\/\/www.tampermonkey.net\/\" target=\"_blank\">TamperMonkey<\/a> can do this, and I have tried a few times.  but I give up every time! <br>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.<\/p>\n\n\n\n<p>read the chat session here: <a href=\"https:\/\/g.co\/gemini\/share\/a49986298ec9\" target=\"_blank\" rel=\"noreferrer noopener\">Fark Font Size Settings via TamperMonkey<\/a><\/p>\n\n\n\n<p>the improved (at least to me, and since i&#8217;m reading it, is all that matters) on the right.  my preferred version likely breaks some style rules, but i don&#8217;t care.  I think the original on the left already has the text black on white, since likely I have the &#8220;<a rel=\"noreferrer noopener\" href=\"https:\/\/blog.ckms.ca\/?p=26859#chrome-extension-high-contrast\" target=\"_blank\">High Contrast<\/a>&#8221; chrome extension active.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_19-55-10.jpg\"><img decoding=\"async\" src=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_19-55-10-1024x591.jpg\" alt=\"\" class=\"wp-image-42051\"\/><\/a><\/figure>\n\n\n\n<p>here&#8217;s the resulting TamperMonkey code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ ==UserScript==\n\/\/ @name         fark.com text improvements\n\/\/ @namespace    http:\/\/tampermonkey.net\/\n\/\/ @version      2025-09-03\n\/\/ @description  fark.com text improvements\n\/\/ @author       You\n\/\/ @match        https:\/\/www.fark.com\/*\n\/\/ @icon         data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\n\/\/ @grant        GM_addStyle\n\/\/ ==\/UserScript==\n\n(function() {\n    'use strict';\n\n    GM_addStyle(`\n        \/* Styles for general text, including comments and sub-headlines *\/\n        body, .comments-list, .subhead, .topic-headline-text {\n            color: #000 !important;\n            font-size: 16px !important;\n            font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;\n            line-height: 1.5 !important;\n        }\n\n        \/* Styles for headlines and other link text *\/\n        a.headline, a.subhead-link {\n            color: #000 !important;\n        }\n    `);\n})();<\/code><\/pre>\n\n\n\n<p>i tried to get a sense of what this chat would cost.  apparently took ~6000+ &#8220;tokens&#8221;, or which my &#8220;free Gemini+ 2.5 Flash&#8221; usage has 1M tokens.  but still hard to quantify.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_20-48-14.jpg\"><img decoding=\"async\" src=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_20-48-14-1024x809.jpg\" alt=\"\" data-id=\"42055\" data-full-url=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_20-48-14.jpg\" data-link=\"https:\/\/blog.ckms.ca\/?attachment_id=42055\" class=\"wp-image-42055\"\/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_20-43-57.jpg\"><img decoding=\"async\" src=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_20-43-57-1024x586.jpg\" alt=\"\" data-id=\"42056\" data-full-url=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_20-43-57.jpg\" data-link=\"https:\/\/blog.ckms.ca\/?attachment_id=42056\" class=\"wp-image-42056\"\/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_18-27-14.jpg\"><img decoding=\"async\" src=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_18-27-14.jpg\" alt=\"\" data-id=\"42057\" data-full-url=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_18-27-14.jpg\" data-link=\"https:\/\/blog.ckms.ca\/?attachment_id=42057\" class=\"wp-image-42057\"\/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_18-27-07.jpg\"><img decoding=\"async\" src=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_18-27-07.jpg\" alt=\"\" data-id=\"42058\" data-full-url=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2025\/09\/how-i-use-gemini-to-make-tarmpermonkey-script-for-fark.com-Inbox-cedric@blog.ckms.ca-Mozilla-Thunderbird-2025-09-03_18-27-07.jpg\" data-link=\"https:\/\/blog.ckms.ca\/?attachment_id=42058\" class=\"wp-image-42058\"\/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a long time i have wanted to adjust the font &amp;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[282],"tags":[],"class_list":["post-42049","post","type-post","status-publish","format-standard","hentry","category-article","wpcat-282-id"],"_links":{"self":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/42049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42049"}],"version-history":[{"count":5,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/42049\/revisions"}],"predecessor-version":[{"id":42061,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/42049\/revisions\/42061"}],"wp:attachment":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}