Greasy Fork

Greasy Fork is available in English.

HUYA Color

虎牙直播 - 解开弹幕颜色限制

当前为 2018-01-26 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        HUYA Color
// @description 虎牙直播  - 解开弹幕颜色限制
// @namespace   http://www.huya.com/
// @author      游客
// @include     http://www.huya.com/*
// @version     1.2.2
// @grant       none
// ==/UserScript==
// 1.2 虎牙升级 J-color-list-level 代替位 J-color-list-fans

function hideOT()
{
    $("#hy-watermark").hide();
    setTimeout(hideOT, 10);
}



hideOT();
$(".main-room").css("height","98%");

$("#J-room-chat-color").mouseover();
$(".room-chat-tools").append("<script type='text/javascript'>function hideOT(){ $('.youlike').hide(); $('.huya-video').hide();   $('.box-crumb').hide();  $('#J_spbg').hide();$('#J-color-list-fans > li:nth-child(2)').attr('class','color-item');$('#J-color-list-fans > li:nth-child(3)').attr('class','color-item');$('#J-color-list-fans > li:nth-child(4)').attr('class','color-item');$('#J-color-list-fans > li:nth-child(5)').attr('class','color-item');$('#J-color-list-fans > li:nth-child(6)').attr('class','color-item');$('#J-color-list-fans > li:nth-child(7)').attr('class','color-item');$('#J-color-list-fans > li:nth-child(8)').attr('class','color-item');} hideOT();</script><a href=javascript:voide(); onclick='hideOT()'>解开颜色</a></p>");
$("#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);
	}
}
})();