chzzk bypass (User-Agent ver)

chzzk User-Agent 변경

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name chzzk bypass (User-Agent ver)
// @version 1
// @description chzzk User-Agent 변경
// @match https://chzzk.naver.com/*
// @match https://mul.live/*
// @run-at document-start
// @icon https://chzzk.naver.com/favicon.ico
// @icon https://mul.live/favicon.ico
// @grant none
// @license MIT
// @namespace https://greasyfork.org/users/1510534
// ==/UserScript==
(function() {
	'use strict';
	const UserAgent =
		'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Whale/3.24.223.18 Safari/537.36';
	const overrideProperty = (obj, prop, newGetter) => {
		try {
			Object.defineProperty(navigator, 'userAgent', {
				get: () => UserAgent,
				configurable: true,
				enumerable: true,
			});
		} catch (e) {}
	};
	overrideProperty();
})();