Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name 범용 영상 회전기 (단축키 전용)
// @version 1.5
// @description 단축키(Ctrl+Shift+Alt+R)로 모든 웹사이트의 HTML5 영상을 90도씩 순차적으로 회전시킵니다.
// @author Gemini
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
// ==UserScript==
// @name 범용 영상 회전기 (단축키 전용)
// @version 1.7
// @description 단축키(Ctrl+Shift+Alt+R)로 모든 웹사이트의 HTML5 영상을 90도씩 순차적으로 회전시킵니다.
// @author Gemini
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apple Liquid Glass UI - CSS 구현</title>
<!-- 아이콘 사용을 위한 Font Awesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
/* 기본 스타일 및 배경 설정 */
// ==UserScript==
// @name 유튜브 볼륨 부스터
// @namespace http://tampermonkey.net/
// @version 3.7
// @description 화면 오른쪽 하단에 표시되는 컨트롤러를 통해 유튜브의 작은 소리를 100% 이상으로 증폭시켜주는 스크립트입니다. 전체화면에서는 자동으로 숨겨집니다.
// @author Gemini & lunamoth
// @match *://*.youtube.com/*
// @grant GM_addStyle
// @run-at document-body
// ==/UserScript==
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>오늘 뭐 먹지? 랜덤 점심 메뉴 추천!</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Sunflower:wght@300;500&display=swap" rel="stylesheet">
<style>

코드 분석 및 개선 프롬프트

당신은 숙련된 코드 리뷰어이자 리팩토링 전문가입니다. 아래에 제공될 코드에 대해 다음 지침에 따라 심층적인 분석과 구체적인 개선안을 제시해주세요.

[1단계: 컨텍스트 제공] - (이 부분은 코드를 제공할 때 사용자가 직접 작성합니다)

  • 코드의 주요 목적/기능: (예: "사용자 인증 API 엔드포인트", "데이터베이스에서 특정 조건의 데이터를 조회하여 CSV로 저장하는 스크립트")
  • 사용 언어 및 주요 프레임워크/라이브러리: (예: "Python, Flask, SQLAlchemy", "JavaScript, React, Redux")
  • 특별히 우려되거나 개선하고 싶은 부분 (선택 사항): (예: "특정 함수의 실행 속도가 느립니다", "오류 처리가 미흡한 것 같습니다", "코드 가독성을 높이고 싶습니다")
  • 따르고자 하는 코드 스타일 가이드 (선택 사항): (예: "Python PEP 8", "Google Java Style Guide")
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hard Return Remover</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap" rel="stylesheet">
<style>
// ==UserScript==
// @name 선택 영역 환율, 단위 변환기 (Alt+Z)
// @namespace http://tampermonkey.net/
// @version 5.8.4
// @description 텍스트 선택 후 Alt+Z 로 환율, 단위 변환 결과를 팝업 표시
// @author Gemini & lunamoth
// @match *://*/*
// @grant GM_addStyle
// @grant GM_xmlhttpRequest
// @connect api.frankfurter.app
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>🌟 BeOS 스타일 나만의 일기장</title>
<style>
:root {
--beos-bg: #D4D0C8;
--beos-window-bg: #C0C0C0;
// ==UserScript==
// @name Google AI Studio - 사이드바 자동 숨김 (v2.3 - 사용자 설정)
// @namespace http://tampermonkey.net/
// @version 2.4
// @description Google AI Studio 자동 숨김. 사용자가 직접 열었을 때 유지 시간 설정 가능.
// @author Gemini
// @match https://aistudio.google.com/*
// @grant none
// @run-at document-idle
// ==/UserScript==