commit 6c0e103aeb8c6f08e36b2cae2b1ab023045e5167 Author: tkrmagid Date: Thu May 28 01:14:31 2026 +0900 기존 확장 추가 diff --git a/content.js b/content.js new file mode 100644 index 0000000..496aa4d --- /dev/null +++ b/content.js @@ -0,0 +1,26 @@ +// 치지직 플레이어가 OS를 검사할 때 Mac으로 인식하도록 속임 +Object.defineProperty(navigator, 'userAgent', { + get: function () { + return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36'; + } +}); + +Object.defineProperty(navigator, 'platform', { + get: function () { + return 'MacIntel'; + } +}); + +Object.defineProperty(navigator, 'userAgentData', { + get: function () { + return { + brands: [ + { brand: "Chromium", version: "122" }, + { brand: "Google Chrome", version: "122" }, + { brand: "Not-A.Brand", version: "24" } + ], + mobile: false, + platform: "macOS" + }; + } +}); \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..9f6ae9e --- /dev/null +++ b/manifest.json @@ -0,0 +1,44 @@ +{ + "name": "Chzzk Mac Spoofer (Grid Bypass)", + "version": "1.0.0", + "manifest_version": 3, + "description": "치지직(CHZZK) 시청 시 브라우저 환경을 Mac으로 위장하여 그리드 설치 없이 1080p 화질을 쾌적하게 시청합니다.", + "icons": { + "16": "icons/icon16.png", + "48": "icons/icon48.png", + "128": "icons/icon128.png" + }, + "action": { + "default_popup": "popup.html", + "default_title": "Chzzk Bypass Status" + }, + "permissions": [ + "declarativeNetRequest", + "declarativeNetRequestWithHostAccess" + ], + "host_permissions": [ + "*://*.naver.com/*", + "*://*.ncloud.com/*" + ], + "declarative_net_request": { + "rule_resources": [ + { + "id": "rules", + "enabled": true, + "path": "rules.json" + } + ] + }, + "content_scripts": [ + { + "matches": [ + "*://chzzk.naver.com/*" + ], + "js": [ + "content.js" + ], + "run_at": "document_start", + "world": "MAIN" + } + ] +} \ No newline at end of file diff --git a/popup.css b/popup.css new file mode 100644 index 0000000..57802b7 --- /dev/null +++ b/popup.css @@ -0,0 +1,89 @@ +body { + margin: 0; + font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif; + background-color: #1e1e23; + color: #ffffff; + width: 280px; +} + +.container { + padding: 16px; +} + +.header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 16px; + border-bottom: 1px solid #333333; + padding-bottom: 12px; +} + +h1 { + font-size: 16px; + margin: 0; + color: #00ffa3; /* 치지직 브랜드 컬러 느낌 */ +} + +.badge { + background-color: #00ffa3; + color: #000000; + padding: 4px 8px; + border-radius: 12px; + font-size: 11px; + font-weight: bold; +} + +.content p { + font-size: 13px; + line-height: 1.5; + color: #b0b8c1; + margin-top: 0; + margin-bottom: 16px; +} + +.status-box { + background-color: #2a2a32; + border-radius: 8px; + padding: 12px; +} + +.status-item { + display: flex; + justify-content: space-between; + font-size: 12px; + margin-bottom: 8px; +} + +.status-item:last-child { + margin-bottom: 0; +} + +.label { + color: #8b95a1; +} + +.value.success { + color: #00ffa3; + font-weight: bold; +} + +.footer { + margin-top: 16px; + text-align: center; +} + +.footer a { + display: block; + background-color: #333333; + color: #ffffff; + text-decoration: none; + padding: 10px; + border-radius: 6px; + font-size: 13px; + transition: background-color 0.2s ease; +} + +.footer a:hover { + background-color: #4a4a4a; +} \ No newline at end of file diff --git a/popup.html b/popup.html new file mode 100644 index 0000000..09ec379 --- /dev/null +++ b/popup.html @@ -0,0 +1,32 @@ + + + + + + + +
+
+

Chzzk Bypass

+ 작동 중 +
+
+

현재 Mac OS로 위장하여
그리드를 우회하고 있습니다.

+
+
+ 대상 사이트 + chzzk.naver.com +
+
+ 우회 상태 + 정상 (1080p) +
+
+
+ +
+ + + \ No newline at end of file diff --git a/popup.js b/popup.js new file mode 100644 index 0000000..e48a1c8 --- /dev/null +++ b/popup.js @@ -0,0 +1,5 @@ +// 팝업이 로드될 때 실행됩니다. +document.addEventListener('DOMContentLoaded', function () { + console.log("Chzzk Bypass 팝업 UI 로드 완료"); + // 향후 우회 On/Off 토글 버튼 등을 구현할 공간입니다. +}); \ No newline at end of file