// ==UserScript== // @name HUYA Color // @description 虎牙直播 - 解开弹幕颜色限制 // @namespace http://www.huya.com/ // @author 游客 // @include http*://www.huya.com/* // @version 1.2.6 // @grant none // @downloadURL none // ==/UserScript== // 1.2 虎牙升级 J-color-list-level 代替位 J-color-list-fans // 去掉改变高度的代码 // 虎牙域名 http 改为 https // 1.2.6 隐藏金豆礼物 function hideOT() { $("#hy-watermark").hide(); $("#player-recharge-btn").hide(); $(".room-footer-r").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(2)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(3)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(4)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(5)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(6)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(7)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(8)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(9)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(10)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(11)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(12)").hide(); $("#player-face > div.player-face-list.player-face-list-ctrl > ul > li:nth-child(13)").hide(); setTimeout(hideOT, 10); } hideOT(); //$(".main-room").css("height","98%"); $("#J-room-chat-color").mouseover(); $(".room-chat-tools").append("解开颜色

"); $("#J-room-chat-color").mouseout(); (function() {var css = [ //" .room-player-wrap { height:100%; !important; }", ].join("\n"); if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { // no head yet, stick it whereever document.documentElement.appendChild(node); } } })();