Skip to content

Instantly share code, notes, and snippets.

@alexchexes
alexchexes / github-markdown.css
Last active April 9, 2026 19:58
CSS to make Markdown on GitHub.com more readable
/*
CSS I use to make GitHub.com-rendered markdown more readable by adding distinct color to inline code and section titles.
The most convenient way is to use it with Stylus: https://github.com/openstyles/stylus
Screenshot + updatable version for Stylus:
https://userstyles.world/style/27510
*/
@alexchexes
alexchexes / chatgpt-better-syntax-highlighting.user.js
Last active June 30, 2026 14:58
ChatGPT improved syntax highlighting (with support for Vue.js code)
// ==UserScript==
// @name ChatGPT Better Syntax Highlighting
// @namespace http://tampermonkey.net/
// @version 2026-05-06
// @updateURL https://gist.github.com/alexchexes/273ad5fa78a018f00ad2aeb7f9494a5c/raw/chatgpt-better-syntax-highlighting.user.js
// @downloadURL https://gist.github.com/alexchexes/273ad5fa78a018f00ad2aeb7f9494a5c/raw/chatgpt-better-syntax-highlighting.user.js
// @description Automatically highlights unhighlighted code blocks with auto language recognition (via highlightjs). Handles chat switching, applies syntax highlighting to new messages on user interaction ("send" click or Enter keypress). Allows to re-highlight the block by clicking on its title.
// @author alexchexes
// @match https://chat.openai.com/*
// @match https://chatgpt.com/*
@alexchexes
alexchexes / monkeytype_keymap_colors.user.js
Last active December 28, 2025 23:03
Add colors to keymap zones on monkeytype.com
// ==UserScript==
// @name Monkeytype Keymap Colors
// @namespace http://tampermonkey.net/
// @version 2025-12-28
// @description Adds colors to keymap zones on monkeytype.com
// @author alexchexes
// @updateURL https://gist.github.com/alexchexes/498c069fa994b7d76d8bcc1f7c144629/raw/monkeytype_keymap_colors.user.js
// @downloadURL https://gist.github.com/alexchexes/498c069fa994b7d76d8bcc1f7c144629/raw/monkeytype_keymap_colors.user.js
// @match https://monkeytype.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=monkeytype.com
@alexchexes
alexchexes / google_serp_analysis.user.js
Last active March 4, 2024 17:47
Google SERP Analysis Extension (tampermonkey / greasemonkey)
// ==UserScript==
// @name Google SERP Analysis Extension
// @namespace http://tampermonkey.net/
// @version 2024-03-02
// @author https://gist.github.com/alexchexes
// @homepageURL https://gist.github.com/alexchexes/09c81155b6dec118714825bddd814fe9
// @updateURL https://gist.githubusercontent.com/alexchexes/09c81155b6dec118714825bddd814fe9/raw/google_serp_analysis.user.js
// @downloadURL https://gist.githubusercontent.com/alexchexes/09c81155b6dec118714825bddd814fe9/raw/google_serp_analysis.user.js
// @description try to take over the world!
// @match https://www.google.com/search?*
@alexchexes
alexchexes / yandex_serp_analysis.user.js
Last active March 4, 2024 17:48
Yandex SERP analysis extension (tampermonkey / greasemonkey)
// ==UserScript==
// @name Yandex SERP Analysis Extension
// @namespace http://tampermonkey.net/
// @version 2024-03-02.a
// @author https://gist.github.com/alexchexes
// @homepageURL https://gist.github.com/alexchexes/ca2cad7ffc4c0a089294b045783dd5f9
// @updateURL https://gist.githubusercontent.com/alexchexes/ca2cad7ffc4c0a089294b045783dd5f9/raw/yandex_serp_analysis.user.js
// @downloadURL https://gist.githubusercontent.com/alexchexes/ca2cad7ffc4c0a089294b045783dd5f9/raw/yandex_serp_analysis.user.js
// @description try to take over the world!
// @match https://ya.ru/search*
@alexchexes
alexchexes / CHANGELOG.md
Last active July 2, 2026 08:36
ChatGPT web-interface width fix (and other UI improvements)

2026-06-29

  • Fix dark background being accidentally applied to white theme for certain UI elements. Thanks @simcc!

2026-06-28

  • Fix background color for https://chatgpt.com/codex/cloud (see previous log entry about adding new mainBgColor tweak)
  • Fix dark background color being accidentally applied to white theme

2026-06-17

  • Add mainBgColor default option that restores a readable UI background in place of the eye-bleeding #000-black. If you like #000 or use an OLED display, you can remove this by setting defaultSettings.mainBgColor.enabled to false.