기존 확장 추가
This commit is contained in:
26
content.js
Normal file
26
content.js
Normal file
@@ -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"
|
||||
};
|
||||
}
|
||||
});
|
||||
44
manifest.json
Normal file
44
manifest.json
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
89
popup.css
Normal file
89
popup.css
Normal file
@@ -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;
|
||||
}
|
||||
32
popup.html
Normal file
32
popup.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="popup.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>Chzzk Bypass</h1>
|
||||
<span class="badge active">작동 중</span>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>현재 <strong>Mac OS</strong>로 위장하여<br>그리드를 우회하고 있습니다.</p>
|
||||
<div class="status-box">
|
||||
<div class="status-item">
|
||||
<span class="label">대상 사이트</span>
|
||||
<span class="value">chzzk.naver.com</span>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<span class="label">우회 상태</span>
|
||||
<span class="value success">정상 (1080p)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<a href="https://chzzk.naver.com" target="_blank">치지직 바로가기</a>
|
||||
</div>
|
||||
</div>
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user