Skip to content

Instantly share code, notes, and snippets.

@alexchexes
alexchexes / chatgpt-better-syntax-highlighting.user.js
Last active December 27, 2024 13:36
ChatGPT improved syntax highlighting (with support for Vue.js code)
// ==UserScript==
// @name ChatGPT Better Syntax Highlighting
// @namespace http://tampermonkey.net/
// @version 2024-12-01
// @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 October 8, 2024 01:16
Add colors to keymap zones on monkeytype.com
// ==UserScript==
// @name Monkeytype Keymap Colors
// @namespace http://tampermonkey.net/
// @version 2024-09-29
// @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 / chatgpt_ui_fix.user.js
Last active December 27, 2024 13:37
ChatGPT web-interface width fix (and other UI improvements)
// ==UserScript==
// @name ChatGPT CSS fixes
// @version 2024-12-27
// @updateURL https://gist.github.com/alexchexes/d2ff0b9137aa3ac9de8b0448138125ce/raw/chatgpt_ui_fix.user.js
// @downloadURL https://gist.github.com/alexchexes/d2ff0b9137aa3ac9de8b0448138125ce/raw/chatgpt_ui_fix.user.js
// @namespace http://tampermonkey.net/
// @description Adjusts width of side bar and messages of the ChatGPT web interface
// @author alexchexes
// @match https://chat.openai.com/*
// @match https://chatgpt.com/*