您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Simple UI Unblock for Netease cloud music Website
当前为
// ==UserScript== // @name NeteaseMusic UI Unlocker // @namespace https://github.com/nondanee // @version 0.2.0 // @description Simple UI Unblock for Netease cloud music Website // @author nondanee // @match https://music.163.com/* // @grant none // ==/UserScript== (() => { const search = (object, pattern) => { let result = null Object.keys(object) .some(key => { if (!object[key]) return else if (typeof object[key] === 'function') { result = String(object[key]).match(pattern) ? [key] : null } else if (typeof object[key] === 'object') { const inner = search(object[key], pattern) result = inner ? [key].concat(inner) : null } return !!result }) return result } const attach = (object, path, property) => { let poiner = object const last = path.pop() path.forEach(key => { if (!(key in poiner)) throw new Error('KeyError') poiner = poiner[key] }) return property ? poiner[last] = property : poiner[last] } if (window.top != window.self) { //in iframe const pathOne = search(window.nej, '\\.dataset;if') const pathTwo = search(window.nm, '\\.copyrightId==') const pathThree = search(window.nm, '\\.privilege;if') const functionOne = attach(window.nej, pathOne) attach(window.nej, pathOne, (z, name) => { if (name == 'copyright' || name == 'resCopyright') return 1 return functionOne(z, name) }) attach(window.nm, pathTwo, () => false) attach(window.nm, pathThree, song => { song.status = 0 if (song.privilege) song.privilege.pl = 320000 return 0 }) Array.from(document.getElementsByClassName('js-dis')) .forEach(element => element.classList.remove('js-dis')) } })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址