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.

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 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.

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

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