chzzk bypass (User-Agent ver)

chzzk User-Agent 변경

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==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();
})();