Greasy Fork is available in English.

NeteaseMusic Resolution Upgrader

Force playing high quality music in Netease cloud music Website

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         NeteaseMusic Resolution Upgrader
// @namespace    https://github.com/nondanee
// @version      0.2.1
// @description  Force playing high quality music in Netease cloud music Website
// @author       nondanee
// @match        https://music.163.com/*
// @grant        none
// ==/UserScript==

(() => {
	let _asrsea
	const asrsea_ = (...payload) => {
		const data = JSON.parse(payload[0])
		if ('level' in data) data.level = 'exhigh'
		payload[0] = JSON.stringify(data)
		return _asrsea.apply(window, payload)
	}
	if (window.asrsea) {
		_asrsea = window.asrsea
		window.asrsea = asrsea_
	}
	else {
		Object.defineProperty(window, 'asrsea', {
			get: () => asrsea_,
			set: value => _asrsea = value
		})
	}
})()