다시 처음으로

This commit is contained in:
tkrmagid-desktop
2026-05-28 19:27:11 +09:00
parent a59992dc87
commit 43290248ee
6 changed files with 104 additions and 62 deletions

26
content.js Normal file
View 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"
};
}
});