Skip to content

Instantly share code, notes, and snippets.

@kiranwayne
kiranwayne / grok_enhanced.js
Last active October 14, 2025 23:29
Customize width & justification (main/secondary panels via slider/input/checkbox)
// ==UserScript==
// @name Grok Enhanced
// @namespace https://gist.github.com/kiranwayne
// @version 0.5
// @description Customize width & justification (main/secondary panels via slider/input/checkbox). Fixed for May 2024 Grok UI update. Show/hide via menu on grok.com. Handles Shadow DOM. Header added.
// @author kiranwayne
// @match https://grok.com/*
// @updateURL https://gist.githubusercontent.com/kiranwayne/33c7340b4169617116cc8068cf10cb26/raw/grok_enhanced.js
// @downloadURL https://gist.githubusercontent.com/kiranwayne/33c7340b4169617116cc8068cf10cb26/raw/grok_enhanced.js
// @grant GM_getValue
@kiranwayne
kiranwayne / copilot_enhanced.js
Last active October 12, 2025 03:45
Customize Text and Sidebar width, toggle justification, show/hide via menu on copilot.microsoft.com
// ==UserScript==
// @name Copilot Enhanced
// @namespace https://gist.github.com/kiranwayne
// @version 0.5.1
// @description Customize Text and Sidebar width, toggle justification, show/hide via menu on copilot.microsoft.com. Handles Shadow DOM & Dynamic Elements. Fixes input field typing and sidebar collapse.
// @author kiranwayne
// @match https://copilot.microsoft.com/*
// @updateURL https://gist.githubusercontent.com/kiranwayne/e4d8846d2564d319aa500b6865d73407/raw/copilot_enhanced.js
// @downloadURL https://gist.githubusercontent.com/kiranwayne/e4d8846d2564d319aa500b6865d73407/raw/copilot_enhanced.js
// @grant GM_getValue
@kiranwayne
kiranwayne / ai_studio_enhanced.js
Last active October 12, 2025 03:44
Adds a movable panel with metadata to adjust content width, justify text, or use default width.
// ==UserScript==
// @name AI Studio Enhanced
// @namespace https://gist.github.com/kiranwayne
// @version 0.5.3
// @description Adds a movable panel with metadata to adjust content width, justify text, or use default width.
// @author kiranwayne
// @match https://aistudio.google.com/*
// @updateURL https://gist.githubusercontent.com/kiranwayne/9b676d5973aad64fd4711da1f110ecac/raw/ai_studio_enhanced.js
// @downloadURL https://gist.githubusercontent.com/kiranwayne/9b676d5973aad64fd4711da1f110ecac/raw/ai_studio_enhanced.js
// @grant GM_getValue