Skip to content

Instantly share code, notes, and snippets.

https://unsplash.com/ko/%EC%82%AC%EC%A7%84/ylQBibJByto
https://unsplash.com/ko/%EC%82%AC%EC%A7%84/ruhiges-gewasser-in-der-nahe-des-berges-wahrend-der-goldenen-stunde-6-EO5FdiN6s
https://unsplash.com/ko/%EC%82%AC%EC%A7%84/%EB%88%88-%EB%8D%AE%EC%9D%B8-%EC%A7%91-67t2GJcD5PI
https://unsplash.com/ko/%EC%82%AC%EC%A7%84/%EB%AC%BC-%EA%B1%B4%EB%84%88%ED%8E%B8%EC%97%90-%EA%B7%B8%EB%A6%B0-%EB%A7%88%EC%9A%B4%ED%8B%B4-Bkci_8qcdvQ
https://unsplash.com/ko/%EC%82%AC%EC%A7%84/%EB%82%AE%EC%97%90%EB%8A%94-%ED%91%B8%EB%A5%B8-%ED%95%98%EB%8A%98-%EC%95%84%EB%9E%98-%EC%82%B0%EA%B3%BC-%ED%91%B8%EB%A5%B8-%EB%82%98%EB%AC%B4%EA%B0%80-%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4-HG9ls-X3RGM
https://unsplash.com/ko/%EC%82%AC%EC%A7%84/%EA%B5%AC%EB%A6%84-%ED%98%95%EC%84%B1-gQrYB3j9mJ0
// 제미나이 업데이트 됐다고 해서 "현재 보고 있는 웹페이지를 다크모드로 보여주는 유저스크립트를 만들어줘" 라고 테스트해봤는데, 클로드, ChatGPT, 제미나이 순이긴하군요. 아래 결과 코드 참고
// 구글 제미나이 (무료, Gemini 1.5 Pro)
// ==UserScript==
// @name Dark Mode
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Changes the page to dark mode.
class TabManager {
constructor() {
this.urlCache = new Map();
}
async sortTabs() {
const tabs = await chrome.tabs.query({ currentWindow: true });
const tabsWithParsedUrls = this.getTabsWithParsedUrls(tabs);
tabsWithParsedUrls.sort(this.compareUrls);
{
"manifest_version": 3,
"name": "탭댄스",
"version": "2.5",
"description": "탭 정렬 (alt + A), 중복 탭 제거, 모든 탭 하나의 창으로 (아이콘 클릭)",
"permissions": ["tabs", "windows"],
"background": {
"service_worker": "background.js"
},
"action": {
// ==UserScript==
// @name 좌고우면 키보드 페이지 이동 유저스크립트
// @namespace http://tampermonkey.net/
// @version 5.0
// @description 게시판 등 URL에 페이지 있을 시 좌우 방향키로 페이지 이동하게 해주는 유저스크립트
// @author Claude & ChatGPT
// @match *://*/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Toggle Main Content CSS with TTS
// @namespace http://tampermonkey.net/
// @version 1.7
// @description Toggle CSS of the main content area on alt + 4 and start reading the content
// @author Claude & ChatGPT
// @match *://*/*
// @grant none
// @require https://raw.githubusercontent.com/mozilla/readability/main/Readability.js
// ==/UserScript==
// ==UserScript==
// @name Reader Mode, Toggle Main Content CSS (Optimized and Fixed)
// @namespace http://tampermonkey.net/
// @version 2.3
// @description Reader Mode, Toggle CSS of the main content area on alt + 4 (Optimized and fixed version with title fix)
// @author Claude & ChatGPT
// @match *://*/*
// @grant none
// @require https://raw.githubusercontent.com/mozilla/readability/main/Readability.js
// ==/UserScript==
// ==UserScript==
// @name Copy Main Content to Clipboard
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Copy main content to clipboard using Readability.js
// @author Claude & ChatGPT
// @match *://*/*
// @grant GM_setClipboard
// @require https://raw.githubusercontent.com/mozilla/readability/main/Readability.js
// ==UserScript==
// @name 웹페이지 제목/URL 복사 스크립트
// @namespace http://tampermonkey.net/
// @version 2.4
// @description Alt+1 키를 눌러 현재 페이지의 제목과 URL을 클립보드에 복사합니다.
// @author Claude & ChatGPT
// @match *://*/*
// @grant GM_setClipboard
// @grant GM_addStyle
// ==/UserScript==
p.timeline__text{
color:#000;
font-family:Lato,나눔바른고딕;
font-size:18px;
font-weight:400;
letter-spacing:0;
line-height:2;
text-align:left;
word-break:keep-all
}