Custom Font (Geoguessr)

Use your own font with CSS rules.

  1. // ==UserScript==
  2. // @name Custom Font (Geoguessr)
  3. // @namespace alienperfect
  4. // @version 1.0
  5. // @description Use your own font with CSS rules.
  6. // @author Alien Perfect
  7. // @match https://www.geoguessr.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=32&domain=geoguessr.com
  9. // @grant GM_addStyle
  10. // @run-at document-start
  11. // ==/UserScript==
  12.  
  13. // [1] Using custom fonts assumes that you have them installed on your system.
  14.  
  15. // [2] Replace "Roboto" with your own font if needed. If nothing changes and you're sure you've spelled the name of a font correctly
  16. // it might be due to browser fingerprinting protection. Look up a way to disable fingerprinting for language preferences in your browser.
  17. // This will reduce your privacy on the internet, though. If you're using Chrome/Edge you shouldn't have issues since they're not private anyway.
  18.  
  19. // [3] * {font-weight: 400 !important} makes the font thinner and easier to read, it works well with Roboto but if you don't need it, remove the line.
  20.  
  21. // [4] Technically you can add any CSS rules to this script besides changing font. I made it as a static configuration, it won't be updated.
  22.  
  23. GM_addStyle(`
  24. * {font-family: Roboto !important}
  25. * {font-weight: 400 !important}
  26. `);