- // ==UserScript==
- // @name 直播工具箱
- // @namespace https://gf.qytechs.cn/zh-CN/users/117402
- // @version 2.3.2.3
- // @description 屏蔽了用户进入提示,各种vip图标,过滤刷屏弹幕,屏蔽礼物,斗鱼画中画等。
- // @author ski.原作者khanid
- // @match *://*.douyu.com/*
- // @match *://*.panda.tv/*
- // @match *://*.zhanqi.tv/*
- // @match *://*.huya.com/*
- // @match *://*.longzhu.com/*
- // @match *://live.bilibili.com/*
- // @icon https://live.bilibili.com/favicon.ico
- // @require https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js
- // @grant GM_setValue
- // @grant GM_getValue
- // @grant GM_addStyle
- // @grant unsafeWindow
- // ==/UserScript==
- (function () {
- 'use strict';
-
- var filter = [
- /^[^\u4e00-\u9fa5].*?6{3}.*?[^\u4e00-\u9fa5]$/,
- /^233/,
- /^111/,
- /^222/,
- /^333/,
- /^\d{2,}$/,
- /^\?+$/,
- /^\?+$/,
- /([a-zA-Z])\1{4,}/,
- /^[^\u4e00-\u9fa5](\S)(\1){5,}[^\u4e00-\u9fa5]$/,
- /^[^\u4e00-\u9fa5]$/
- ];
- var defilter = filter;
- var userfilter = GM_getValue('userfilter', "");
- var fontsize = GM_getValue('fontsize','18px');
- var n1=0,n2=0,n3=0,n6=0,n23=0,nq=0,activenum;
- var actman=new Array();
- setTimeout(function () {
- $('#filtertext').val(userfilter);
- }, 2000);
- //读取用户配置
- /* if (userfilter != 0 && userfilter != '') {
- if (userfilter.indexOf('/,/') > 0) {
- var usergroup = userfilter.split(',');
- filter = $.merge(filter, usergroup);
- } else {
- filter.push(userfilter);
- }
- }*/
- $(document).ready(function () {
- if (location.href.indexOf('douyu.com') > 0) {
- setTimeout(function () {
- douyu();
- }, 200);
- }
- if (location.href.indexOf('panda.tv') > 0) {
- setTimeout(function () {
- panda();
- }, 1000);
- }
- if (location.href.indexOf('zhanqi.tv') > 0) {
- setTimeout(function () {
- zhanqi();
- }, 1000);
- }
- if (location.href.indexOf('huya.com') > 0) {
- setTimeout(function () {
- huya();
- }, 1000);
- }
- if (location.href.indexOf('longzhu.com') > 0) {
- setTimeout(function () {
- longzhu();
- }, 1000);
- }
- if (location.href.indexOf('bilibili.com') > 0) {
- setTimeout(function () {
- bilibili();
- }, 1000);
- }
- });
- function douyu() {
- hidead();
- douyucss();
- publiccss();
- dmplugin();
- /* $("body").append('<script>setInterval(function(){jQuery(document).trigger("mousemove")}, 60000);</script>');
- setTimeout(function(){
- var roomid=/\d+/.exec($(".anchor-cover-wrap").attr("href"));
- $("#showroomid").text("房间号:"+ roomid);
- },4000);*/
- var dmnum = 0,
- dmave = new Array(25),
- dmi = 0,
- dmavi = 0,
- dmopline = 0,
- dmcolors,dmimage,fansicon,dmpos,offdm;
- //弹幕计数
- setInterval(function() {
- if (dmi > 24) {
- dmi = 0;
- }
- dmave[dmi] = dmnum;
- dmavi = (Math.max.apply(null, dmave) - Math.min.apply(null, dmave)) / 5;
- dmi++;
- },200);
- $('.focus-box-con').css('width', '250px');
- $('#js-fans-rank').hide();
- $('#js-chat-cont').prepend('<input type="hidden" id="chatboxhg" value="0" />');
- $('#js-room-video').prepend('<div id="dmbox" style="width:100%;position:absolute;top:0px;z-index:99;"></div>');
- $(".r-else").append('<li><span id="showroomid">房间号:</span></li>');
- $('body').prepend('<div id="sebox"><div id="seflash"></div><div id="coor"></div></div>');
- $('#sebox').prepend('<div id="seboxtitle"><span id="changeroom">切换房间</span><span id="closesebox">关闭</span></div>');
- $('#sebox').prepend('<div id="setroom"><input type="text" id="roomid" placeholder="请输入房间号"/><input id="setroomid" type="button" value="确定"><input id="cancelchange" type="button" value="取消"></div>');
- //$(".r-else").append('<li title="统计不重复的发言用户数量"><span id="showroomid">活跃人数:</span><span id="active">0</span><button id="clearactive" style="margin-left:10px;">清空</button></li>');
- $('#gift-content').before('<div style="float:left;position:relative;"><input type="button" id="showsebox" value="打开画中画"><div id="opendmbt"><span id="dmkg"></span><input type="hidden" id="cjdm_state" value="0"><span id="kgstate">插件弹幕关</span></div><div id="dmset"><div></div>');
- $('#opendmbt').after('<div tabindex="99" id="dmsetbox"></div>');
- $('#dmsetbox').append('<div style="margin-left:7px;margin-top:5px;"><span>关注用户:</span><input type="text" id="highline" placeholder="格式:用户名/用户名/……" width="180"></div>');
- $('#dmsetbox').append('<div style="margin-left:7px;margin-top:5px;"><span>弹幕速度:</span><input type="number" id="dmspeed" value="16" max="30" min="5"><span style="margin-left:10px;">透明度:</span><input type="number" id="dmop" value="10" max="10" min="1"></div>');
- $('#dmsetbox').append('<div style="margin-left:7px;margin-top:5px;"><span>屏蔽低级用户:</span><input type="number" id="userlevel" value="0" min="0"><span style="margin-left:10px;">字体大小:</span><input type="number" id="dmsize" value="18" max="28" min="14"></div>');
- $('#dmsetbox').append('<div style="margin-left:7px;margin-top:5px;"><span>弹幕位置:</span><select id="dmpos"><option value ="0">上方</option><option value ="1">下方</option></select><span style="margin-left:10px;">关闭弹幕提示:</span><select id="offdm"><option value ="0">开启</option><option value ="1">关闭</option></select></div>');
- $('#dmsetbox').append('<div style="margin-left:7px;margin-top:20px;"><div class="slideThree"><p>彩色弹幕</p><input type="checkbox" id="dmcolorswitch" value="None" checked><label for="dmcolorswitch"></label></div><div class="slideThree" style="margin-left:5px;"><p>表情过滤</p><input type="checkbox" id="dmimage" value="None"><label for="dmimage"></label></div><div class="slideThree" style="margin-left:5px;"><p>火箭过滤</p><input type="checkbox" id="rocketfilter" value="None"><label for="rocketfilter"></label></div><div class="clear"></div></div>');
- $('#dmsetbox').append('<div style="margin-left:7px;margin-top:20px;"><div class="slideThree"><p>铭牌过滤</p><input type="checkbox" id="fans-icon" value="None" checked><label for="fans-icon"></label></div><div class="slideThree" style="margin-left:5px;"><p>弹幕背景</p><input type="checkbox" id="dmbgcolor" value="None" checked><label for="dmbgcolor"></label></div><div class="slideThree" style="margin-left:5px;"><p>弹幕穿透</p><input type="checkbox" id="dmthrough" value="None"><label for="dmthrough"></label></div><div class="clear"></div></div>');
- $('#dmsetbox').append('<div style="margin-left: 7px;margin-top: 20px;width: 90%;height: auto;border: 1px solid #999;padding: 5px;" id="h5box"></div>');
- $('#h5box').append('<div><input type="checkbox" id="jcts"><label for="jcts">屏蔽竞猜提示框</label></div>');
- $('#h5box').append('<div><input type="checkbox" id="autoh5"><label for="autoh5">自动开启Html5播放器</label></div>');
- $('#h5box').append('<div><input type="checkbox" id="pbcj" disabled><label for="pbcj">屏蔽抽奖框</label></div>');
- $('#h5box').append('<div><input type="checkbox" id="qmhd" disabled><label for="qmhd">屏蔽亲密互动</label></div>');
- $('#h5box').append('<div><input type="checkbox" id="hfgb" disabled><label for="hfgb">屏蔽横幅广播</label></div>');
- $('#dmsetbox').append('<input type="button" id="setfilterbt" value="保存并关闭">');
- $('.focus-box-con').append('<button type="button" id="fansbox" value="1">显示粉丝区→</button>');
- $("#js-chat-cont").prepend('<div id="dmjs"></div>');
- $("#dmjs").prepend('<div class="dmnumbox" id="dmjs_n6" style="display:none;"><div class="icon6"></div><div class="numpic nx"></div><div class="baiwei numpic alln n0" style="display:none;"></div><div class="shiwei numpic alln n0" style="display:none;"></div><div class="gewei numpic alln n0"></div></div>');
- $("#dmjs").prepend('<div class="dmnumbox" id="dmjs_nq" style="display:none;"><div class="iconq"></div><div class="numpic nx"></div><div class="baiwei numpic alln n0" style="display:none;"></div><div class="shiwei numpic alln n0" style="display:none;"></div><div class="gewei numpic alln n0"></div></div>');
- var playerpos = $("#js-room-video").offset().top-85;
- setTimeout(function(){$("body").animate({scrollTop:playerpos},400);},1000);
- //读取设置
- var dmspeed = GM_getValue('dmspeed', 16);
- var highline=GM_getValue('highline','');
- $("#highline").val(highline);
- dmimage=GM_getValue("dmimage",0);
- dmcolors=GM_getValue("dmcolor",1);
- dmpos=GM_getValue("dmpos",0);
- offdm=GM_getValue("offdm",0);
- var userlevel=GM_getValue("userlevel",0);
- var rocketfilter=GM_getValue("rocketfilter",0);
- fansicon=GM_getValue("fansicon",1);
- var dmbgcolor=GM_getValue("dmbgcolor",1);
- var dmthrough=GM_getValue("dmthrough",0);
- $("#userlevel").val(userlevel);
- $("#dmsize").val(parseInt(fontsize));
- var autoh5 = GM_getValue("autoh5",0);
- var pbcj = GM_getValue("pbcj",0);
- var qmhd = GM_getValue("qmhd",0);
- var hfgb = GM_getValue("hfgb",0);
- var jcts = GM_getValue("jcts",0);
- if(jcts==0){
- $("#jcts").attr("checked",false);
- }else{
- $("#jcts").attr("checked",true);
- GM_addStyle(".guess-user-reminding-out{display:none!important}");
- }
- if(autoh5==0){
- $("#autoh5").attr("checked",false);
- }else{
- $("#autoh5").attr("checked",true);
- $("#pbcj").removeAttr("disabled");
- $("#qmhd").removeAttr("disabled");
- $("#hfgb").removeAttr("disabled");
- }
- if(pbcj==0){
- $("#pbcj").attr("checked",false);
- }else{
- $("#pbcj").attr("checked",true);
- }
- if(qmhd==0){
- $("#qmhd").attr("checked",false);
- }else{
- $("#qmhd").attr("checked",true);
- var chktime=0;
- const chkqmhd = setInterval(function(){
- if($("div[class^=black]").length){
- $("div[class^=black]").next().remove();
- clearInterval(chkqmhd);
- }
- chktime++;
- if(chktime>300){
- clearInterval(chkqmhd);
- }
- },200);
- }
- if(hfgb==0){
- $("#hfgb").attr("checked",false);
- }else{
- $("#hfgb").attr("checked",true);
- const delcan = setInterval(function(){
- if($("canvas[class^=bigEffect]").length){
- $("canvas[class^=bigEffect]").remove();
- $("canvas[class^=canvas]").remove();
- $("div[class^=customBc]").remove();
- clearInterval(delcan);
- }
- },200);
- }
- if(dmpos==1){
- $("#dmpos").val(1);
- $("#dmbox").css("top","auto");
- $("#dmbox").css("bottom","40px");
- }else{
- $("#dmpos").val(0);
- }
- if(dmcolors==0){
- $("#dmcolorswitch").attr("checked",false);
- }else{
- $("#dmcolorswitch").attr("checked",true);
- }
- if(dmimage==0){
- $("#dmimage").attr("checked",false);
- }else{
- $("#dmimage").attr("checked",true);
- }
- if(fansicon==0){
- $("#fans-icon").attr("checked",false);
- }else{
- $("#fans-icon").attr("checked",true);
- }
- if(dmbgcolor==0){
- $("#dmbgcolor").attr("checked",false);
- }else{
- $("#dmbgcolor").attr("checked",true);
- }
- if(dmthrough==0){
- $("#dmthrough").attr("checked",false);
- $("#dmbox").css("pointer-events","auto");
- }else{
- $("#dmthrough").attr("checked",true);
- $("#dmbox").css("pointer-events","none");
- }
- if(rocketfilter==0){
- $("#rocketfilter").attr("checked",false);
- }else{
- $("#rocketfilter").attr("checked",true);
- GM_addStyle(".giftbatter-box{display:none!important;}");
- }
- $('#dmop').val(GM_getValue('dmop', 10));
- $('#dmspeed').val(dmspeed);
- $('#dmbox').css('opacity', $('#dmop').val() / 10);
- if(GM_getValue("danmu_state",0)==1){
- if(offdm==0){opendm();$("#offdm").val(0);}else{opendm(); $('#dmbox').barrager.removeAll();$("#offdm").val(1);}
- if(autoh5){
- var chkdbn=0;
- const chkdmbt = setInterval(function(){
- if($("div[class^=showdanmu]").length){
- $("div[class^=showdanmu]").click();
- clearInterval(chkdmbt);
- }
- chkdbn++;
- if(chkdbn>150){
- clearInterval(chkdmbt);
- }
- },200);
- }
- }
- /*清空活跃人数
- $("#clearactive").click(function(){
- actman.splice(0,actman.length);
- $("#active").text(0);
- });
- */
- //屏蔽抽奖
- function _pbcj(){
- if($('div[class^=luckDraw]').length){
- $('div[class^=luckDraw]').hide();
- }
- }
- if(pbcj==1){
- const chkluckdraw = setInterval(function(){
- if($("div[id^=__h5player]").length){
- const h5player=$("div[id^=__h5player]");
- h5player.on('DOMNodeInserted',_pbcj);
- clearInterval(chkluckdraw);
- }
- },200);
- }
- //
- $("#autoh5").click(function(){
- if($("#autoh5").is(":checked")){
- $("#pbcj").removeAttr("disabled");
- $("#qmhd").removeAttr("disabled");
- $("#hfgb").removeAttr("disabled");
- }else{
- $("#pbcj").attr("disabled","disabled");
- $("#qmhd").attr("disabled","disabled");
- $("#pbcj").removeAttr("checked");
- $("#qmhd").removeAttr("checked");
- $("#hfgb").removeAttr("checked");
- }
- });
- //切换h5播放器
- if(autoh5){
- var switchH5 = setInterval(function(){
- if(unsafeWindow.__player.isH5Support && !unsafeWindow.__player.isSwitched){
- unsafeWindow.__player.switchPlayer('h5');
- clearInterval(switchH5);
- }
- },300);
- }
- //写入设置
- $('#setfilterbt').click(function () {
- GM_setValue('dmspeed', $('#dmspeed').val());
- GM_setValue('dmop', $('#dmop').val());
- GM_setValue('userlevel', $('#userlevel').val());
- GM_setValue('fontsize', $('#dmsize').val()+"px");
- GM_setValue('dmpos',$("#dmpos").val());
- GM_setValue('offdm',$("#offdm").val());
- GM_setValue('highline',$("#highline").val());
- highline=$("#highline").val();
- fontsize=$('#dmsize').val()+"px";
- userlevel=$('#userlevel').val();
- if($("#offdm").val()=='1'){
- offdm=1;
- }else{
- offdm=0;
- }
-
- if($("#dmpos").val()=='0'){
- $("#dmbox").css("top","0px");
- dmpos=0;
- }else{
- $("#dmbox").css("top","auto");
- $("#dmbox").css("bottom","40px");
- dmpos=1;
- }
- if($("#jcts").is(":checked")){
- GM_setValue('jcts', 1);
- jcts=1;
- GM_addStyle(".guess-user-reminding-out{display:none!important}");
- }else{
- GM_setValue('jcts', 0);
- jcts=0;
- }
- if($("#autoh5").is(":checked")){
- GM_setValue('autoh5', 1);
- autoh5=1;
- }else{
- GM_setValue('autoh5', 0);
- autoh5=0;
- }
- if($("#pbcj").is(":checked")){
- GM_setValue('pbcj', 1);
- pbcj=1;
- if($('div[class^=luckDraw]').length){
- $('div[class^=luckDraw]').hide();
- }
- $("div[id^=__h5player]").on('DOMNodeInserted',_pbcj);
- }else{
- GM_setValue('pbcj', 0);
- pbcj=0;
- }
- if($("#qmhd").is(":checked")){
- GM_setValue('qmhd', 1);
- qmhd=1;
- $("div[class^=black]").next().remove();
- }else{
- GM_setValue('qmhd', 0);
- qmhd=0;
- }
- if($("#hfgb").is(":checked")){
- GM_setValue('hfgb', 1);
- hfgb=1;
- $("canvas[class^=bigEffect]").remove();
- $("canvas[class^=canvas]").remove();
- $("div[class^=customBc]").remove();
- }else{
- GM_setValue('hfgb', 0);
- hfgb=0;
- }
- if($("#dmcolorswitch").is(":checked")){
- GM_setValue('dmcolor', 1);
- dmcolors=1;
- }else{
- GM_setValue('dmcolor', 0);
- dmcolors=0;
- }
- if($("#dmimage").is(":checked")){
- GM_setValue('dmimage', 1);
- dmimage=1;
- }else{
- GM_setValue('dmimage', 0);
- dmimage=0;
- }
- if($("#fans-icon").is(":checked")){
- GM_setValue('fansicon', 1);
- fansicon=1;
- }else{
- GM_setValue('fansicon', 0);
- fansicon=0;
- }
- if($("#dmbgcolor").is(":checked")){
- GM_setValue('dmbgcolor', 1);
- dmbgcolor=1;
- }else{
- GM_setValue('dmbgcolor', 0);
- dmbgcolor=0;
- }
- if($("#dmthrough").is(":checked")){
- GM_setValue('dmthrough', 1);
- dmthrough=1;
- $("#dmbox").css("pointer-events","none");
- }else{
- GM_setValue('dmthrough', 0);
- dmthrough=0;
- $("#dmbox").css("pointer-events","auto");
- }
- if($("#rocketfilter").is(":checked")){
- GM_setValue('rocketfilter', 1);
- GM_addStyle(".giftbatter-box{display:none!important;}");
- }else{
- GM_setValue('rocketfilter', 0);
- }
- setTimeout(function () {
- $('#dmsetbox').fadeOut();
- }, 500);
- $('#dmbox').css('opacity', $('#dmop').val() / 10);
- });
- $('#changeroom').click(function () {
- $('#setroom').fadeIn();
- $('#changeroom').fadeOut();
- });
- $('#cancelchange').click(function () {
- $('#setroom').fadeOut();
- $('#changeroom').fadeIn();
- });
- $('#opendmbt').click(function () {
- opendm();
- });
- $('#dmset').click(function () {
- $('#dmsetbox').fadeIn();
- $('#filtertext').select();
- });
- $('#sebox').mouseover(function () {
- $('#seboxtitle').stop();
- $('#seboxtitle').fadeIn();
- });
- $('#sebox').mouseout(function () {
- $('#seboxtitle').stop();
- $('#seboxtitle').fadeOut();
- });
- //弹幕过滤
- function glmain(lastli){
- //过滤进入房间提示
- var gl = 0,own = 0;
- if (lastli.find('a.hy-name').length) {
- gl = 1;
- lastli.remove();
- return false;
- }
- if(lastli.find(".hy-org").length){
- gl = 1;
- lastli.remove();
- return false;
- }
- if(userlevel!=0){
- if(lastli.data("level")<userlevel){
- gl=1;
- lastli.remove();
- console.log("低等级用户被过滤:"+lastli.data("level"));
- return false;
- }
- }
- //活跃发言人数统计
- /*var userid = lastli.find(".nick.js-nick").attr("rel");
- if($.inArray(userid,actman)==-1){
- actman.push(userid);
- $("#active").text(actman.length);
- }*/
- //过滤正则
- var textbox;
- if (lastli.find('span.text-cont').length) {
- textbox = lastli.find('span.text-cont');
- } else {
- textbox = lastli.find('span.m');
- own = 1;
- }
- var str = textbox.text();
- //加亮关注
- if(lastli.find('img.icon-role').length>0){
- let imgsrc = lastli.find("img.icon-role").attr("src");
- if(imgsrc.indexOf('super_admin')>0){
- var barrager={
- 'info': lastli.find(".name a").text()+str,
- 'top': 600,
- 'speed': 20,
- 'size':18,
- 'superadmin':1,
- 'focus':1
- };
- $('#dmbox').barrager(barrager);
- }
- }
- if(highline!=''){
- var keyword = highline.split('/');
- var username = lastli.find(".nick.js-nick").text();
- username=username.replace(":","");
- $.each(keyword,function(i,value){
- if(username==value){
- q = textbox.find('img').length;
- var barrager={
- 'info': lastli.find(".name a").text()+str,
- 'top': 600,
- 'speed': 20,
- 'size':18,
- 'bgcolor':"rgba(183, 0, 0,0.8)",
- 'focus':1
- };
- if (q >= 1) {barrager.img=textbox.find('img').attr('src');barrager.imgnum=q;}
- $('#dmbox').barrager(barrager);
- lastli.addClass('highlinechat');
- }
- });
- }
- //filter
- $.each(filter, function (i, value) {
- if (eval(value).test(str)) {
- lastli.remove();
- switch (i) {
- case 0:
- n6++;
- n6gal();
- break;
- case 6:
- nq++;
- nqgal();
- break;
- case 7:
- nq++;
- nqgal();
- break;
- }
- gl = 1;
- return false;
- }
- });
- if (gl==1){
- return false;
- }
- if (gl != 1) {
- dmnum++;
- var q;
- //过滤vip图标
- if(fansicon==1){
- lastli.find(".chat-icon-pad[data-msg='fans']").remove();
- }
- lastli.removeClass("noble-chart");
- //------------
- if(dmimage==1){
- textbox.find("img").remove();
- if(str==""){
- lastli.remove();
- }
- }else{
- q = textbox.find('img').length;
- }
- if ($('#cjdm_state').val() == '1' && (str!="" || q>0)) {
- dmavi = (dmavi > 1) ? dmavi : 1;
- var maxline=parseInt($("#js-room-video").height()/35);
- var wdfactor=1920/$("#js-room-video").width()*2.8;
- var dmline = (Math.round(dmavi * wdfactor) > 3) ? Math.round(dmavi * wdfactor) : 4;
- dmline = (dmline < maxline-1) ? dmline : maxline-1;
- dmopline = (dmopline < dmline) ? dmopline : 0;
- var dmopl = dmopline * 35 + 1;
- dmopline++;
- var barrager={
- 'info': str,
- 'top': dmopl,
- 'speed': $('#dmspeed').val(),
- 'size':fontsize,
- 'username':lastli.find(".name a").text()
- };
- if (own == 1) {barrager.own=1;}
- if (dmpos==1) {barrager.dmpos=1;}
- if (q >= 1) {barrager.img=textbox.find('img').attr('src');barrager.imgnum=q;}
- if(dmbgcolor){
- barrager.bgcolor="rgba(60, 60, 60, 0.4)";
- }else{
- barrager.bgcolor="rgba(60, 60, 60, 0)";
- }
- if(dmcolors==1){
- var dmcolor = textbox.css('color');
- if(dmcolor&&dmcolor!="rgb(85, 85, 85)"){
- barrager.color=dmcolor;
- }
- }
- $('#dmbox').barrager(barrager);
- }
- }
- }//----------------------getli
- var dmmain = function (records) {
- var lastli,dmul,lastli_2,lastli_3,lastli_4,lastli_5,lastli_6,lastli_7,lastli_8;
- if(records.map){
- records.map(function(record) {
- dmul = record.target;
- lastli = $(dmul).children("li:last");
- lastli_2=$(dmul).children("li").eq(-2);
- lastli_3=$(dmul).children("li").eq(-3);
- lastli_4=$(dmul).children("li").eq(-4);
- lastli_5=$(dmul).children("li").eq(-5);
- lastli_6=$(dmul).children("li").eq(-6);
- lastli_7=$(dmul).children("li").eq(-7);
- lastli_8=$(dmul).children("li").eq(-8);
- });
- }else{
- lastli = $(this).find('.jschartli:last');
- }
- if(!lastli.hasClass("process")){lastli.addClass("process");glmain(lastli);}
- if(!lastli_2.hasClass("process")){lastli_2.addClass("process");glmain(lastli_2);}
- if(!lastli_3.hasClass("process")){lastli_3.addClass("process");glmain(lastli_3);}
- if(!lastli_4.hasClass("process")){lastli_4.addClass("process");glmain(lastli_4);}
- if(!lastli_5.hasClass("process")){lastli_5.addClass("process");glmain(lastli_5);}
- if(!lastli_6.hasClass("process")){lastli_6.addClass("process");glmain(lastli_6);}
- if(!lastli_7.hasClass("process")){lastli_7.addClass("process");glmain(lastli_7);}
- if(!lastli_8.hasClass("process")){lastli_8.addClass("process");glmain(lastli_8);}
- };
- var obser2 = new MutationObserver(dmmain);
- var obj2 = document.querySelector('.chat-cont-wrap .c-list');
- var options2 = {
- 'childList': true
- };
- obser2.observe(obj2, options2);
- //$('.chat-cont-wrap .c-list').on('DOMNodeInserted',dmmain);
- //画中画
- $('#showsebox').click(function () {
- $('#sebox').fadeIn(300);
- });
- $('#closesebox').click(function () {
- $('#sebox').fadeOut(300);
- });
- $('.list-wrap').on('DOMNodeInserted', function () { //关注画中画
- $(".f-list li").each(function(){
- if($(this).find(".pip").length==0){
- $(this).children("p").append('<span class="pip">画中画</span>');
- }
- });
- });
- $('.list-wrap').on('click', '.pip', function () { //关注画中画写入地址
- var rid = $(this).prev().attr('href');
- rid = rid.replace('/', '');
- $('#sebox').fadeIn();
- getval(rid);
- });
- $('#setroomid').click(function () {
- getval($('#roomid').val());
- });
- //创建可移动缩放窗口
- $(function () {
- $(document).mousemove(function (e) {
- if (!!this.move) {
- var scrollTop = $(document).scrollTop();
- var posix = !document.move_target ? {
- 'x': 0,
- 'y': 0
- }
- : document.move_target.posix,
- callback = document.call_down || function () {
- $(this.move_target).css({
- 'top': e.pageY - posix.y - scrollTop,
- 'left': e.pageX - posix.x
- });
- };
- callback.call(this, e, posix);
- }
- }).mouseup(function (e) {
- if (!!this.move) {
- var callback = document.call_up || function () {
- };
- callback.call(this, e);
- $.extend(this, {
- 'move': false,
- 'move_target': null,
- 'call_down': false,
- 'call_up': false
- });
- }
- });
- var $box = $('#sebox').mousedown(function (e) {
- var offset = $(this).offset();
- this.posix = {
- 'x': e.pageX - offset.left,
- 'y': e.pageY - offset.top
- };
- $.extend(document, {
- 'move': true,
- 'move_target': this
- });
- }).on('mousedown', '#coor', function (e) {
- var posix = {
- 'w': $box.width(),
- 'h': $box.height(),
- 'x': e.pageX,
- 'y': e.pageY
- };
- $.extend(document, {
- 'move': true,
- 'call_down': function (e) {
- $box.css({
- 'width': Math.max(30, e.pageX - posix.x + posix.w),
- 'height': Math.max(30, e.pageY - posix.y + posix.h)
- });
- }
- });
- return false;
- });
- });
- function getval(x) { //取得播放属性
- $("#seflash").html('<embed width="100%" height="100%" allownetworking="all" allowscriptaccess="always" src="https://staticlive.douyucdn.cn/common/share/play.swf?room_id=' + x + '" quality="high" bgcolor="#000" wmode="window" allowfullscreen="true" allowFullScreenInteractive="true" type="application/x-shockwave-flash">')
- $('#setroom').fadeOut();
- $('#changeroom').fadeIn();
- }
- // 过滤礼物及广告
- function hidead() {
- var shielding=setInterval(function(){
- if($(".jschartli").length>0||$(".giftbatter-item.item-1,.giftbatter-item.item-2,.giftbatter-item.item-3,.giftbatter-item.item-4").length>0){
- if(!$("#js-shie-gift").hasClass("shie-switch-open")){
- $("#shie-switch").click();
- clearInterval(shielding);
- }
- }else{
- if($("#js-shie-gift").hasClass("shie-switch-open")){
- $("#shie-switch").click();
- }
- }
- },200);
- setTimeout(function(){
- if(!$("#js-shie-gift").hasClass("shie-switch-open")){
- $("#shie-switch").click();
- }
- clearInterval(shielding);
- },8000);
- setTimeout(function () {
- var chatboxheight = $('#js-chat-cont').height();
- $('#chatboxhg').val(chatboxheight);
- $('#js-chat-cont').css({"top":"0px"});
- $('.giftbatter-noble-enter,.chat-ad,.chat-notice,.fishop-anchor-recommands-box,.pay-task,.room-ad-top,.f-sign-cont,.assort-ad,.no-login,.fishop-anchor-push-box,.pay-task').remove();
- }, 1000);
- }
- //隐藏粉丝区
- $('#fansbox').click(function() {
- var chatboxheight;
- chatboxheight = $('#js-chat-cont').height();
- if ($('#fansbox').val() == 1) {
- $('#fansbox').val(0);
- $('#js-fans-rank').show();
- $('#fansbox').html('隐藏粉丝区→');
- } else {
- $('#fansbox').val(1);
- $('#js-fans-rank').hide();
- $('#fansbox').html('显示粉丝区→');
- }
- });
- //flashvars过滤
- }
- function panda(){
- console.log('panda');
- publiccss();
- pandacss();
- dmplugin();
- var dmnum = 0,
- dmave = new Array(25),
- dmi = 0,
- dmavi = 0,
- dmopline = 0,
- dmcolors,dmimage,dmpos,offdm;
- //弹幕计数
- setInterval(function() {
- if (dmi > 24) {
- dmi = 0;
- }
- dmave[dmi] = dmnum;
- dmavi = (Math.max.apply(null, dmave) - Math.min.apply(null, dmave)) / 5;
- dmi++;
- },200);
- $('.room-rank-container').hide();
- $('.room-chat-container').css('top', '0px');
- if($(".h5player-player-container").length){
- $('.h5player-player-container').prepend('<div id="dmbox" style="width:100%;position:absolute;z-index:999;"></div>');
- }else{
- $("#room-player-swf").after('<div id="dmbox" style="width:100%;position:absolute;z-index:999;"></div>');
- }
- $('.room-speical-gift-container').before('<div style="float:left;position:relative;left:16px;top:14px;"><div id="opendmbt"><span id="dmkg"></span><input type="hidden" id="cjdm_state" value="0"><span id="kgstate">插件弹幕关</span></div><div id="dmset"><div></div>');
- $('#opendmbt').after('<div tabindex="99" id="dmsetbox"><h3 style="text-align:center;font-size:16px;">自定义过滤</h3><input type="text" id="filtertext" placeholder="格式(英文符号):/关键字/,/关键字/" value=""><input type="button" id="setfilterbt" value="保存并关闭"></div>');
- $('#filtertext').after('<div style="margin-left:7px;margin-top:5px;"><span>弹幕位置:</span><select id="dmpos"><option value ="0">上方</option><option value ="1">下方</option></select><span style="margin-left:10px;">关闭弹幕提示:</span><select id="offdm"><option value ="0">开启</option><option value ="1">关闭</option></select></div>');
- $('#filtertext').after('<div style="margin-left:7px;margin-top:5px;"><span>字体大小:</span><input type="number" id="dmsize" value="18" max="28" min="14"></div>');
- $('#filtertext').after('<div style="margin-left:7px;margin-top:5px;"><span>弹幕速度:</span><input type="number" id="dmspeed" value="16" max="30" min="5"><span style="margin-left:10px;">透明度:</span><input type="number" id="dmop" value="10" max="10" min="1"></div>');
- $('#setfilterbt').before('<div style="margin-left:7px;margin-top:20px;"><div class="slideThree"><p>表情过滤</p><input type="checkbox" id="dmimage" value="None"><label for="dmimage"></label></div><div class="slideThree" style="margin-left:5px;"><p>弹幕背景</p><input type="checkbox" id="dmbgcolor" value="None" checked><label for="dmbgcolor"></label></div><div class="slideThree" style="margin-left:5px;"><p>弹幕穿透</p><input type="checkbox" id="dmthrough" value="None"><label for="dmthrough"></label></div><div class="clear"></div></div>');
- $('.room-head-tool-follow').after('<button type="button" id="fansbox" style="line-height: 30px;width: 120px;margin-left:10px;border-radius: 5px;border: none;background-color: #04C073;color: #fff;font-size: 14px;" value="1">显示粉丝区→</button>');
- $(".room-chat-container").prepend('<div id="dmjs"></div>');
- $("#dmjs").prepend('<div class="dmnumbox" id="dmjs_n6" style="display:none;"><div class="icon6"></div><div class="numpic nx"></div><div class="baiwei numpic alln n0" style="display:none;"></div><div class="shiwei numpic alln n0" style="display:none;"></div><div class="gewei numpic alln n0"></div></div>');
- $("#dmjs").prepend('<div class="dmnumbox" id="dmjs_nq" style="display:none;"><div class="iconq"></div><div class="numpic nx"></div><div class="baiwei numpic alln n0" style="display:none;"></div><div class="shiwei numpic alln n0" style="display:none;"></div><div class="gewei numpic alln n0"></div></div>');
- $("#dmsize").val(parseInt(fontsize));
- $('#room-player-video-danmu>div').on('DOMNodeInserted', function () {
- var lastdm = $(this).find('div.cmt:last');
- var h5str = lastdm.text();
- $.each(filter, function (i, value) {
- if (value.test(h5str)) {
- lastdm.remove();
- }
- });
- });
- var dmspeed = GM_getValue('dmspeed', 16);
- var dmimage=GM_getValue("dmimage",0);
- var dmop=GM_getValue('dmop', 10);
- var dmbgcolor=GM_getValue("dmbgcolor",1);
- var dmthrough=GM_getValue("dmthrough",0);
- var offdm=GM_getValue("offdm",0);
- dmpos=GM_getValue("dmpos",0);
-
- if(dmpos==1){
- $("#dmpos").val(1);
- $("#dmbox").css("top","auto");
- $("#dmbox").css("bottom","40px");
- }else{
- $("#dmpos").val(0);
- }
- if(dmbgcolor==0){
- $("#dmbgcolor").attr("checked",false);
- }else{
- $("#dmbgcolor").attr("checked",true);
- }
- if(dmthrough==0){
- $("#dmthrough").attr("checked",false);
- $("#dmbox").css("pointer-events","auto");
- }else{
- $("#dmthrough").attr("checked",true);
- $("#dmbox").css("pointer-events","none");
- }
- setTimeout(function(){
- if(dmimage==0){
- $("#dmimage").attr("checked",false);
- }else{
- $("#dmimage").attr("checked",true);
- }
- $('#dmop').val(dmop);
- $('#dmspeed').val(dmspeed);
- $('#dmbox').css('opacity', $('#dmop').val() / 10);
- },1000);
- if(GM_getValue("danmu_state",0)==1){
- if(offdm==0){opendm();$("#offdm").val(0);}else{opendm(); $('#dmbox').barrager.removeAll();$("#offdm").val(1);}
- }
- $('#opendmbt').click(function () {
- opendm();
- });
- $('#dmset').click(function () {
- $('#dmsetbox').fadeIn();
- $('#filtertext').select();
- });
- $('.room-chat-scroller').on('DOMNodeInserted', 'ul.room-chat-messages', function () {
- var lastli1 = $(this).find('li.room-chat-message').eq(-1);
- var lastli2 = $(this).find('li.room-chat-message').eq(-2);
- var lastli3 = $(this).find('li.room-chat-message').eq(-3);
- var lastli4 = $(this).find('li.room-chat-message').eq(-4);
- var lastli5 = $(this).find('li.room-chat-message').eq(-5);
- var lastli6 = $(this).find('li.room-chat-message').eq(-6);
- if(!lastli1.hasClass("process")){lastli1.addClass("process");glmain(lastli1);}
- if(!lastli2.hasClass("process")){lastli2.addClass("process");glmain(lastli2);}
- if(!lastli3.hasClass("process")){lastli3.addClass("process");glmain(lastli3);}
- if(!lastli4.hasClass("process")){lastli4.addClass("process");glmain(lastli4);}
- if(!lastli5.hasClass("process")){lastli5.addClass("process");glmain(lastli5);}
- if(!lastli6.hasClass("process")){lastli6.addClass("process");glmain(lastli6);}
- });
- function glmain(lastli){
- var gl=0;
- var str = lastli.find('.room-chat-content').text();
- if(str==""){gl=1;lastli.remove();return false;}
- $.each(filter, function (i, value) {
- if (eval(value).test(str)) {
- lastli.remove();
- switch (i) {
- case 0:
- n6++;
- n6gal();
- break;
- case 6:
- nq++;
- nqgal();
- break;
- case 7:
- nq++;
- nqgal();
- break;
- }
- gl=1;
- return false;
- }
- });
- if (gl != 1) {
- dmnum++;
- var q;
- //------------
- if(dmimage==1){
- lastli.find('i.icon-panda-emoji').remove();
- if(str==""){
- lastli.remove();
- }
- }else{
- q = lastli.find('.icon-panda-emoji').length;
- }
- if ($('#cjdm_state').val() == '1' && (str!="" || q>0)) {
- dmavi = (dmavi > 1) ? dmavi : 1;
- var maxline=parseInt(parseInt($(".room-player-box").css("height"))/35);
- var dmline = (Math.round(dmavi * 3.5) > 3) ? Math.round(dmavi * 3.5) : 4;
- dmline = (Math.round(dmavi * 3.5) < maxline-1) ? Math.round(dmavi * 3.5) : maxline-1;
- dmopline = (dmopline < dmline) ? dmopline : 0;
- var dmopl = dmopline * 35 + 1;
- dmopline++;
- var barrager={
- 'info': str,
- 'top': dmopl,
- 'speed': $('#dmspeed').val(),
- 'size':fontsize
- };
- if (lastli.find("span[data-is-self='true']").length) {barrager.own=1;}
- if (q >= 1) {
- var img=lastli.find('.icon-panda-emoji').css('background-image');
- var url=/http.+gif/.exec(img);
- barrager.img=url;
- barrager.imgnum=q;
- }
- if (dmpos==1) {barrager.dmpos=1;}
- if(dmbgcolor){
- barrager.bgcolor="rgba(60, 60, 60, 0.4)";
- }else{
- barrager.bgcolor="rgba(60, 60, 60, 0)";
- }
- $('#dmbox').barrager(barrager);
- }
- }
- }
- $('#fansbox').click(function (e) {
- if ($('#fansbox').val() == 1) {
- $('#fansbox').val(0);
- $('.room-rank-container').show();
- $('.room-chat-container').css('top', '165px');
- $('#fansbox').html('隐藏粉丝区→');
- } else {
- $('#fansbox').val(1);
- $('.room-rank-container').hide();
- $('.room-chat-container').css('top', '0px');
- $('#fansbox').html('显示粉丝区→');
- }
- });
- $('#setfilterbt').click(function () {
- GM_setValue('userfilter', $('#filtertext').val());
- GM_setValue('dmspeed', $('#dmspeed').val());
- GM_setValue('dmop', $('#dmop').val());
- GM_setValue('offdm', $('#offdm').val());
- GM_setValue('fontsize', $('#dmsize').val()+"px");
- fontsize=$('#dmsize').val()+"px";
- GM_setValue('dmpos',$("#dmpos").val());
- if($("#offdm").val()=='1'){
- offdm=1;
- }else{
- offdm=0;
- }
- if($("#dmpos").val()==0){
- $("#dmbox").css("top","0px");
- dmpos=0;
- }else{
- $("#dmbox").css("top","auto");
- $("#dmbox").css("bottom","40px");
- dmpos=1;
- }
- if($("#dmimage").is(":checked")){
- GM_setValue('dmimage', 1);
- dmimage=1;
- }else{
- GM_setValue('dmimage', 0);
- dmimage=0;
- }
- if($("#dmbgcolor").is(":checked")){
- GM_setValue('dmbgcolor', 1);
- dmbgcolor=1;
- }else{
- GM_setValue('dmbgcolor', 0);
- dmbgcolor=0;
- }
- if($("#dmthrough").is(":checked")){
- GM_setValue('dmthrough', 1);
- dmthrough=1;
- $("#dmbox").css("pointer-events","none");
- }else{
- GM_setValue('dmthrough', 0);
- dmthrough=0;
- $("#dmbox").css("pointer-events","auto");
- }
- userfilter = $('#filtertext').val();
- if ($('#filtertext').val() == '') {
- filter = defilter;
- setTimeout(function () {
- $('#dmsetbox').fadeOut();
- }, 500);
- } else {
- if (userfilter.indexOf('/,/') > 0) {
- var usergroup = userfilter.split(',');
- filter = $.merge(defilter, usergroup);
- } else {
- filter = defilter;
- filter.push(userfilter);
- }
- setTimeout(function () {
- $('#dmsetbox').fadeOut();
- }, 500);
- }
- $('#dmbox').css('opacity', $('#dmop').val() / 10);
- });
- }
- function zhanqi(){
- publiccss();
- zhanqicss();
- dmplugin();
-
- $('.fans-list').hide();
- $(".js-right-chat-layer").height($(".js-right-chat-layer").height()+150);
- $(".slimScrollDiv").height($(".js-right-chat-layer").height());
- $(".js-chat-msg-scroll").height($(".js-right-chat-layer").height());
- $('#js-flash-panel').prepend('<div id="dmbox" style="width:100%;position:absolute;z-index:999;"></div>');
- $('.js-active-btn-list').append('<div style="margin-left:9px;margin-top:6px;"><div id="opendmbt"><span id="dmkg"></span><input type="hidden" id="cjdm_state" value="0"><span id="kgstate">插件弹幕关</span></div><div id="dmset"><div></div>');
- $('#opendmbt').after('<div tabindex="99" id="dmsetbox"><h3 style="text-align:center;font-size:16px;">自定义过滤</h3><input type="text" id="filtertext" placeholder="格式(英文符号):/关键字/,/关键字/" value=""><input type="button" style="margin-top:60px;" id="setfilterbt" value="保存并关闭"></div>');
- $('#filtertext').after('<div style="margin-left:7px;margin-top:5px;"><span>字体大小:</span><input type="number" id="dmsize" value="18" max="28" min="14"><span style="margin-left:10px;">关闭弹幕提示:</span><select id="offdm"><option value ="0">开启</option><option value ="1">关闭</option></select></div>');
- $('#filtertext').after('<div style="margin-left:7px;margin-top:5px;"><span>弹幕速度:</span><input type="number" id="dmspeed" value="16" max="30" min="5"><span style="margin-left:10px;">透明度:</span><input type="number" id="dmop" value="10" max="10" min="1"></div>');
- $('#setfilterbt').before('<div style="margin-left:7px;margin-top:20px;"><div class="slideThree"><p>表情过滤</p><input type="checkbox" id="dmimage" value="None"><label for="dmimage"></label></div><div class="slideThree" style="margin-left:5px;"><p>弹幕背景</p><input type="checkbox" id="dmbgcolor" value="None" checked><label for="dmbgcolor"></label></div><div class="slideThree" style="margin-left:5px;"><p>弹幕穿透</p><input type="checkbox" id="dmthrough" value="None"><label for="dmthrough"></label></div><div class="clear"></div></div>');
- $('.js-room-follow-area').after('<button type="button" id="fansbox" style="float:right; margin-top:15px; line-height: 32px;width: 120px;margin-right:10px;border: none;background-color: #12b7f5;color: #fff;font-size: 14px;" value="1">显示粉丝区→</button>');
- $(".liveDialog-box").prepend('<div id="dmjs"></div>');
- $("#dmjs").prepend('<div class="dmnumbox" id="dmjs_n6" style="display:none;"><div class="icon6"></div><div class="numpic nx"></div><div class="baiwei numpic alln n0" style="display:none;"></div><div class="shiwei numpic alln n0" style="display:none;"></div><div class="gewei numpic alln n0"></div></div>');
- $("#dmjs").prepend('<div class="dmnumbox" id="dmjs_nq" style="display:none;"><div class="iconq"></div><div class="numpic nx"></div><div class="baiwei numpic alln n0" style="display:none;"></div><div class="shiwei numpic alln n0" style="display:none;"></div><div class="gewei numpic alln n0"></div></div>');
- var dmspeed = GM_getValue('dmspeed', 16);
- var dmimage=GM_getValue("dmimage",0);
- var dmop=GM_getValue('dmop', 10);
- var dmbgcolor=GM_getValue("dmbgcolor",1);
- var dmthrough=GM_getValue("dmthrough",0);
- var offdm=GM_getValue("offdm",0);
- if(dmthrough==0){
- $("#dmthrough").attr("checked",false);
- $("#dmbox").css("pointer-events","auto");
- }else{
- $("#dmthrough").attr("checked",true);
- $("#dmbox").css("pointer-events","none");
- }
- $("#filtertext").val(userfilter);
- $("#dmsize").val(parseInt(fontsize));
- if(GM_getValue("danmu_state",0)==1){
- if(offdm==0){opendm();$("#offdm").val(0);}else{opendm(); $('#dmbox').barrager.removeAll();$("#offdm").val(1);}
- }
- $('#opendmbt').click(function () {
- opendm();
- });
- if(dmbgcolor==0){
- $("#dmbgcolor").attr("checked",false);
- }else{
- $("#dmbgcolor").attr("checked",true);
- }
- $('#dmset').click(function () {
- $('#dmsetbox').fadeIn();
- $('#filtertext').select();
- });
- setTimeout(function(){
- if(dmimage==0){
- $("#dmimage").attr("checked",false);
- }else{
- $("#dmimage").attr("checked",true);
- }
- $('#dmop').val(dmop);
- $('#dmspeed').val(dmspeed);
- $('#dmbox').css('opacity', $('#dmop').val() / 10);
- },1000);
- var dmnum = 0,
- dmave = new Array(5),
- dmi = 0,
- dmavi = 0,
- dmopline = 0,
- dmcolors,dmimage;
- //点击屏蔽小礼物
- var shielding=setInterval(function(){ad()},800);
- function ad(){
- if($(".refreshingBtn-show-icon").hasClass("refreshingBtn-show-icon"))
- {$(".refreshingBtn-show-icon").click();clearInterval(shielding);}else{clearInterval(shielding);}
- }
- //弹幕计数
- setInterval(function() {
- if (dmi > 24) {
- dmi = 0;
- }
- dmave[dmi] = dmnum;
- dmavi = (Math.max.apply(null, dmave) - Math.min.apply(null, dmave)) / 5;
- dmi++;
- },200);
- $('.js-chat-msg-scroll').on('DOMNodeInserted', 'ul.js-chat-msg-list', function () {
- var lastli1 = $(this).find('li.js-chat-list-li ').eq(-1);
- var lastli2 = $(this).find('li.js-chat-list-li ').eq(-2);
- var lastli3 = $(this).find('li.js-chat-list-li ').eq(-3);
- var lastli4 = $(this).find('li.js-chat-list-li ').eq(-4);
- var lastli5 = $(this).find('li.js-chat-list-li ').eq(-5);
- var lastli6 = $(this).find('li.js-chat-list-li ').eq(-6);
- if(!lastli1.hasClass("process")){lastli1.addClass("process");glmain(lastli1);}
- if(!lastli2.hasClass("process")){lastli2.addClass("process");glmain(lastli2);}
- if(!lastli3.hasClass("process")){lastli3.addClass("process");glmain(lastli3);}
- if(!lastli4.hasClass("process")){lastli4.addClass("process");glmain(lastli4);}
- if(!lastli5.hasClass("process")){lastli5.addClass("process");glmain(lastli5);}
- if(!lastli6.hasClass("process")){lastli6.addClass("process");glmain(lastli6);}
- });
- function glmain(lastli){
- var gl=0;
- var str = lastli.find('.chat-span').text();
- if($(".js-chat-list-li").length>100){
- $(".js-chat-list-li:first").remove();
- }
- if(str==""){gl=1;lastli.remove();return false;}
- $.each(filter, function (i, value) {
- if (eval(value).test(str)) {
- lastli.remove();
- switch (i) {
- case 0:
- n6++;
- n6gal();
- break;
- /*case 1:
- n23++;
- break;
- case 2:
- n1++;
- break;
- case 3:
- n2++;
- break;
- case 4:
- n3++;
- break;*/
- case 6:
- nq++;
- nqgal();
- break;
- case 7:
- nq++;
- nqgal();
- break;
- }
- gl=1;
- return false;
- }
- });
- if (gl != 1) {
- dmnum++;
- var q;
- //------------
- if(dmimage==1){
- lastli.find('img').remove();
- if(str==""){
- lastli.remove();
- }
- }else{
- q = lastli.find('.img').length;
- }
- if ($('#cjdm_state').val() == '1' && (str!="" || q>0)) {
- dmavi = (dmavi > 1) ? dmavi : 1;
- var maxline=parseInt(parseInt($("#js-flash-layer").css("height"))/35);
- var dmline = (Math.round(dmavi * 3.5) > 3) ? Math.round(dmavi * 3.5) : 4;
- dmline = (Math.round(dmavi * 3.5) < maxline-1) ? Math.round(dmavi * 3.5) : maxline-1;
- dmopline = (dmopline < dmline) ? dmopline : 0;
- var dmopl = dmopline * 35 + 1;
- dmopline++;
- var barrager={
- 'info': str,
- 'top': dmopl,
- 'speed': $('#dmspeed').val(),
- 'size':fontsize
- };
- if (lastli.find("span[data-is-self='true']").length) {barrager.own=1;}
- if (q >= 1) {
- var img=lastli.find('img').attr('src');
- var url=/http.+gif/.exec(img);
- barrager.img=url;
- barrager.imgnum=q;
- }
- if(dmbgcolor){
- barrager.bgcolor="rgba(60, 60, 60, 0.4)";
- }else{
- barrager.bgcolor="rgba(60, 60, 60, 0)";
- }
- $('#dmbox').barrager(barrager);
- }
- }
- }
- $('#setfilterbt').click(function () {
- GM_setValue('userfilter', $('#filtertext').val());
- GM_setValue('dmspeed', $('#dmspeed').val());
- GM_setValue('dmop', $('#dmop').val());
- GM_setValue('fontsize', $('#dmsize').val()+"px");
- GM_setValue('offdm',$("#offdm").val());
- fontsize=$('#dmsize').val()+"px";
- if($("#offdm").val()=='1'){
- offdm=1;
- }else{
- offdm=0;
- }
- if($("#dmimage").is(":checked")){
- GM_setValue('dmimage', 1);
- dmimage=1;
- }else{
- GM_setValue('dmimage', 0);
- dmimage=0;
- }
- if($("#dmbgcolor").is(":checked")){
- GM_setValue('dmbgcolor', 1);
- dmbgcolor=1;
- }else{
- GM_setValue('dmbgcolor', 0);
- dmbgcolor=0;
- }
- if($("#dmthrough").is(":checked")){
- GM_setValue('dmthrough', 1);
- dmthrough=1;
- $("#dmbox").css("pointer-events","none");
- }else{
- GM_setValue('dmthrough', 0);
- dmthrough=0;
- $("#dmbox").css("pointer-events","auto");
- }
- userfilter = $('#filtertext').val();
- if ($('#filtertext').val() == '') {
- filter = defilter;
- setTimeout(function () {
- $('#dmsetbox').fadeOut();
- }, 500);
- } else {
- if (userfilter.indexOf('/,/') > 0) {
- var usergroup = userfilter.split(',');
- filter = $.merge(defilter, usergroup);
- } else {
- filter = defilter;
- filter.push(userfilter);
- }
- setTimeout(function () {
- $('#dmsetbox').fadeOut();
- }, 500);
- }
- $('#dmbox').css('opacity', $('#dmop').val() / 10);
- });
- $('#fansbox').click(function (e) {
- if ($('#fansbox').val() == 1) {
- $('#fansbox').val(0);
- $('.fans-list').show();
- $(".js-right-chat-layer").height($(".js-right-chat-layer").height()-156);
- $(".slimScrollDiv").height($(".js-right-chat-layer").height());
- $(".js-chat-msg-scroll").height($(".js-right-chat-layer").height());
- $('#fansbox').html('隐藏粉丝区→');
- } else {
- $('#fansbox').val(1);
- $('.fans-list').hide();
- $(".js-right-chat-layer").height($(".js-right-chat-layer").height()+156);
- $(".slimScrollDiv").height($(".js-right-chat-layer").height());
- $(".js-chat-msg-scroll").height($(".js-right-chat-layer").height());
- $('#fansbox').html('显示粉丝区→');
- }
- });
- }
- function huya() {
- publiccss();
- huyacss();
- dmplugin();
- //删除xxx标语
- $("li[data-id='0']").remove();
- //点击屏蔽按钮
- var shielding=setInterval(function(){ad()},800);
- function ad(){
- if($("#J-room-chat-shield").hasClass("shield-on"))
- {$(".room-footer-r").remove();clearInterval(shielding);}else{$("#J-room-chat-shield").click();$(".room-footer-r").remove();clearInterval(shielding);}
- }
-
- $('.host-control-other.J_roomHdCtrlOther').append('<button style="margin-right:10px;" type="button" id="fansbox" value="1">显示粉丝榜</button>');
- function glmain(lastli){
- if($(lastli).find(".box-noble-enter").length){
- $(lastli).remove();
- return;
- }
- if($(lastli).find(".tit-h-send").length){
- $(lastli).remove();
- return;
- }
- $(lastli).find(".box-noble").removeClass();
- }
- var dmmain = function (records) {
- var lastli_1,dmul,lastli_2,lastli_3,lastli_4,lastli_5,lastli_6;
- if(records.map){
- records.map(function(record) {
- dmul = record.target;
- lastli_1=$(dmul).children("li:last");
- lastli_2=$(dmul).children("li").eq(-2);
- lastli_3=$(dmul).children("li").eq(-3);
- lastli_4=$(dmul).children("li").eq(-4);
- lastli_5=$(dmul).children("li").eq(-5);
- lastli_6=$(dmul).children("li").eq(-6);
- });
- }
- if(!lastli_1.hasClass("process")){lastli_1.addClass("process");glmain(lastli_1);}
- if(!lastli_2.hasClass("process")){lastli_2.addClass("process");glmain(lastli_2);}
- if(!lastli_3.hasClass("process")){lastli_3.addClass("process");glmain(lastli_3);}
- if(!lastli_4.hasClass("process")){lastli_4.addClass("process");glmain(lastli_4);}
- if(!lastli_5.hasClass("process")){lastli_5.addClass("process");glmain(lastli_5);}
- if(!lastli_6.hasClass("process")){lastli_6.addClass("process");glmain(lastli_6);}
- };
- var obser2 = new MutationObserver(dmmain);
- var obj2 = document.querySelector('#chat-room__list');
- var options2 = {
- 'childList': true
- };
- obser2.observe(obj2, options2);
- $("#fansbox").click(function(){
- if($("#fansbox").val()==1){
- $("#fansbox").val(0);
- $("#fansbox").text("隐藏粉丝榜");
- showfans();
- }else{
- $("#fansbox").text("显示粉丝榜");
- $("#fansbox").val(1);
- hidefans();
- }
- });
- var mh=$(".room-sidebar").height()-$(".chat-room__ft").height()-$(".chat-room__hd").height()-20;
- $("#watchChat_pub").css("min-height",mh+"px");
- hidefans();
- function showfans(){
- $("#J-weekRank").show();
- }
- function hidefans(){
- $("#hd-wrap").hide();
- $("#J-weekRank").hide();
- }
- }
- function bilibili()
- {
- $('.attention-btn-ctnr').append('<button style="margin-left:10px;" type="button" id="fansbox" value="1">显示粉丝区→</button>');
- $("#rank-list-vm").hide();
- $(".chat-history-panel").css("height","calc(100% - 0px - 145px)");
- $("#fansbox").click(function(){
- if($("#fansbox").val()==1){
- $("#fansbox").val(0);
- $("#fansbox").text("隐藏粉丝榜→");
- $("#rank-list-vm").show();
- $(".chat-history-panel").css("height","calc(100% - 128px - 145px)");
- }else{
- $("#fansbox").text("显示粉丝榜→");
- $("#fansbox").val(1);
- $("#rank-list-vm").hide();
- $(".chat-history-panel").css("height","calc(100% - 0px - 145px)");
- }
- });
-
-
- var shielding=setInterval(function(){ad()},800);
- //屏蔽哔哩哔哩礼物
- function ad()
- {if($(".radio-icon").hasClass("radio-icon"))
- {
- $(".icon-block-on").click();
- $("#my-dear-haruna-vm").remove();
- $("#penury-gift-msg").remove();
- $("#chat-history-list").css("height","calc(100% - 0px)");
- $(".bilibili-live-player-video-operable-container").remove();
- clearInterval(shielding);}
- else
- {$(".radio-icon").click();
- $(".icon-block-on").click();
- $("#my-dear-haruna-vm").remove();
- //移除聊天框礼物
- $("#penury-gift-msg").remove();
- $("#chat-history-list").css("height","calc(100% - 0px)");
- //移除系统提示
- $(".bilibili-live-player-video-operable-container").remove();}
-
- }
-
-
-
- //屏蔽聊天框系统提示
- var styleNode = document.createElement("style");
- styleNode.type = "text/css";
- var rule = document.createTextNode(".system-msg{display:none;}");
- styleNode.appendChild(rule);
- document.getElementsByTagName("head")[0].appendChild(styleNode);
-
-
-
- }
-
- function longzhu() {
- longzhucss();
- publiccss();
- dmplugin();
- // $('.star-info-title').append('<button style="margin-left:100px;" type="button" id="fansbox" value="1">显示粉丝区</button>');
- //点击屏蔽礼物按钮
- var shielding=setInterval(function(){ad()},800);
- function ad(){
- if($(".chat-filter-checkbox-checked").hasClass("chat-filter-checkbox-checked"))
- {$(".chat-filter-checkbox-checked").click();clearInterval(shielding);}else{$(".chat-filter-checkbox-checked").click();$(".chat-filter-checkbox-checked").click();clearInterval(shielding);}
- }
- function glmain(lastli){
- if($(lastli).hasClass("user_enter_msg")){
- $(lastli).remove();
- return;
- }
- var str=lastli.find(".message-content").text();
- $.each(filter, function (i, value) {
- if (eval(value).test(str)) {
- lastli.remove();
- gl=1;
- return false;
- }
- });
- }
-
- var dmmain = function (records) {
- var lastli_1,dmul,lastli_2,lastli_3,lastli_4,lastli_5,lastli_6;
- if(records.map){
- records.map(function(record) {
- dmul = record.target;
- lastli_1=$(dmul).children("div").eq(-1);
- lastli_2=$(dmul).children("div").eq(-2);
- lastli_3=$(dmul).children("div").eq(-3);
- lastli_4=$(dmul).children("div").eq(-4);
- lastli_5=$(dmul).children("div").eq(-5);
- lastli_6=$(dmul).children("div").eq(-6);
- });
- }
- if(!lastli_1.hasClass("process")){lastli_1.addClass("process");glmain(lastli_1);}
- if(!lastli_2.hasClass("process")){lastli_2.addClass("process");glmain(lastli_2);}
- if(!lastli_3.hasClass("process")){lastli_3.addClass("process");glmain(lastli_3);}
- if(!lastli_4.hasClass("process")){lastli_4.addClass("process");glmain(lastli_4);}
- if(!lastli_5.hasClass("process")){lastli_5.addClass("process");glmain(lastli_5);}
- if(!lastli_6.hasClass("process")){lastli_6.addClass("process");glmain(lastli_6);}
- };
- var obser2 = new MutationObserver(dmmain);
- var obj2 = document.querySelector('#scroll-con div');
- var options2 = {
- 'childList': true
- };
- obser2.observe(obj2, options2);
- }
-
- function opendm() {
- if ($('#cjdm_state').index()>0 && $('#cjdm_state').val() == '0') {
- GM_setValue("danmu_state",1);
- $('#cjdm_state').val('1');
- $('#dmkg').css({
- 'float': 'left',
- 'background-color': '#FD7521'
- });
- $('#kgstate').text('插件弹幕开');
- $('#dmbox').barrager({
- 'info': '弹幕插件已开启,请关闭自带弹幕。',
- 'top': 400,
- 'href': 'https://gf.qytechs.cn/zh-CN/scripts/29026',
- 'speed': 12
- });
- if($("div[id^=__h5player]").length){
- $("div[class^=showdanmu]").click();
- }
- } else if($('#cjdm_state').index()>0 && $('#cjdm_state').val() == '1') {
- GM_setValue("danmu_state",0);
- $.fn.barrager.removeAll();
- $('#cjdm_state').val('0');
- $('#dmkg').css({
- 'float': 'right',
- 'background-color': '#333'
- });
- $('#kgstate').text('插件弹幕关');
- }
- }
- checkdmjs_a();
- checkdmjs_b();
- function checkdmjs_a(lastx,lasty){
- if(n6-lastx==0){
- $("#dmjs_n6").fadeOut();
- }
- if(n6-lastx>1){
- $("#dmjs_n6").show();
- }
- if(nq-lasty==0){
- $("#dmjs_nq").fadeOut();
- }
- if(nq-lasty>1){
- $("#dmjs_nq").show();
- }
- lastx=n6;lasty=nq;
- setTimeout(function(){checkdmjs_a(lastx,lasty);},1000);
- }
- function checkdmjs_b(lastx,lasty){
- if(n6-lastx==0){
- n6=0;
- $("#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").hide();
- $("#dmjs_n6 .gewei,#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
- }
- if(nq-lasty==0){
- nq=0;
- $("#dmjs_nq .shiwei,#dmjs_nq .baiwei").hide();
- $("#dmjs_nq .gewei,#dmjs_nq .shiwei,#dmjs_nq .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
- }
- lastx=n6;lasty=nq;
- setTimeout(function(){checkdmjs_b(lastx,lasty);},3000);
- }
- function n6gal(){
- var gw=n6%10;
- if($("#dmjs_n6").css("display")!="none"){
- $("#dmjs_n6").stop();
- $("#dmjs_n6").fadeIn(0);
- }
- if(gw==0&&n6>=10){
- $("#dmjs_n6 .shiwei").show();
- $("#dmjs_n6 .gewei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_n6 .gewei").removeClass("anim");},101);
- var sw=(n6-n6%10)/10%10;
- if(sw==0&&n6>=100){
- $("#dmjs_n6 .baiwei").show();
- $("#dmjs_n6 .shiwei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_n6 .shiwei").removeClass("anim");},101);
- var bw=(n6-n6%100)/100;
- $("#dmjs_n6 .baiwei").removeClass("n"+(bw-1)).addClass("anim n"+bw);setTimeout(function(){$("#dmjs_n6 .baiwei").removeClass("anim");},101);
- if(n6>999){
- n6=0;
- $("#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").hide();
- $("#dmjs_n6 .gewei,#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
- }
- }else{
- $("#dmjs_n6 .shiwei").removeClass("n"+(sw-1)).addClass("anim n"+sw);setTimeout(function(){$("#dmjs_n6 .shiwei").removeClass("anim");},101);
- }
- }else{
- $("#dmjs_n6 .gewei").removeClass("n"+(gw-1)).addClass("anim n"+gw);setTimeout(function(){$("#dmjs_n6 .gewei").removeClass("anim");},101);
- }
- }
-
- function nqgal(){
- var gw=nq%10;
- if($("#dmjs_nq").css("display")!="none"){
- $("#dmjs_nq").stop();
- $("#dmjs_nq").fadeIn(0);
- }
- if(gw==0&&nq>=10){
- $("#dmjs_nq .shiwei").show();
- $("#dmjs_nq .gewei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_nq .gewei").removeClass("anim");},101);
- var sw=(nq-nq%10)/10%10;
- if(sw==0&&nq>=100){
- $("#dmjs_nq .baiwei").show();
- $("#dmjs_nq .shiwei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_nq .shiwei").removeClass("anim");},101);
- var bw=(nq-nq%100)/100;
- $("#dmjs_nq .baiwei").removeClass("n"+(bw-1)).addClass("anim n"+bw);setTimeout(function(){$("#dmjs_nq .baiwei").removeClass("anim");},101);
- if(nq>999){
- nq=0;
- $("#dmjs_nq .shiwei,#dmjs_nq .baiwei").hide();
- $("#dmjs_nq .gewei,#dmjs_nq .shiwei,#dmjs_nq .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
- }
- }else{
- $("#dmjs_nq .shiwei").removeClass("n"+(sw-1)).addClass("anim n"+sw);setTimeout(function(){$("#dmjs_nq .shiwei").removeClass("anim");},101);
- }
- }else{
- $("#dmjs_nq .gewei").removeClass("n"+(gw-1)).addClass("anim n"+gw);setTimeout(function(){$("#dmjs_nq .gewei").removeClass("anim");},101);
- }
- }
- (function ($) {
- $.fn.barrager = function (a) {
- a = $.extend({
- close: true,
- dmpos:0,
- top: 0,
- max: 10,
- speed: 30,
- color: '#fff',
- bgcolor: '#000',
- href: 'javascript:void(0)',
- size:'18px'
- }, a || {
- });
- var b = new Date().getTime();
- var c = 'barrage_' + b;
- var d = '#' + c;
- var e = $('<div class=\'barrage\' id=\'' + c + '\'></div>').appendTo($(this));
- var f = $(window).height() - 100;
- var g = (f > this.height()) ? this.height() : f;
- var h = $(window).width() + 500;
- var j = (h > this.width()) ? this.width() : h;
- var k = (a.top == 0) ? Math.floor(Math.random() * g) : a.top;
- if(a.dmpos==0){
- e.css('top', k + 'px');
- }else{
- e.css('bottom',k + 'px');
- }
- if (a.own == 1) {
- $(d).addClass("own");
- }
- if (a.focus == 1){
- $(d).css("z-index",99);
- }
- var div_barrager_box = $('<div class=\'barrage_box cl\'></div>').appendTo(e);
- div_barrager_box.css('background-color', a.bgcolor);
- div_barrager_box.append(' <div class=\'z p\'></div>');
- if (a.img) {
- div_barrager_box.append('<div class=\'portrait z\'></div>');
- if (a.imgnum) {
- $(d).css("min-width",80+a.imgnum*26);
- for (var u = 0; u < a.imgnum; u++) {
- var l = $('<img src=\'\' >').appendTo(d + ' .barrage_box .portrait');
- l.attr('src', a.img);
- }
- }
- }
- if(a.superadmin){
- div_barrager_box.prepend('<div class=\'portrait z\'></div>');
- var l = $('<img src=\'https://shark.douyucdn.cn/app/douyu/res/page/room-normal/super_admin.png?v=20170706\'>').appendTo(d + ' .barrage_box .portrait');
- $(d).find(".portrait").css("line-height","34px");
- $(d).find(".portrait img").css("height","18px");
- }
- if (a.close) {
- div_barrager_box.append(' <div class=\'close z\'></div>');
- }
- var m = $('<a title="'+a.username+'" href=\'\' target=\'_blank\'></a>').appendTo(d + ' .barrage_box .p');
- m.attr({
- 'href': a.href,
- 'id': a.id
- }).empty().append(a.info);
- m.css('color', a.color);
- m.css('font-size',a.size);
- var i = 0;
- e.css('margin-right', 0);
- var dmw = ($(d).width() + 2) + 'px';
- $(d).css('width', dmw);
- $(d).css('right', '-' + dmw);
- var dmtrim=$(d).width()/($(this).width()+500);
- var dmtime=parseFloat(a.speed)+parseFloat(a.speed*dmtrim);
- $(d).css("transition","transform "+dmtime+"s linear");
- $(d).css("transform","translateX(-"+parseInt(200+j+$(d).width())+"px)");
- $(d + '.barrage .barrage_box .close').click(function () {
- $(d).remove();
- });
- $(d).on("transitionend",function(){
- $(d).remove();
- });
- $(d).on("mouseover",function(){
- var nowpos = $(this).css("transform");
- nowpos=nowpos.split(",")[4];
- $(d).css("transform","translateX("+nowpos+"px)");
- if(a.focus!=1){
- $(d).css("z-index",30);
- }
- $(d).off("transitionend");
- });
- $(d).on("mouseout",function(){
- var nowpos = $(this).css("transform");
- nowpos=nowpos.split(",")[4];
- var nowtime =(1-(-nowpos)/parseInt(200+j+$(d).width()))*dmtime;
- $(d).css("transform","translateX(-"+parseInt(200+j+$(d).width())+"px)");
- $(d).css("transition","transform "+nowtime+"s linear");
- if(a.focus!=1){
- $(d).css("z-index",25);
- }
- $(d).on("transitionend",function(){
- $(d).remove();
- });
- });
- };
- $.fn.barrager.removeAll = function () {
- $('.barrage').remove();
- };
- }) (jQuery);
- function dmplugin(){
- GM_addStyle(`
- .barrage {
- cursor: pointer;
- white-space: nowrap;
- position: absolute;
- bottom: 70px;
- right: -1920px;
- display: inline-block;
- z-index: 20;
- height: 34px;
- min-width:100px;
- }
- .barrage.own .barrage_box{
- border:2px solid #fff;
- border-radius:20px;
- }
- .barrage_box {
- overflow: hidden;
- background-color: rgba(0,0,0,.5);
- padding-right: 8px;
- height: 34px;
- display: inline-block;
- border-radius: 25px;
- transition: all .3s
- }
- .barrage_box .portrait {
- display: inline-block;
- margin-top: 4px;
- margin-left: 5px;
- height: 26px;
- overflow: hidden
- }
- .barrage_box .portrait img {
- height: 100%;
- width: 100%:
- }
- .barrage_box div.p a {
- text-shadow: #000000 1px 0px 1px, #000000 0px 1px 1px, #000000 0px -1px 1px, #000000 -1px 0px 1px;
- margin-right: 2px;
- color: #fff;
- line-height: 34px;
- margin-left: 18px
- }
- .barrage_box div.p a:hover {
- text-decoration: underline
- }
- .barrage_box .close {
- opacity: 0;
- text-align: center;
- width: 28px;
- height: 25px;
- margin-left: 10px;
- border-radius: 50%;
- margin-top: 5px;
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAANjr9RwUqgAAACBjSFJNAABtmAAAc44AAPJxAACDbAAAg7sAANTIAAAx7AAAGbyeiMU/AAAG7ElEQVR42mJkwA8YoZjBwcGB6fPnz4w/fvxg/PnzJ2N6ejoLFxcX47Rp036B5Dk4OP7z8vL+P3DgwD+o3v9QjBUABBALHguZoJhZXV2dVUNDgxNIcwEtZnn27Nl/ZmZmQRYWFmag5c90dHQY5OXl/z98+PDn1atXv79+/foPUN9fIP4HxRgOAAggRhyWMoOwqKgoq6GhIZe3t7eYrq6uHBDb8/Pz27Gysloga/jz588FYGicPn/+/OapU6deOnXq1GdgqPwCOuA31AF/0S0HCCB0xAQNBU4FBQWB0NBQublz59oADV37Hw28ePHi74MHD/6ii3/8+HEFMGQUgQ6WEhQU5AeZBTWTCdkigABC9ylIAZeMjIxQTEyMysaNG/3+/v37AGTgr1+//s2cOfOXm5vbN6Caz8jY1NT0a29v76/v37//g6q9sHfv3khjY2M5YAgJgsyEmg0PYYAAQreUk4+PT8jd3V1l1apVgUAzfoIM2rlz5x9gHH5BtxAdA9PB1zNnzvyB+R6oLxoopgC1nBPZcoAAgiFQnLIDMb+enp5iV1eXBzDeHoI0z58//xcwIX0mZCkMg9S2trb+hFk+ffr0QCkpKVmQ2VA7QHYxAgQQzLesQMwjIiIilZWVZfPu3bstMJ+SYikyBmUzkBnA9HEMyNcCYgmQHVC7mAACCJagOEBBbGdnp7lgwYJEkIavX7/+BcY1SvAaGRl9tba2xohjMTGxL8nJyT+AWQsuxsbG9vnp06e/QWYdPHiwHmiWKlBcCGQXyNcAAQSzmBuoSQqYim3u37+/EKR48uTJv5ANB+bVr7Dga2xs/AkTV1JS+gq0AJyoQIkPWU9aWtoPkPibN2/2A/l6QCwJ9TULQADB4hcY//xKXl5eHt++fbsAUmxhYY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1bEF8aNHj+7t27fvLTDlXwXGLyhoH0OD+DnU0k/QYAa1QP8BBBAjWsuSFWo5LzRYxKFYAljqiAHzqxCwIBEwMTERBdZeoOYMA7Bl+RFYEbwB5oS3IA9D4/IFEL+E4nfQ6IDFLTgvAwQQI5ZmLRtSsINSuyA0uwlBUyQPMPWD20/AKo8ByP4DTJTfgRgUjB+gFoEc8R6amGDB+wu5mQsQQIxYmrdMUJ+zQTM6NzQEeKGO4UJqOzFADQMZ/A1qCSzBfQXi71ALfyM17sEAIIAY8fQiWKAYFgIwzIbWTv4HjbdfUAf8RPLhH1icojfoAQKIEU8bG9kRyF0aRiz6YP0k5C4LsmUY9TtAADEyEA+IVfufGEUAAQYABejinPr4dLEAAAAASUVORK5CYII=");
- }
- .barrage_box:hover .close {
- visibility: visible;
- opacity: 1
- }
- .barrage_box .close a {
- display: block
- }
- .barrage_box .close .icon-close {
- font-size: 14px;
- color: rgba(255,255,255,.5);
- display: inline-block;
- margin-top: 5px
- }
- .barrage .z {
- float: left!important
- }
- .barrage a {
- text-decoration: none;
- }
- `);
- }
- function publiccss(){
- GM_addStyle(`
- .slideThree {
- width: 80px;
- height: 26px;
- background: #333;
- float:left;
- position: relative;
- -moz-border-radius: 50px;
- -webkit-border-radius: 50px;
- border-radius: 50px;
- -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
- -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
- box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
- }
- .slideThree p{
- margin-top:-20px;
- text-align:center;
- }
- .slideThree:after {
- content: 'OFF';
- color: #000;
- top:1px;
- position: absolute;
- right: 10px;
- z-index: 0;
- font: 12px/26px Arial, sans-serif;
- font-weight: bold;
- text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.15);
- }
- .slideThree:before {
- content: 'ON';
- color: #00bf00;
- position: absolute;
- left: 10px;
- z-index: 0;
- font: 12px/26px Arial, sans-serif;
- font-weight: bold;
- }
- .slideThree label {
- display: block;
- width: 34px;
- height: 20px;
- cursor: pointer;
- position: absolute;
- top: 3px;
- left: 3px;
- z-index: 1;
- background: #fcfff4;
- background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
- background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
- background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
- -moz-border-radius: 50px;
- -webkit-border-radius: 50px;
- border-radius: 50px;
- -moz-transition: all 0.4s ease;
- -o-transition: all 0.4s ease;
- -webkit-transition: all 0.4s ease;
- transition: all 0.4s ease;
- -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
- -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
- box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
- }
- .slideThree input[type=checkbox] {
- visibility: hidden;
- }
- .slideThree input[type=checkbox]:checked + label {
- left: 43px;
- }
- #dmjs{
- position:absolute;
- right:20px;
- bottom:55%;
- z-index:99;
- }
- .dmnumbox{
- height:40px;
- background: rgba(170,170,170,.5);
- padding: 5px 10px;
- border-radius: 25px;
- }
- .dmnumbox>div{
- float:left
- }
- .numpic{
- background-repeat:no-repeat;
- background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAFHCAYAAACs+hynAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2Jl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in-top: 7px;
- }
- .n0 {
- background-position:0 -25px;
- }
- .n1 {
- background-position:0 -57px;
- }
- .n2 {
- background-position:0 -88px;
- }
- .n3 {
- background-position:0 -120px;
- }
- .n4 {
- background-position:0 -152px;
- }
- .n5 {
- background-position:0 -184px;
- }
- .n6 {
- background-position:0 -215px;
- }
- .n7 {
- background-position:0 -246px;
- }
- .n8 {
- background-position:0 -276px;
- }
- .n9 {
- background-position:0 -304px;
- }
- .nx{
- width:20px;
- height:20px;
- margin-top:15px;
- margin-left:5px;
- }
- .icon6{
- background-image:url("https://shark.douyucdn.cn/app/douyu/res/page/room-normal/face/dy101.png?v=20161108");
- background-repeat:no-repeat;
- width:37px;
- height:37px;
- }
- .iconq{
- background-image:url("https://shark.douyucdn.cn/app/douyu/res/page/room-normal/face/dy012.png?v=20161108");
- background-repeat:no-repeat;
- width:37px;
- height:37px;
- }
- .anim{
- animation: number .1s;
- }
- @keyframes number
- {
- from {transform: scale(2);}
- to {transform: scale(1);}
- }
- #dmsize{
- width:35px;
- }
- .highlinechat{
- background: #ffebde;
- border: 1px solid #ffb3b3;
- border-radius: 5px;
- }
- `);
- }
- function huyacss(){
- GM_addStyle(`
- .g-gift.g-show{
- display:none!important;
- }
- #fansbox{
- margin-left: 10px;
- background: #ff8a00;
- border: 1px solid #c5863c;
- color: #fff;
- }
- .msg-nobleEnter{
- display:none!important;
- }
- msg-nobleSpeak{
- display:none!important;
- }
- #J-weekRank{
- position:absolute;
- width:100%;
- }
- .subscribe-notice{
- display:none!important;
- }
- .chat-room__bd3{
- height: 875px!important;
- }
- `);
- }
- function pandacss(){
- GM_addStyle(`
- .room-chat-tag-user-level,.room-chat-tag-plat-mobile,.room-chat-tags,.room-co-activity-container,.time-limit-task-container{
- display:none!important;
- }
- #opendmbt {
- float: left;
- width: 100px;
- height: 33px;
- line-height: 33px;
- border: 1px solid #FD7521;
- margin-left: 5px;
- text-align: center;
- cursor: pointer;
- font-size: 14px;
- background:#fff;
- }
- #dmkg {
- width: 20px;
- height: 33px;
- float: right;
- background-color: #333;
- }
- #dmset {
- margin: 6px 0 0 5px;
- width:25px;
- height:25px;
- cursor: pointer;
- float:left;
- background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAsAC0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD95/HPjXTfht4L1bxDrM8lrpGh2ct/ezJBJM0MESF5H2RqzthVJwqknHANfn54e/4OCvD0/wAXNeXVPBerw+AY7L/iTT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7wudUW40PyIdTjvLJrfyppELbVOSrD5W+6TgYz1Ffj9PoDft3/tj+E/BPgpb6Dw1DDZeFdCluIg09no1lHiS8lX5RvYC4uWQ7SXm2Z3EE/rR/wAE9v2GIv2Dvhr4g8Pr4k/4SqbXNZbVPtn9nfYWij8iGJISvmybtpjdt2RnzMbRjJAOb/4KY/8ABOi1/bk8FabeaLNpejePtBdY7HUrpWWK5tWf97bTsisxQZMicEq4IG0SSE/D/wC03/wRl+KP7M97p3if4YanqfjiHTI4rh59LBsdc0y6RfnlhjRyzoWyU8ljKu/aVbaZG/YKmzR+dCybmTcpG5Thlz3HvQB+Asv7cevar5t14q8H/CfxtqkjF5dW17wnD/aEp6Zllt2gMrcfelDE9ySTVjxBe/Gv9pv4aXps/C+rr8OvD0cusS6f4d8OppHh20CDc8xSGNIppFA3AuZJQAcHGa/RrwJ/wR2+F37OHx98A+KvD+reNpZ9M1USwWN7e201oGSJymf9HEhwQD/rOoFfbVAH5c/8G/vgHxNp/jfxb4nbwXC3hPWNOW0t/FNwPLlWWObLWttn/WxOcmRkAUPboCxICj9Rqr6TpNroGlWtjY2tvZWNlEkFvbwRiOKCNQFVEVcBVUAAADAAxVigD//Z");
- background-size:cover;
- background-repeat:no-repeat;
- }
- #dmsetbox {
- position: absolute;
- width: 265px;
- height: 210px;
- background-color: #ffffff;
- border: 1px solid;
- right: -100px;
- display: none;
- z-index:999;
- top:-190px;
- }
- #filtertext {
- width: 230px;
- margin-left: 7px;
- }
- #setfilterbt {
- width: 100px;
- height: 25px;
- margin: 5px auto;
- display: block;
- background-color: #FD7521;
- border: 1px solid #ccc;
- color: #fff;
- cursor: pointer;
- }
- #dmspeed {
- width: 35px;
- }
- #dmop {
- width: 35px;
- }
- `);
- }
- function douyucss(){
- GM_addStyle(`
- .giftbatter-noble-enter,.chat-ad,.chat-notice,.fishop-anchor-recommands-box,.pay-task,.room-ad-top,.f-sign-cont,.assort-ad,.no-login,.fishop-anchor-push-box,.pay-task,.sq-ad,.myvip--guide--oncar,.js-live-room-recommend,.room-wbshare,.wbshare-wel,.focus-lead,.pc-client-icon{
- display:none!important;
- }
- .f-phone,.cq-level,.cq-other,.user-level,.user-honor,.user-noble,.chat-task-madel,img.chat-icon-pad,.status-low-enter,.madel-list,.ticket-list,.firstpay-award-icon,.task-btn.fl,.QRcode{
- display:none!important;
- }
- .pip{
- position:absolute;
- margin-top:-25px;
- right:0px;
- background:url(https://shark.douyucdn.cn/app/douyu/res/com/head-pericos.png) 0 4px no-repeat;
- display:block;
- width:56px;
- padding-left:20px;
- cursor:pointer;
- }
- #showsebox {
- width: 120px;
- height: 35px;
- border: none;
- background-color: #FD7521;
- color: #fff;
- font-size: 16px;
- cursor: pointer;
- float: left;
- }
- #opendmbt {
- float: left;
- width: 100px;
- height: 33px;
- line-height: 33px;
- border: 1px solid #FD7521;
- margin-left: 5px;
- text-align: center;
- cursor: pointer;
- font-size: 14px;
- background:#fff;
- }
- #dmkg {
- width: 20px;
- height: 33px;
- float: right;
- background-color: #333;
- }
- #dmset {
- margin: 6px 0 0 5px;
- width:25px;
- height:25px;
- cursor: pointer;
- float:left;
- background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAsAC0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV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NwPLlWWObLWttn/WxOcmRkAUPboCxICj9Rqr6TpNroGlWtjY2tvZWNlEkFvbwRiOKCNQFVEVcBVUAAADAAxVigD//Z");
- background-size:cover;
- background-repeat:no-repeat;
- }
- #dmsetbox {
- position: absolute;
- width: 265px;
- height: 360px;
- background-color: #ffffff;
- border: 1px solid;
- right: -100px;
- top: -370px;
- display: none;
- }
- #filtertext {
- width: 230px;
- margin-left: 7px;
- }
- #setfilterbt {
- width: 100px;
- height: 25px;
- margin: 5px auto;
- display: block;
- background-color: #FD7521;
- border: 1px solid #ccc;
- color: #fff;
- cursor: pointer;
- }
- #dmspeed {
- width: 35px;
- }
- #dmop {
- width: 35px;
- }
- #userlevel{
- width: 35px;
- }
- #sebox {
- display: none;
- z-index: 9999;
- position: fixed;
- width: 513px;
- height: 330px;
- cursor: move;
- bottom: 30px;
- right: 30px;
- background-color: #FFF;
- border: 1px solid #ff630e;
- -webkit-box-shadow: 10px 10px 25px #ccc;
- -moz-box-shadow: 10px 10px 25px #ccc;
- box-shadow: 10px 10px 25px #000;
- }
- #seflash {
- width: 100%;
- height: 100%;
- }
- #coor {
- width: 10px;
- height: 10px;
- overflow: hidden;
- cursor: se-resize;
- position: absolute;
- right: 0;
- bottom: 0;
- background-color: #FF630E;
- }
- #seboxtitle {
- width: 100%;
- height: 35px;
- background-color: #FF630E;
- position: absolute;
- top: -35px;
- border: 1px solid #FF630E;
- margin-left: -1px;
- }
- #changeroom {
- color: #fff;
- font-size: 14px;
- line-height: 35px;
- float: right;
- margin-right: 100px;
- text-decoration: underline;
- cursor: pointer;
- display: none;
- }
- #closesebox {
- cursor: pointer;
- position: absolute;
- right: 10px;
- line-height: 33px;
- font-size: 16px;
- color: #fff;
- }
- #setroom {
- top: 10%;
- left: 25%;
- position: absolute;
- }
- #roomid {
- line-height: 20px;
- padding: 5px 10px;
- }
- #setroomid {
- cursor: pointer;
- margin-left: 5px;
- height: 34px;
- width: 60px;
- background-color: #FE630E;
- border: none;
- border-radius: 5px;
- color: #fff;
- font-size: 18px;
- }
- #cancelchange {
- cursor: pointer;
- margin-left: 5px;
- height: 34px;
- width: 60px;
- background-color: #FFF;
- border: none;
- border-radius: 5px;
- color: #000;
- font-size: 18px;
- }
- #fansbox {
- line-height: 22px;
- width: 90px;
- margin-left: 10px;
- background-color: #FD7521;
- border: 1px solid #ddd;
- color: #ffffff;
- }
- #dm {
- z-index: 9999;
- position: absolute;
- left: 162px;
- top: 5px;
- border: 1px solid;
- padding: 2px 6px;
- cursor: pointer;
- }
- #js-room-video{
- overflow:hidden;
- }
- `);
- }
- function longzhucss(){
- GM_addStyle(`
- .top-banner-pic,#right-nav,.gift-guide,.chatroom-ap,.task_finished_dialog,.challenge-task,.fresh-guide,.tp-link{
- display:none!important;
- }
- `);
- }
- function zhanqicss(){
- GM_addStyle(`
- .liveos-resize-detector,.room-chat-tag-user-level,.room-chat-tag-plat-mobile,.room-chat-tags,#js-activity-show,.user-goRoom,#js-room-app-panel,.js-guide-panel,#js-baibian-top-area,#js-for-app-guide{
- display:none!important;
- }
- #js-flash-layer{
- position:relative;
- }
- #js-flash-panel{
- overflow:hidden;
- }
- .js-right-chat-layer{
- height:71%!important;
- padding:160px 0 6px!important;
- }
- .js-chat-msg-scroll{
- margin-top: 0px!important;
- }
- #opendmbt {
- float: left;
- width: 100px;
- height: 33px;
- line-height: 33px;
- border: 1px solid #FD7521;
- margin-left: 5px;
- text-align: center;
- cursor: pointer;
- font-size: 14px;
- background:#fff;
- }
- #dmkg {
- width: 20px;
- height: 33px;
- float: right;
- background-color: #333;
- }
- #dmset {
- margin: 6px 0 0 5px;
- width:25px;
- height:25px;
- cursor: pointer;
- float:left;
- background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MD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qfjiHTI4rh59LBsdc0y6RfnlhjRyzoWyU8ljKu/aVbaZG/YKmzR+dCybmTcpG5Thlz3HvQB+Asv7cevar5t14q8H/CfxtqkjF5dW17wnD/aEp6Zllt2gMrcfelDE9ySTVjxBe/Gv9pv4aXps/C+rr8OvD0cusS6f4d8OppHh20CDc8xSGNIppFA3AuZJQAcHGa/RrwJ/wR2+F37OHx98A+KvD+reNpZ9M1USwWN7e201oGSJymf9HEhwQD/rOoFfbVAH5c/8G/vgHxNp/jfxb4nbwXC3hPWNOW0t/FNwPLlWWObLWttn/WxOcmRkAUPboCxICj9Rqr6TpNroGlWtjY2tvZWNlEkFvbwRiOKCNQFVEVcBVUAAADAAxVigD//Z");
- background-size:cover;
- background-repeat:no-repeat;
- }
- #dmsetbox {
- position: absolute;
- width: 265px;
- height: 180px;
- background-color: #ffffff;
- border: 1px solid;
- right: -100px;
- display: none;
- z-index:999;
- top:-190px;
- }
- #filtertext {
- width: 230px;
- margin-left: 7px;
- }
- #setfilterbt {
- width: 100px;
- height: 25px;
- margin: 5px auto;
- display: block;
- background-color: #FD7521;
- border: 1px solid #ccc;
- color: #fff;
- cursor: pointer;
- }
- #dmspeed {
- width: 35px;
- }
- #dmop {
- width: 35px;
- }
- `);
- }
- }) ();