Skip to content

Instantly share code, notes, and snippets.

View hym3242's full-sized avatar
💭
still lovin' TIOCSTI

hym3242 hym3242

💭
still lovin' TIOCSTI
View GitHub Profile
@hym3242
hym3242 / ChatGPT.enhanced.bookmarklet.js
Created May 14, 2023 10:51
Various enhacements for chat.openai.com, including easier to use textarea styling, and less waste of screen real estate
var el = document.querySelector("#__next > div.overflow-hidden.w-full.h-full.relative.flex.z-0 > div.relative.flex.h-full.max-w-full.flex-1.overflow-hidden > div > main > div.absolute.bottom-0.left-0.w-full.border-t.md\\:border-t-0.dark\\:border-white\\/20.md\\:border-transparent.md\\:dark\\:border-transparent.md\\:bg-vert-light-gradient.bg-white.dark\\:bg-gray-800.md\\:\\!bg-transparent.dark\\:md\\:bg-vert-dark-gradient.pt-2 > form > div > div.flex.flex-col.w-full.py-2.flex-grow.md\\:py-3.md\\:pl-4.relative.border.border-black\\/10.bg-white.dark\\:border-gray-900\\/50.dark\\:text-white.dark\\:bg-gray-700.rounded-md.shadow-\\[0_0_10px_rgba\\(0\\,0\\,0\\,0\\.10\\)\\].dark\\:shadow-\\[0_0_15px_rgba\\(0\\,0\\,0\\,0\\.10\\)\\]");
el.style.boxSizing='border-box';
el.style.backgroundColor='#fafafa';
var ta = document.querySelector("#__next > div.overflow-hidden.w-full.h-full.relative.flex.z-0 > div.relative.flex.h-full.max-w-full.flex-1.overflow-hidden > div > main > div.absolute.bottom-0.left-0.w-full.border-t.md
@hym3242
hym3242 / settings.json
Last active May 14, 2023 10:57
VS Code quality of life settings
{
//Also add a css rule: .minimap.slider-always [ border-left: 1px solid #3b3b3b; ]
"workbench.startupEditor": "none",
"editor.scrollbar.horizontal": "visible",
"editor.scrollbar.vertical": "visible",
"editor.mouseWheelScrollSensitivity": 0.25,
"editor.stickyScroll.enabled": true,
"editor.minimap.showSlider": "always",