直播工具箱

屏蔽了用户进入提示,各种vip图标,过滤刷屏弹幕,屏蔽礼物,斗鱼画中画等。

  1. // ==UserScript==
  2. // @name 直播工具箱
  3. // @namespace https://gf.qytechs.cn/zh-CN/users/117402
  4. // @version 2.3.2.3
  5. // @description 屏蔽了用户进入提示,各种vip图标,过滤刷屏弹幕,屏蔽礼物,斗鱼画中画等。
  6. // @author ski.原作者khanid
  7. // @match *://*.douyu.com/*
  8. // @match *://*.panda.tv/*
  9. // @match *://*.zhanqi.tv/*
  10. // @match *://*.huya.com/*
  11. // @match *://*.longzhu.com/*
  12. // @match *://live.bilibili.com/*
  13. // @icon https://live.bilibili.com/favicon.ico
  14. // @require https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js
  15. // @grant GM_setValue
  16. // @grant GM_getValue
  17. // @grant GM_addStyle
  18. // @grant unsafeWindow
  19. // ==/UserScript==
  20. (function () {
  21. 'use strict';
  22.  
  23. var filter = [
  24. /^[^\u4e00-\u9fa5].*?6{3}.*?[^\u4e00-\u9fa5]$/,
  25. /^233/,
  26. /^111/,
  27. /^222/,
  28. /^333/,
  29. /^\d{2,}$/,
  30. /^\?+$/,
  31. /^\?+$/,
  32. /([a-zA-Z])\1{4,}/,
  33. /^[^\u4e00-\u9fa5](\S)(\1){5,}[^\u4e00-\u9fa5]$/,
  34. /^[^\u4e00-\u9fa5]$/
  35. ];
  36. var defilter = filter;
  37. var userfilter = GM_getValue('userfilter', "");
  38. var fontsize = GM_getValue('fontsize','18px');
  39. var n1=0,n2=0,n3=0,n6=0,n23=0,nq=0,activenum;
  40. var actman=new Array();
  41. setTimeout(function () {
  42. $('#filtertext').val(userfilter);
  43. }, 2000);
  44. //读取用户配置
  45. /* if (userfilter != 0 && userfilter != '') {
  46. if (userfilter.indexOf('/,/') > 0) {
  47. var usergroup = userfilter.split(',');
  48. filter = $.merge(filter, usergroup);
  49. } else {
  50. filter.push(userfilter);
  51. }
  52. }*/
  53. $(document).ready(function () {
  54. if (location.href.indexOf('douyu.com') > 0) {
  55. setTimeout(function () {
  56. douyu();
  57. }, 200);
  58. }
  59. if (location.href.indexOf('panda.tv') > 0) {
  60. setTimeout(function () {
  61. panda();
  62. }, 1000);
  63. }
  64. if (location.href.indexOf('zhanqi.tv') > 0) {
  65. setTimeout(function () {
  66. zhanqi();
  67. }, 1000);
  68. }
  69. if (location.href.indexOf('huya.com') > 0) {
  70. setTimeout(function () {
  71. huya();
  72. }, 1000);
  73. }
  74. if (location.href.indexOf('longzhu.com') > 0) {
  75. setTimeout(function () {
  76. longzhu();
  77. }, 1000);
  78. }
  79. if (location.href.indexOf('bilibili.com') > 0) {
  80. setTimeout(function () {
  81. bilibili();
  82. }, 1000);
  83. }
  84. });
  85. function douyu() {
  86. hidead();
  87. douyucss();
  88. publiccss();
  89. dmplugin();
  90. /* $("body").append('<script>setInterval(function(){jQuery(document).trigger("mousemove")}, 60000);</script>');
  91. setTimeout(function(){
  92. var roomid=/\d+/.exec($(".anchor-cover-wrap").attr("href"));
  93. $("#showroomid").text("房间号:"+ roomid);
  94. },4000);*/
  95. var dmnum = 0,
  96. dmave = new Array(25),
  97. dmi = 0,
  98. dmavi = 0,
  99. dmopline = 0,
  100. dmcolors,dmimage,fansicon,dmpos,offdm;
  101. //弹幕计数
  102. setInterval(function() {
  103. if (dmi > 24) {
  104. dmi = 0;
  105. }
  106. dmave[dmi] = dmnum;
  107. dmavi = (Math.max.apply(null, dmave) - Math.min.apply(null, dmave)) / 5;
  108. dmi++;
  109. },200);
  110. $('.focus-box-con').css('width', '250px');
  111. $('#js-fans-rank').hide();
  112. $('#js-chat-cont').prepend('<input type="hidden" id="chatboxhg" value="0" />');
  113. $('#js-room-video').prepend('<div id="dmbox" style="width:100%;position:absolute;top:0px;z-index:99;"></div>');
  114. $(".r-else").append('<li><span id="showroomid">房间号:</span></li>');
  115. $('body').prepend('<div id="sebox"><div id="seflash"></div><div id="coor"></div></div>');
  116. $('#sebox').prepend('<div id="seboxtitle"><span id="changeroom">切换房间</span><span id="closesebox">关闭</span></div>');
  117. $('#sebox').prepend('<div id="setroom"><input type="text" id="roomid" placeholder="请输入房间号"/><input id="setroomid" type="button" value="确定"><input id="cancelchange" type="button" value="取消"></div>');
  118. //$(".r-else").append('<li title="统计不重复的发言用户数量"><span id="showroomid">活跃人数:</span><span id="active">0</span><button id="clearactive" style="margin-left:10px;">清空</button></li>');
  119. $('#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>');
  120. $('#opendmbt').after('<div tabindex="99" id="dmsetbox"></div>');
  121. $('#dmsetbox').append('<div style="margin-left:7px;margin-top:5px;"><span>关注用户:</span><input type="text" id="highline" placeholder="格式:用户名/用户名/……" width="180"></div>');
  122. $('#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>');
  123. $('#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>');
  124. $('#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>');
  125. $('#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>');
  126. $('#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>');
  127. $('#dmsetbox').append('<div style="margin-left: 7px;margin-top: 20px;width: 90%;height: auto;border: 1px solid #999;padding: 5px;" id="h5box"></div>');
  128. $('#h5box').append('<div><input type="checkbox" id="jcts"><label for="jcts">屏蔽竞猜提示框</label></div>');
  129. $('#h5box').append('<div><input type="checkbox" id="autoh5"><label for="autoh5">自动开启Html5播放器</label></div>');
  130. $('#h5box').append('<div><input type="checkbox" id="pbcj" disabled><label for="pbcj">屏蔽抽奖框</label></div>');
  131. $('#h5box').append('<div><input type="checkbox" id="qmhd" disabled><label for="qmhd">屏蔽亲密互动</label></div>');
  132. $('#h5box').append('<div><input type="checkbox" id="hfgb" disabled><label for="hfgb">屏蔽横幅广播</label></div>');
  133. $('#dmsetbox').append('<input type="button" id="setfilterbt" value="保存并关闭">');
  134. $('.focus-box-con').append('<button type="button" id="fansbox" value="1">显示粉丝区→</button>');
  135. $("#js-chat-cont").prepend('<div id="dmjs"></div>');
  136. $("#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>');
  137. $("#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>');
  138. var playerpos = $("#js-room-video").offset().top-85;
  139. setTimeout(function(){$("body").animate({scrollTop:playerpos},400);},1000);
  140. //读取设置
  141. var dmspeed = GM_getValue('dmspeed', 16);
  142. var highline=GM_getValue('highline','');
  143. $("#highline").val(highline);
  144. dmimage=GM_getValue("dmimage",0);
  145. dmcolors=GM_getValue("dmcolor",1);
  146. dmpos=GM_getValue("dmpos",0);
  147. offdm=GM_getValue("offdm",0);
  148. var userlevel=GM_getValue("userlevel",0);
  149. var rocketfilter=GM_getValue("rocketfilter",0);
  150. fansicon=GM_getValue("fansicon",1);
  151. var dmbgcolor=GM_getValue("dmbgcolor",1);
  152. var dmthrough=GM_getValue("dmthrough",0);
  153. $("#userlevel").val(userlevel);
  154. $("#dmsize").val(parseInt(fontsize));
  155. var autoh5 = GM_getValue("autoh5",0);
  156. var pbcj = GM_getValue("pbcj",0);
  157. var qmhd = GM_getValue("qmhd",0);
  158. var hfgb = GM_getValue("hfgb",0);
  159. var jcts = GM_getValue("jcts",0);
  160. if(jcts==0){
  161. $("#jcts").attr("checked",false);
  162. }else{
  163. $("#jcts").attr("checked",true);
  164. GM_addStyle(".guess-user-reminding-out{display:none!important}");
  165. }
  166. if(autoh5==0){
  167. $("#autoh5").attr("checked",false);
  168. }else{
  169. $("#autoh5").attr("checked",true);
  170. $("#pbcj").removeAttr("disabled");
  171. $("#qmhd").removeAttr("disabled");
  172. $("#hfgb").removeAttr("disabled");
  173. }
  174. if(pbcj==0){
  175. $("#pbcj").attr("checked",false);
  176. }else{
  177. $("#pbcj").attr("checked",true);
  178. }
  179. if(qmhd==0){
  180. $("#qmhd").attr("checked",false);
  181. }else{
  182. $("#qmhd").attr("checked",true);
  183. var chktime=0;
  184. const chkqmhd = setInterval(function(){
  185. if($("div[class^=black]").length){
  186. $("div[class^=black]").next().remove();
  187. clearInterval(chkqmhd);
  188. }
  189. chktime++;
  190. if(chktime>300){
  191. clearInterval(chkqmhd);
  192. }
  193. },200);
  194. }
  195. if(hfgb==0){
  196. $("#hfgb").attr("checked",false);
  197. }else{
  198. $("#hfgb").attr("checked",true);
  199. const delcan = setInterval(function(){
  200. if($("canvas[class^=bigEffect]").length){
  201. $("canvas[class^=bigEffect]").remove();
  202. $("canvas[class^=canvas]").remove();
  203. $("div[class^=customBc]").remove();
  204. clearInterval(delcan);
  205. }
  206. },200);
  207. }
  208. if(dmpos==1){
  209. $("#dmpos").val(1);
  210. $("#dmbox").css("top","auto");
  211. $("#dmbox").css("bottom","40px");
  212. }else{
  213. $("#dmpos").val(0);
  214. }
  215. if(dmcolors==0){
  216. $("#dmcolorswitch").attr("checked",false);
  217. }else{
  218. $("#dmcolorswitch").attr("checked",true);
  219. }
  220. if(dmimage==0){
  221. $("#dmimage").attr("checked",false);
  222. }else{
  223. $("#dmimage").attr("checked",true);
  224. }
  225. if(fansicon==0){
  226. $("#fans-icon").attr("checked",false);
  227. }else{
  228. $("#fans-icon").attr("checked",true);
  229. }
  230. if(dmbgcolor==0){
  231. $("#dmbgcolor").attr("checked",false);
  232. }else{
  233. $("#dmbgcolor").attr("checked",true);
  234. }
  235. if(dmthrough==0){
  236. $("#dmthrough").attr("checked",false);
  237. $("#dmbox").css("pointer-events","auto");
  238. }else{
  239. $("#dmthrough").attr("checked",true);
  240. $("#dmbox").css("pointer-events","none");
  241. }
  242. if(rocketfilter==0){
  243. $("#rocketfilter").attr("checked",false);
  244. }else{
  245. $("#rocketfilter").attr("checked",true);
  246. GM_addStyle(".giftbatter-box{display:none!important;}");
  247. }
  248. $('#dmop').val(GM_getValue('dmop', 10));
  249. $('#dmspeed').val(dmspeed);
  250. $('#dmbox').css('opacity', $('#dmop').val() / 10);
  251. if(GM_getValue("danmu_state",0)==1){
  252. if(offdm==0){opendm();$("#offdm").val(0);}else{opendm(); $('#dmbox').barrager.removeAll();$("#offdm").val(1);}
  253. if(autoh5){
  254. var chkdbn=0;
  255. const chkdmbt = setInterval(function(){
  256. if($("div[class^=showdanmu]").length){
  257. $("div[class^=showdanmu]").click();
  258. clearInterval(chkdmbt);
  259. }
  260. chkdbn++;
  261. if(chkdbn>150){
  262. clearInterval(chkdmbt);
  263. }
  264. },200);
  265. }
  266. }
  267. /*清空活跃人数
  268. $("#clearactive").click(function(){
  269. actman.splice(0,actman.length);
  270. $("#active").text(0);
  271. });
  272. */
  273. //屏蔽抽奖
  274. function _pbcj(){
  275. if($('div[class^=luckDraw]').length){
  276. $('div[class^=luckDraw]').hide();
  277. }
  278. }
  279. if(pbcj==1){
  280. const chkluckdraw = setInterval(function(){
  281. if($("div[id^=__h5player]").length){
  282. const h5player=$("div[id^=__h5player]");
  283. h5player.on('DOMNodeInserted',_pbcj);
  284. clearInterval(chkluckdraw);
  285. }
  286. },200);
  287. }
  288. //
  289. $("#autoh5").click(function(){
  290. if($("#autoh5").is(":checked")){
  291. $("#pbcj").removeAttr("disabled");
  292. $("#qmhd").removeAttr("disabled");
  293. $("#hfgb").removeAttr("disabled");
  294. }else{
  295. $("#pbcj").attr("disabled","disabled");
  296. $("#qmhd").attr("disabled","disabled");
  297. $("#pbcj").removeAttr("checked");
  298. $("#qmhd").removeAttr("checked");
  299. $("#hfgb").removeAttr("checked");
  300. }
  301. });
  302. //切换h5播放器
  303. if(autoh5){
  304. var switchH5 = setInterval(function(){
  305. if(unsafeWindow.__player.isH5Support && !unsafeWindow.__player.isSwitched){
  306. unsafeWindow.__player.switchPlayer('h5');
  307. clearInterval(switchH5);
  308. }
  309. },300);
  310. }
  311. //写入设置
  312. $('#setfilterbt').click(function () {
  313. GM_setValue('dmspeed', $('#dmspeed').val());
  314. GM_setValue('dmop', $('#dmop').val());
  315. GM_setValue('userlevel', $('#userlevel').val());
  316. GM_setValue('fontsize', $('#dmsize').val()+"px");
  317. GM_setValue('dmpos',$("#dmpos").val());
  318. GM_setValue('offdm',$("#offdm").val());
  319. GM_setValue('highline',$("#highline").val());
  320. highline=$("#highline").val();
  321. fontsize=$('#dmsize').val()+"px";
  322. userlevel=$('#userlevel').val();
  323. if($("#offdm").val()=='1'){
  324. offdm=1;
  325. }else{
  326. offdm=0;
  327. }
  328.  
  329. if($("#dmpos").val()=='0'){
  330. $("#dmbox").css("top","0px");
  331. dmpos=0;
  332. }else{
  333. $("#dmbox").css("top","auto");
  334. $("#dmbox").css("bottom","40px");
  335. dmpos=1;
  336. }
  337. if($("#jcts").is(":checked")){
  338. GM_setValue('jcts', 1);
  339. jcts=1;
  340. GM_addStyle(".guess-user-reminding-out{display:none!important}");
  341. }else{
  342. GM_setValue('jcts', 0);
  343. jcts=0;
  344. }
  345. if($("#autoh5").is(":checked")){
  346. GM_setValue('autoh5', 1);
  347. autoh5=1;
  348. }else{
  349. GM_setValue('autoh5', 0);
  350. autoh5=0;
  351. }
  352. if($("#pbcj").is(":checked")){
  353. GM_setValue('pbcj', 1);
  354. pbcj=1;
  355. if($('div[class^=luckDraw]').length){
  356. $('div[class^=luckDraw]').hide();
  357. }
  358. $("div[id^=__h5player]").on('DOMNodeInserted',_pbcj);
  359. }else{
  360. GM_setValue('pbcj', 0);
  361. pbcj=0;
  362. }
  363. if($("#qmhd").is(":checked")){
  364. GM_setValue('qmhd', 1);
  365. qmhd=1;
  366. $("div[class^=black]").next().remove();
  367. }else{
  368. GM_setValue('qmhd', 0);
  369. qmhd=0;
  370. }
  371. if($("#hfgb").is(":checked")){
  372. GM_setValue('hfgb', 1);
  373. hfgb=1;
  374. $("canvas[class^=bigEffect]").remove();
  375. $("canvas[class^=canvas]").remove();
  376. $("div[class^=customBc]").remove();
  377. }else{
  378. GM_setValue('hfgb', 0);
  379. hfgb=0;
  380. }
  381. if($("#dmcolorswitch").is(":checked")){
  382. GM_setValue('dmcolor', 1);
  383. dmcolors=1;
  384. }else{
  385. GM_setValue('dmcolor', 0);
  386. dmcolors=0;
  387. }
  388. if($("#dmimage").is(":checked")){
  389. GM_setValue('dmimage', 1);
  390. dmimage=1;
  391. }else{
  392. GM_setValue('dmimage', 0);
  393. dmimage=0;
  394. }
  395. if($("#fans-icon").is(":checked")){
  396. GM_setValue('fansicon', 1);
  397. fansicon=1;
  398. }else{
  399. GM_setValue('fansicon', 0);
  400. fansicon=0;
  401. }
  402. if($("#dmbgcolor").is(":checked")){
  403. GM_setValue('dmbgcolor', 1);
  404. dmbgcolor=1;
  405. }else{
  406. GM_setValue('dmbgcolor', 0);
  407. dmbgcolor=0;
  408. }
  409. if($("#dmthrough").is(":checked")){
  410. GM_setValue('dmthrough', 1);
  411. dmthrough=1;
  412. $("#dmbox").css("pointer-events","none");
  413. }else{
  414. GM_setValue('dmthrough', 0);
  415. dmthrough=0;
  416. $("#dmbox").css("pointer-events","auto");
  417. }
  418. if($("#rocketfilter").is(":checked")){
  419. GM_setValue('rocketfilter', 1);
  420. GM_addStyle(".giftbatter-box{display:none!important;}");
  421. }else{
  422. GM_setValue('rocketfilter', 0);
  423. }
  424. setTimeout(function () {
  425. $('#dmsetbox').fadeOut();
  426. }, 500);
  427. $('#dmbox').css('opacity', $('#dmop').val() / 10);
  428. });
  429. $('#changeroom').click(function () {
  430. $('#setroom').fadeIn();
  431. $('#changeroom').fadeOut();
  432. });
  433. $('#cancelchange').click(function () {
  434. $('#setroom').fadeOut();
  435. $('#changeroom').fadeIn();
  436. });
  437. $('#opendmbt').click(function () {
  438. opendm();
  439. });
  440. $('#dmset').click(function () {
  441. $('#dmsetbox').fadeIn();
  442. $('#filtertext').select();
  443. });
  444. $('#sebox').mouseover(function () {
  445. $('#seboxtitle').stop();
  446. $('#seboxtitle').fadeIn();
  447. });
  448. $('#sebox').mouseout(function () {
  449. $('#seboxtitle').stop();
  450. $('#seboxtitle').fadeOut();
  451. });
  452. //弹幕过滤
  453. function glmain(lastli){
  454. //过滤进入房间提示
  455. var gl = 0,own = 0;
  456. if (lastli.find('a.hy-name').length) {
  457. gl = 1;
  458. lastli.remove();
  459. return false;
  460. }
  461. if(lastli.find(".hy-org").length){
  462. gl = 1;
  463. lastli.remove();
  464. return false;
  465. }
  466. if(userlevel!=0){
  467. if(lastli.data("level")<userlevel){
  468. gl=1;
  469. lastli.remove();
  470. console.log("低等级用户被过滤:"+lastli.data("level"));
  471. return false;
  472. }
  473. }
  474. //活跃发言人数统计
  475. /*var userid = lastli.find(".nick.js-nick").attr("rel");
  476. if($.inArray(userid,actman)==-1){
  477. actman.push(userid);
  478. $("#active").text(actman.length);
  479. }*/
  480. //过滤正则
  481. var textbox;
  482. if (lastli.find('span.text-cont').length) {
  483. textbox = lastli.find('span.text-cont');
  484. } else {
  485. textbox = lastli.find('span.m');
  486. own = 1;
  487. }
  488. var str = textbox.text();
  489. //加亮关注
  490. if(lastli.find('img.icon-role').length>0){
  491. let imgsrc = lastli.find("img.icon-role").attr("src");
  492. if(imgsrc.indexOf('super_admin')>0){
  493. var barrager={
  494. 'info': lastli.find(".name a").text()+str,
  495. 'top': 600,
  496. 'speed': 20,
  497. 'size':18,
  498. 'superadmin':1,
  499. 'focus':1
  500. };
  501. $('#dmbox').barrager(barrager);
  502. }
  503. }
  504. if(highline!=''){
  505. var keyword = highline.split('/');
  506. var username = lastli.find(".nick.js-nick").text();
  507. username=username.replace(":","");
  508. $.each(keyword,function(i,value){
  509. if(username==value){
  510. q = textbox.find('img').length;
  511. var barrager={
  512. 'info': lastli.find(".name a").text()+str,
  513. 'top': 600,
  514. 'speed': 20,
  515. 'size':18,
  516. 'bgcolor':"rgba(183, 0, 0,0.8)",
  517. 'focus':1
  518. };
  519. if (q >= 1) {barrager.img=textbox.find('img').attr('src');barrager.imgnum=q;}
  520. $('#dmbox').barrager(barrager);
  521. lastli.addClass('highlinechat');
  522. }
  523. });
  524. }
  525. //filter
  526. $.each(filter, function (i, value) {
  527. if (eval(value).test(str)) {
  528. lastli.remove();
  529. switch (i) {
  530. case 0:
  531. n6++;
  532. n6gal();
  533. break;
  534. case 6:
  535. nq++;
  536. nqgal();
  537. break;
  538. case 7:
  539. nq++;
  540. nqgal();
  541. break;
  542. }
  543. gl = 1;
  544. return false;
  545. }
  546. });
  547. if (gl==1){
  548. return false;
  549. }
  550. if (gl != 1) {
  551. dmnum++;
  552. var q;
  553. //过滤vip图标
  554. if(fansicon==1){
  555. lastli.find(".chat-icon-pad[data-msg='fans']").remove();
  556. }
  557. lastli.removeClass("noble-chart");
  558. //------------
  559. if(dmimage==1){
  560. textbox.find("img").remove();
  561. if(str==""){
  562. lastli.remove();
  563. }
  564. }else{
  565. q = textbox.find('img').length;
  566. }
  567. if ($('#cjdm_state').val() == '1' && (str!="" || q>0)) {
  568. dmavi = (dmavi > 1) ? dmavi : 1;
  569. var maxline=parseInt($("#js-room-video").height()/35);
  570. var wdfactor=1920/$("#js-room-video").width()*2.8;
  571. var dmline = (Math.round(dmavi * wdfactor) > 3) ? Math.round(dmavi * wdfactor) : 4;
  572. dmline = (dmline < maxline-1) ? dmline : maxline-1;
  573. dmopline = (dmopline < dmline) ? dmopline : 0;
  574. var dmopl = dmopline * 35 + 1;
  575. dmopline++;
  576. var barrager={
  577. 'info': str,
  578. 'top': dmopl,
  579. 'speed': $('#dmspeed').val(),
  580. 'size':fontsize,
  581. 'username':lastli.find(".name a").text()
  582. };
  583. if (own == 1) {barrager.own=1;}
  584. if (dmpos==1) {barrager.dmpos=1;}
  585. if (q >= 1) {barrager.img=textbox.find('img').attr('src');barrager.imgnum=q;}
  586. if(dmbgcolor){
  587. barrager.bgcolor="rgba(60, 60, 60, 0.4)";
  588. }else{
  589. barrager.bgcolor="rgba(60, 60, 60, 0)";
  590. }
  591. if(dmcolors==1){
  592. var dmcolor = textbox.css('color');
  593. if(dmcolor&&dmcolor!="rgb(85, 85, 85)"){
  594. barrager.color=dmcolor;
  595. }
  596. }
  597. $('#dmbox').barrager(barrager);
  598. }
  599. }
  600. }//----------------------getli
  601. var dmmain = function (records) {
  602. var lastli,dmul,lastli_2,lastli_3,lastli_4,lastli_5,lastli_6,lastli_7,lastli_8;
  603. if(records.map){
  604. records.map(function(record) {
  605. dmul = record.target;
  606. lastli = $(dmul).children("li:last");
  607. lastli_2=$(dmul).children("li").eq(-2);
  608. lastli_3=$(dmul).children("li").eq(-3);
  609. lastli_4=$(dmul).children("li").eq(-4);
  610. lastli_5=$(dmul).children("li").eq(-5);
  611. lastli_6=$(dmul).children("li").eq(-6);
  612. lastli_7=$(dmul).children("li").eq(-7);
  613. lastli_8=$(dmul).children("li").eq(-8);
  614. });
  615. }else{
  616. lastli = $(this).find('.jschartli:last');
  617. }
  618. if(!lastli.hasClass("process")){lastli.addClass("process");glmain(lastli);}
  619. if(!lastli_2.hasClass("process")){lastli_2.addClass("process");glmain(lastli_2);}
  620. if(!lastli_3.hasClass("process")){lastli_3.addClass("process");glmain(lastli_3);}
  621. if(!lastli_4.hasClass("process")){lastli_4.addClass("process");glmain(lastli_4);}
  622. if(!lastli_5.hasClass("process")){lastli_5.addClass("process");glmain(lastli_5);}
  623. if(!lastli_6.hasClass("process")){lastli_6.addClass("process");glmain(lastli_6);}
  624. if(!lastli_7.hasClass("process")){lastli_7.addClass("process");glmain(lastli_7);}
  625. if(!lastli_8.hasClass("process")){lastli_8.addClass("process");glmain(lastli_8);}
  626. };
  627. var obser2 = new MutationObserver(dmmain);
  628. var obj2 = document.querySelector('.chat-cont-wrap .c-list');
  629. var options2 = {
  630. 'childList': true
  631. };
  632. obser2.observe(obj2, options2);
  633. //$('.chat-cont-wrap .c-list').on('DOMNodeInserted',dmmain);
  634. //画中画
  635. $('#showsebox').click(function () {
  636. $('#sebox').fadeIn(300);
  637. });
  638. $('#closesebox').click(function () {
  639. $('#sebox').fadeOut(300);
  640. });
  641. $('.list-wrap').on('DOMNodeInserted', function () { //关注画中画
  642. $(".f-list li").each(function(){
  643. if($(this).find(".pip").length==0){
  644. $(this).children("p").append('<span class="pip">画中画</span>');
  645. }
  646. });
  647. });
  648. $('.list-wrap').on('click', '.pip', function () { //关注画中画写入地址
  649. var rid = $(this).prev().attr('href');
  650. rid = rid.replace('/', '');
  651. $('#sebox').fadeIn();
  652. getval(rid);
  653. });
  654. $('#setroomid').click(function () {
  655. getval($('#roomid').val());
  656. });
  657. //创建可移动缩放窗口
  658. $(function () {
  659. $(document).mousemove(function (e) {
  660. if (!!this.move) {
  661. var scrollTop = $(document).scrollTop();
  662. var posix = !document.move_target ? {
  663. 'x': 0,
  664. 'y': 0
  665. }
  666. : document.move_target.posix,
  667. callback = document.call_down || function () {
  668. $(this.move_target).css({
  669. 'top': e.pageY - posix.y - scrollTop,
  670. 'left': e.pageX - posix.x
  671. });
  672. };
  673. callback.call(this, e, posix);
  674. }
  675. }).mouseup(function (e) {
  676. if (!!this.move) {
  677. var callback = document.call_up || function () {
  678. };
  679. callback.call(this, e);
  680. $.extend(this, {
  681. 'move': false,
  682. 'move_target': null,
  683. 'call_down': false,
  684. 'call_up': false
  685. });
  686. }
  687. });
  688. var $box = $('#sebox').mousedown(function (e) {
  689. var offset = $(this).offset();
  690. this.posix = {
  691. 'x': e.pageX - offset.left,
  692. 'y': e.pageY - offset.top
  693. };
  694. $.extend(document, {
  695. 'move': true,
  696. 'move_target': this
  697. });
  698. }).on('mousedown', '#coor', function (e) {
  699. var posix = {
  700. 'w': $box.width(),
  701. 'h': $box.height(),
  702. 'x': e.pageX,
  703. 'y': e.pageY
  704. };
  705. $.extend(document, {
  706. 'move': true,
  707. 'call_down': function (e) {
  708. $box.css({
  709. 'width': Math.max(30, e.pageX - posix.x + posix.w),
  710. 'height': Math.max(30, e.pageY - posix.y + posix.h)
  711. });
  712. }
  713. });
  714. return false;
  715. });
  716. });
  717. function getval(x) { //取得播放属性
  718. $("#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">')
  719. $('#setroom').fadeOut();
  720. $('#changeroom').fadeIn();
  721. }
  722. // 过滤礼物及广告
  723. function hidead() {
  724. var shielding=setInterval(function(){
  725. if($(".jschartli").length>0||$(".giftbatter-item.item-1,.giftbatter-item.item-2,.giftbatter-item.item-3,.giftbatter-item.item-4").length>0){
  726. if(!$("#js-shie-gift").hasClass("shie-switch-open")){
  727. $("#shie-switch").click();
  728. clearInterval(shielding);
  729. }
  730. }else{
  731. if($("#js-shie-gift").hasClass("shie-switch-open")){
  732. $("#shie-switch").click();
  733. }
  734. }
  735. },200);
  736. setTimeout(function(){
  737. if(!$("#js-shie-gift").hasClass("shie-switch-open")){
  738. $("#shie-switch").click();
  739. }
  740. clearInterval(shielding);
  741. },8000);
  742. setTimeout(function () {
  743. var chatboxheight = $('#js-chat-cont').height();
  744. $('#chatboxhg').val(chatboxheight);
  745. $('#js-chat-cont').css({"top":"0px"});
  746. $('.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();
  747. }, 1000);
  748. }
  749. //隐藏粉丝区
  750. $('#fansbox').click(function() {
  751. var chatboxheight;
  752. chatboxheight = $('#js-chat-cont').height();
  753. if ($('#fansbox').val() == 1) {
  754. $('#fansbox').val(0);
  755. $('#js-fans-rank').show();
  756. $('#fansbox').html('隐藏粉丝区→');
  757. } else {
  758. $('#fansbox').val(1);
  759. $('#js-fans-rank').hide();
  760. $('#fansbox').html('显示粉丝区→');
  761. }
  762. });
  763. //flashvars过滤
  764. }
  765. function panda(){
  766. console.log('panda');
  767. publiccss();
  768. pandacss();
  769. dmplugin();
  770. var dmnum = 0,
  771. dmave = new Array(25),
  772. dmi = 0,
  773. dmavi = 0,
  774. dmopline = 0,
  775. dmcolors,dmimage,dmpos,offdm;
  776. //弹幕计数
  777. setInterval(function() {
  778. if (dmi > 24) {
  779. dmi = 0;
  780. }
  781. dmave[dmi] = dmnum;
  782. dmavi = (Math.max.apply(null, dmave) - Math.min.apply(null, dmave)) / 5;
  783. dmi++;
  784. },200);
  785. $('.room-rank-container').hide();
  786. $('.room-chat-container').css('top', '0px');
  787. if($(".h5player-player-container").length){
  788. $('.h5player-player-container').prepend('<div id="dmbox" style="width:100%;position:absolute;z-index:999;"></div>');
  789. }else{
  790. $("#room-player-swf").after('<div id="dmbox" style="width:100%;position:absolute;z-index:999;"></div>');
  791. }
  792. $('.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>');
  793. $('#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>');
  794. $('#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>');
  795. $('#filtertext').after('<div style="margin-left:7px;margin-top:5px;"><span>字体大小:</span><input type="number" id="dmsize" value="18" max="28" min="14"></div>');
  796. $('#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>');
  797. $('#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>');
  798. $('.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>');
  799. $(".room-chat-container").prepend('<div id="dmjs"></div>');
  800. $("#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>');
  801. $("#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>');
  802. $("#dmsize").val(parseInt(fontsize));
  803. $('#room-player-video-danmu>div').on('DOMNodeInserted', function () {
  804. var lastdm = $(this).find('div.cmt:last');
  805. var h5str = lastdm.text();
  806. $.each(filter, function (i, value) {
  807. if (value.test(h5str)) {
  808. lastdm.remove();
  809. }
  810. });
  811. });
  812. var dmspeed = GM_getValue('dmspeed', 16);
  813. var dmimage=GM_getValue("dmimage",0);
  814. var dmop=GM_getValue('dmop', 10);
  815. var dmbgcolor=GM_getValue("dmbgcolor",1);
  816. var dmthrough=GM_getValue("dmthrough",0);
  817. var offdm=GM_getValue("offdm",0);
  818. dmpos=GM_getValue("dmpos",0);
  819.  
  820. if(dmpos==1){
  821. $("#dmpos").val(1);
  822. $("#dmbox").css("top","auto");
  823. $("#dmbox").css("bottom","40px");
  824. }else{
  825. $("#dmpos").val(0);
  826. }
  827. if(dmbgcolor==0){
  828. $("#dmbgcolor").attr("checked",false);
  829. }else{
  830. $("#dmbgcolor").attr("checked",true);
  831. }
  832. if(dmthrough==0){
  833. $("#dmthrough").attr("checked",false);
  834. $("#dmbox").css("pointer-events","auto");
  835. }else{
  836. $("#dmthrough").attr("checked",true);
  837. $("#dmbox").css("pointer-events","none");
  838. }
  839. setTimeout(function(){
  840. if(dmimage==0){
  841. $("#dmimage").attr("checked",false);
  842. }else{
  843. $("#dmimage").attr("checked",true);
  844. }
  845. $('#dmop').val(dmop);
  846. $('#dmspeed').val(dmspeed);
  847. $('#dmbox').css('opacity', $('#dmop').val() / 10);
  848. },1000);
  849. if(GM_getValue("danmu_state",0)==1){
  850. if(offdm==0){opendm();$("#offdm").val(0);}else{opendm(); $('#dmbox').barrager.removeAll();$("#offdm").val(1);}
  851. }
  852. $('#opendmbt').click(function () {
  853. opendm();
  854. });
  855. $('#dmset').click(function () {
  856. $('#dmsetbox').fadeIn();
  857. $('#filtertext').select();
  858. });
  859. $('.room-chat-scroller').on('DOMNodeInserted', 'ul.room-chat-messages', function () {
  860. var lastli1 = $(this).find('li.room-chat-message').eq(-1);
  861. var lastli2 = $(this).find('li.room-chat-message').eq(-2);
  862. var lastli3 = $(this).find('li.room-chat-message').eq(-3);
  863. var lastli4 = $(this).find('li.room-chat-message').eq(-4);
  864. var lastli5 = $(this).find('li.room-chat-message').eq(-5);
  865. var lastli6 = $(this).find('li.room-chat-message').eq(-6);
  866. if(!lastli1.hasClass("process")){lastli1.addClass("process");glmain(lastli1);}
  867. if(!lastli2.hasClass("process")){lastli2.addClass("process");glmain(lastli2);}
  868. if(!lastli3.hasClass("process")){lastli3.addClass("process");glmain(lastli3);}
  869. if(!lastli4.hasClass("process")){lastli4.addClass("process");glmain(lastli4);}
  870. if(!lastli5.hasClass("process")){lastli5.addClass("process");glmain(lastli5);}
  871. if(!lastli6.hasClass("process")){lastli6.addClass("process");glmain(lastli6);}
  872. });
  873. function glmain(lastli){
  874. var gl=0;
  875. var str = lastli.find('.room-chat-content').text();
  876. if(str==""){gl=1;lastli.remove();return false;}
  877. $.each(filter, function (i, value) {
  878. if (eval(value).test(str)) {
  879. lastli.remove();
  880. switch (i) {
  881. case 0:
  882. n6++;
  883. n6gal();
  884. break;
  885. case 6:
  886. nq++;
  887. nqgal();
  888. break;
  889. case 7:
  890. nq++;
  891. nqgal();
  892. break;
  893. }
  894. gl=1;
  895. return false;
  896. }
  897. });
  898. if (gl != 1) {
  899. dmnum++;
  900. var q;
  901. //------------
  902. if(dmimage==1){
  903. lastli.find('i.icon-panda-emoji').remove();
  904. if(str==""){
  905. lastli.remove();
  906. }
  907. }else{
  908. q = lastli.find('.icon-panda-emoji').length;
  909. }
  910. if ($('#cjdm_state').val() == '1' && (str!="" || q>0)) {
  911. dmavi = (dmavi > 1) ? dmavi : 1;
  912. var maxline=parseInt(parseInt($(".room-player-box").css("height"))/35);
  913. var dmline = (Math.round(dmavi * 3.5) > 3) ? Math.round(dmavi * 3.5) : 4;
  914. dmline = (Math.round(dmavi * 3.5) < maxline-1) ? Math.round(dmavi * 3.5) : maxline-1;
  915. dmopline = (dmopline < dmline) ? dmopline : 0;
  916. var dmopl = dmopline * 35 + 1;
  917. dmopline++;
  918. var barrager={
  919. 'info': str,
  920. 'top': dmopl,
  921. 'speed': $('#dmspeed').val(),
  922. 'size':fontsize
  923. };
  924. if (lastli.find("span[data-is-self='true']").length) {barrager.own=1;}
  925. if (q >= 1) {
  926. var img=lastli.find('.icon-panda-emoji').css('background-image');
  927. var url=/http.+gif/.exec(img);
  928. barrager.img=url;
  929. barrager.imgnum=q;
  930. }
  931. if (dmpos==1) {barrager.dmpos=1;}
  932. if(dmbgcolor){
  933. barrager.bgcolor="rgba(60, 60, 60, 0.4)";
  934. }else{
  935. barrager.bgcolor="rgba(60, 60, 60, 0)";
  936. }
  937. $('#dmbox').barrager(barrager);
  938. }
  939. }
  940. }
  941. $('#fansbox').click(function (e) {
  942. if ($('#fansbox').val() == 1) {
  943. $('#fansbox').val(0);
  944. $('.room-rank-container').show();
  945. $('.room-chat-container').css('top', '165px');
  946. $('#fansbox').html('隐藏粉丝区→');
  947. } else {
  948. $('#fansbox').val(1);
  949. $('.room-rank-container').hide();
  950. $('.room-chat-container').css('top', '0px');
  951. $('#fansbox').html('显示粉丝区→');
  952. }
  953. });
  954. $('#setfilterbt').click(function () {
  955. GM_setValue('userfilter', $('#filtertext').val());
  956. GM_setValue('dmspeed', $('#dmspeed').val());
  957. GM_setValue('dmop', $('#dmop').val());
  958. GM_setValue('offdm', $('#offdm').val());
  959. GM_setValue('fontsize', $('#dmsize').val()+"px");
  960. fontsize=$('#dmsize').val()+"px";
  961. GM_setValue('dmpos',$("#dmpos").val());
  962. if($("#offdm").val()=='1'){
  963. offdm=1;
  964. }else{
  965. offdm=0;
  966. }
  967. if($("#dmpos").val()==0){
  968. $("#dmbox").css("top","0px");
  969. dmpos=0;
  970. }else{
  971. $("#dmbox").css("top","auto");
  972. $("#dmbox").css("bottom","40px");
  973. dmpos=1;
  974. }
  975. if($("#dmimage").is(":checked")){
  976. GM_setValue('dmimage', 1);
  977. dmimage=1;
  978. }else{
  979. GM_setValue('dmimage', 0);
  980. dmimage=0;
  981. }
  982. if($("#dmbgcolor").is(":checked")){
  983. GM_setValue('dmbgcolor', 1);
  984. dmbgcolor=1;
  985. }else{
  986. GM_setValue('dmbgcolor', 0);
  987. dmbgcolor=0;
  988. }
  989. if($("#dmthrough").is(":checked")){
  990. GM_setValue('dmthrough', 1);
  991. dmthrough=1;
  992. $("#dmbox").css("pointer-events","none");
  993. }else{
  994. GM_setValue('dmthrough', 0);
  995. dmthrough=0;
  996. $("#dmbox").css("pointer-events","auto");
  997. }
  998. userfilter = $('#filtertext').val();
  999. if ($('#filtertext').val() == '') {
  1000. filter = defilter;
  1001. setTimeout(function () {
  1002. $('#dmsetbox').fadeOut();
  1003. }, 500);
  1004. } else {
  1005. if (userfilter.indexOf('/,/') > 0) {
  1006. var usergroup = userfilter.split(',');
  1007. filter = $.merge(defilter, usergroup);
  1008. } else {
  1009. filter = defilter;
  1010. filter.push(userfilter);
  1011. }
  1012. setTimeout(function () {
  1013. $('#dmsetbox').fadeOut();
  1014. }, 500);
  1015. }
  1016. $('#dmbox').css('opacity', $('#dmop').val() / 10);
  1017. });
  1018. }
  1019. function zhanqi(){
  1020. publiccss();
  1021. zhanqicss();
  1022. dmplugin();
  1023.  
  1024. $('.fans-list').hide();
  1025. $(".js-right-chat-layer").height($(".js-right-chat-layer").height()+150);
  1026. $(".slimScrollDiv").height($(".js-right-chat-layer").height());
  1027. $(".js-chat-msg-scroll").height($(".js-right-chat-layer").height());
  1028. $('#js-flash-panel').prepend('<div id="dmbox" style="width:100%;position:absolute;z-index:999;"></div>');
  1029. $('.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>');
  1030. $('#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>');
  1031. $('#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>');
  1032. $('#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>');
  1033. $('#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>');
  1034. $('.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>');
  1035. $(".liveDialog-box").prepend('<div id="dmjs"></div>');
  1036. $("#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>');
  1037. $("#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>');
  1038. var dmspeed = GM_getValue('dmspeed', 16);
  1039. var dmimage=GM_getValue("dmimage",0);
  1040. var dmop=GM_getValue('dmop', 10);
  1041. var dmbgcolor=GM_getValue("dmbgcolor",1);
  1042. var dmthrough=GM_getValue("dmthrough",0);
  1043. var offdm=GM_getValue("offdm",0);
  1044. if(dmthrough==0){
  1045. $("#dmthrough").attr("checked",false);
  1046. $("#dmbox").css("pointer-events","auto");
  1047. }else{
  1048. $("#dmthrough").attr("checked",true);
  1049. $("#dmbox").css("pointer-events","none");
  1050. }
  1051. $("#filtertext").val(userfilter);
  1052. $("#dmsize").val(parseInt(fontsize));
  1053. if(GM_getValue("danmu_state",0)==1){
  1054. if(offdm==0){opendm();$("#offdm").val(0);}else{opendm(); $('#dmbox').barrager.removeAll();$("#offdm").val(1);}
  1055. }
  1056. $('#opendmbt').click(function () {
  1057. opendm();
  1058. });
  1059. if(dmbgcolor==0){
  1060. $("#dmbgcolor").attr("checked",false);
  1061. }else{
  1062. $("#dmbgcolor").attr("checked",true);
  1063. }
  1064. $('#dmset').click(function () {
  1065. $('#dmsetbox').fadeIn();
  1066. $('#filtertext').select();
  1067. });
  1068. setTimeout(function(){
  1069. if(dmimage==0){
  1070. $("#dmimage").attr("checked",false);
  1071. }else{
  1072. $("#dmimage").attr("checked",true);
  1073. }
  1074. $('#dmop').val(dmop);
  1075. $('#dmspeed').val(dmspeed);
  1076. $('#dmbox').css('opacity', $('#dmop').val() / 10);
  1077. },1000);
  1078. var dmnum = 0,
  1079. dmave = new Array(5),
  1080. dmi = 0,
  1081. dmavi = 0,
  1082. dmopline = 0,
  1083. dmcolors,dmimage;
  1084. //点击屏蔽小礼物
  1085. var shielding=setInterval(function(){ad()},800);
  1086. function ad(){
  1087. if($(".refreshingBtn-show-icon").hasClass("refreshingBtn-show-icon"))
  1088. {$(".refreshingBtn-show-icon").click();clearInterval(shielding);}else{clearInterval(shielding);}
  1089. }
  1090. //弹幕计数
  1091. setInterval(function() {
  1092. if (dmi > 24) {
  1093. dmi = 0;
  1094. }
  1095. dmave[dmi] = dmnum;
  1096. dmavi = (Math.max.apply(null, dmave) - Math.min.apply(null, dmave)) / 5;
  1097. dmi++;
  1098. },200);
  1099. $('.js-chat-msg-scroll').on('DOMNodeInserted', 'ul.js-chat-msg-list', function () {
  1100. var lastli1 = $(this).find('li.js-chat-list-li ').eq(-1);
  1101. var lastli2 = $(this).find('li.js-chat-list-li ').eq(-2);
  1102. var lastli3 = $(this).find('li.js-chat-list-li ').eq(-3);
  1103. var lastli4 = $(this).find('li.js-chat-list-li ').eq(-4);
  1104. var lastli5 = $(this).find('li.js-chat-list-li ').eq(-5);
  1105. var lastli6 = $(this).find('li.js-chat-list-li ').eq(-6);
  1106. if(!lastli1.hasClass("process")){lastli1.addClass("process");glmain(lastli1);}
  1107. if(!lastli2.hasClass("process")){lastli2.addClass("process");glmain(lastli2);}
  1108. if(!lastli3.hasClass("process")){lastli3.addClass("process");glmain(lastli3);}
  1109. if(!lastli4.hasClass("process")){lastli4.addClass("process");glmain(lastli4);}
  1110. if(!lastli5.hasClass("process")){lastli5.addClass("process");glmain(lastli5);}
  1111. if(!lastli6.hasClass("process")){lastli6.addClass("process");glmain(lastli6);}
  1112. });
  1113. function glmain(lastli){
  1114. var gl=0;
  1115. var str = lastli.find('.chat-span').text();
  1116. if($(".js-chat-list-li").length>100){
  1117. $(".js-chat-list-li:first").remove();
  1118. }
  1119. if(str==""){gl=1;lastli.remove();return false;}
  1120. $.each(filter, function (i, value) {
  1121. if (eval(value).test(str)) {
  1122. lastli.remove();
  1123. switch (i) {
  1124. case 0:
  1125. n6++;
  1126. n6gal();
  1127. break;
  1128. /*case 1:
  1129. n23++;
  1130. break;
  1131. case 2:
  1132. n1++;
  1133. break;
  1134. case 3:
  1135. n2++;
  1136. break;
  1137. case 4:
  1138. n3++;
  1139. break;*/
  1140. case 6:
  1141. nq++;
  1142. nqgal();
  1143. break;
  1144. case 7:
  1145. nq++;
  1146. nqgal();
  1147. break;
  1148. }
  1149. gl=1;
  1150. return false;
  1151. }
  1152. });
  1153. if (gl != 1) {
  1154. dmnum++;
  1155. var q;
  1156. //------------
  1157. if(dmimage==1){
  1158. lastli.find('img').remove();
  1159. if(str==""){
  1160. lastli.remove();
  1161. }
  1162. }else{
  1163. q = lastli.find('.img').length;
  1164. }
  1165. if ($('#cjdm_state').val() == '1' && (str!="" || q>0)) {
  1166. dmavi = (dmavi > 1) ? dmavi : 1;
  1167. var maxline=parseInt(parseInt($("#js-flash-layer").css("height"))/35);
  1168. var dmline = (Math.round(dmavi * 3.5) > 3) ? Math.round(dmavi * 3.5) : 4;
  1169. dmline = (Math.round(dmavi * 3.5) < maxline-1) ? Math.round(dmavi * 3.5) : maxline-1;
  1170. dmopline = (dmopline < dmline) ? dmopline : 0;
  1171. var dmopl = dmopline * 35 + 1;
  1172. dmopline++;
  1173. var barrager={
  1174. 'info': str,
  1175. 'top': dmopl,
  1176. 'speed': $('#dmspeed').val(),
  1177. 'size':fontsize
  1178. };
  1179. if (lastli.find("span[data-is-self='true']").length) {barrager.own=1;}
  1180. if (q >= 1) {
  1181. var img=lastli.find('img').attr('src');
  1182. var url=/http.+gif/.exec(img);
  1183. barrager.img=url;
  1184. barrager.imgnum=q;
  1185. }
  1186. if(dmbgcolor){
  1187. barrager.bgcolor="rgba(60, 60, 60, 0.4)";
  1188. }else{
  1189. barrager.bgcolor="rgba(60, 60, 60, 0)";
  1190. }
  1191. $('#dmbox').barrager(barrager);
  1192. }
  1193. }
  1194. }
  1195. $('#setfilterbt').click(function () {
  1196. GM_setValue('userfilter', $('#filtertext').val());
  1197. GM_setValue('dmspeed', $('#dmspeed').val());
  1198. GM_setValue('dmop', $('#dmop').val());
  1199. GM_setValue('fontsize', $('#dmsize').val()+"px");
  1200. GM_setValue('offdm',$("#offdm").val());
  1201. fontsize=$('#dmsize').val()+"px";
  1202. if($("#offdm").val()=='1'){
  1203. offdm=1;
  1204. }else{
  1205. offdm=0;
  1206. }
  1207. if($("#dmimage").is(":checked")){
  1208. GM_setValue('dmimage', 1);
  1209. dmimage=1;
  1210. }else{
  1211. GM_setValue('dmimage', 0);
  1212. dmimage=0;
  1213. }
  1214. if($("#dmbgcolor").is(":checked")){
  1215. GM_setValue('dmbgcolor', 1);
  1216. dmbgcolor=1;
  1217. }else{
  1218. GM_setValue('dmbgcolor', 0);
  1219. dmbgcolor=0;
  1220. }
  1221. if($("#dmthrough").is(":checked")){
  1222. GM_setValue('dmthrough', 1);
  1223. dmthrough=1;
  1224. $("#dmbox").css("pointer-events","none");
  1225. }else{
  1226. GM_setValue('dmthrough', 0);
  1227. dmthrough=0;
  1228. $("#dmbox").css("pointer-events","auto");
  1229. }
  1230. userfilter = $('#filtertext').val();
  1231. if ($('#filtertext').val() == '') {
  1232. filter = defilter;
  1233. setTimeout(function () {
  1234. $('#dmsetbox').fadeOut();
  1235. }, 500);
  1236. } else {
  1237. if (userfilter.indexOf('/,/') > 0) {
  1238. var usergroup = userfilter.split(',');
  1239. filter = $.merge(defilter, usergroup);
  1240. } else {
  1241. filter = defilter;
  1242. filter.push(userfilter);
  1243. }
  1244. setTimeout(function () {
  1245. $('#dmsetbox').fadeOut();
  1246. }, 500);
  1247. }
  1248. $('#dmbox').css('opacity', $('#dmop').val() / 10);
  1249. });
  1250. $('#fansbox').click(function (e) {
  1251. if ($('#fansbox').val() == 1) {
  1252. $('#fansbox').val(0);
  1253. $('.fans-list').show();
  1254. $(".js-right-chat-layer").height($(".js-right-chat-layer").height()-156);
  1255. $(".slimScrollDiv").height($(".js-right-chat-layer").height());
  1256. $(".js-chat-msg-scroll").height($(".js-right-chat-layer").height());
  1257. $('#fansbox').html('隐藏粉丝区→');
  1258. } else {
  1259. $('#fansbox').val(1);
  1260. $('.fans-list').hide();
  1261. $(".js-right-chat-layer").height($(".js-right-chat-layer").height()+156);
  1262. $(".slimScrollDiv").height($(".js-right-chat-layer").height());
  1263. $(".js-chat-msg-scroll").height($(".js-right-chat-layer").height());
  1264. $('#fansbox').html('显示粉丝区→');
  1265. }
  1266. });
  1267. }
  1268. function huya() {
  1269. publiccss();
  1270. huyacss();
  1271. dmplugin();
  1272. //删除xxx标语
  1273. $("li[data-id='0']").remove();
  1274. //点击屏蔽按钮
  1275. var shielding=setInterval(function(){ad()},800);
  1276. function ad(){
  1277. if($("#J-room-chat-shield").hasClass("shield-on"))
  1278. {$(".room-footer-r").remove();clearInterval(shielding);}else{$("#J-room-chat-shield").click();$(".room-footer-r").remove();clearInterval(shielding);}
  1279. }
  1280.  
  1281. $('.host-control-other.J_roomHdCtrlOther').append('<button style="margin-right:10px;" type="button" id="fansbox" value="1">显示粉丝榜</button>');
  1282. function glmain(lastli){
  1283. if($(lastli).find(".box-noble-enter").length){
  1284. $(lastli).remove();
  1285. return;
  1286. }
  1287. if($(lastli).find(".tit-h-send").length){
  1288. $(lastli).remove();
  1289. return;
  1290. }
  1291. $(lastli).find(".box-noble").removeClass();
  1292. }
  1293. var dmmain = function (records) {
  1294. var lastli_1,dmul,lastli_2,lastli_3,lastli_4,lastli_5,lastli_6;
  1295. if(records.map){
  1296. records.map(function(record) {
  1297. dmul = record.target;
  1298. lastli_1=$(dmul).children("li:last");
  1299. lastli_2=$(dmul).children("li").eq(-2);
  1300. lastli_3=$(dmul).children("li").eq(-3);
  1301. lastli_4=$(dmul).children("li").eq(-4);
  1302. lastli_5=$(dmul).children("li").eq(-5);
  1303. lastli_6=$(dmul).children("li").eq(-6);
  1304. });
  1305. }
  1306. if(!lastli_1.hasClass("process")){lastli_1.addClass("process");glmain(lastli_1);}
  1307. if(!lastli_2.hasClass("process")){lastli_2.addClass("process");glmain(lastli_2);}
  1308. if(!lastli_3.hasClass("process")){lastli_3.addClass("process");glmain(lastli_3);}
  1309. if(!lastli_4.hasClass("process")){lastli_4.addClass("process");glmain(lastli_4);}
  1310. if(!lastli_5.hasClass("process")){lastli_5.addClass("process");glmain(lastli_5);}
  1311. if(!lastli_6.hasClass("process")){lastli_6.addClass("process");glmain(lastli_6);}
  1312. };
  1313. var obser2 = new MutationObserver(dmmain);
  1314. var obj2 = document.querySelector('#chat-room__list');
  1315. var options2 = {
  1316. 'childList': true
  1317. };
  1318. obser2.observe(obj2, options2);
  1319. $("#fansbox").click(function(){
  1320. if($("#fansbox").val()==1){
  1321. $("#fansbox").val(0);
  1322. $("#fansbox").text("隐藏粉丝榜");
  1323. showfans();
  1324. }else{
  1325. $("#fansbox").text("显示粉丝榜");
  1326. $("#fansbox").val(1);
  1327. hidefans();
  1328. }
  1329. });
  1330. var mh=$(".room-sidebar").height()-$(".chat-room__ft").height()-$(".chat-room__hd").height()-20;
  1331. $("#watchChat_pub").css("min-height",mh+"px");
  1332. hidefans();
  1333. function showfans(){
  1334. $("#J-weekRank").show();
  1335. }
  1336. function hidefans(){
  1337. $("#hd-wrap").hide();
  1338. $("#J-weekRank").hide();
  1339. }
  1340. }
  1341. function bilibili()
  1342. {
  1343. $('.attention-btn-ctnr').append('<button style="margin-left:10px;" type="button" id="fansbox" value="1">显示粉丝区→</button>');
  1344. $("#rank-list-vm").hide();
  1345. $(".chat-history-panel").css("height","calc(100% - 0px - 145px)");
  1346. $("#fansbox").click(function(){
  1347. if($("#fansbox").val()==1){
  1348. $("#fansbox").val(0);
  1349. $("#fansbox").text("隐藏粉丝榜→");
  1350. $("#rank-list-vm").show();
  1351. $(".chat-history-panel").css("height","calc(100% - 128px - 145px)");
  1352. }else{
  1353. $("#fansbox").text("显示粉丝榜→");
  1354. $("#fansbox").val(1);
  1355. $("#rank-list-vm").hide();
  1356. $(".chat-history-panel").css("height","calc(100% - 0px - 145px)");
  1357. }
  1358. });
  1359.  
  1360.  
  1361. var shielding=setInterval(function(){ad()},800);
  1362. //屏蔽哔哩哔哩礼物
  1363. function ad()
  1364. {if($(".radio-icon").hasClass("radio-icon"))
  1365. {
  1366. $(".icon-block-on").click();
  1367. $("#my-dear-haruna-vm").remove();
  1368. $("#penury-gift-msg").remove();
  1369. $("#chat-history-list").css("height","calc(100% - 0px)");
  1370. $(".bilibili-live-player-video-operable-container").remove();
  1371. clearInterval(shielding);}
  1372. else
  1373. {$(".radio-icon").click();
  1374. $(".icon-block-on").click();
  1375. $("#my-dear-haruna-vm").remove();
  1376. //移除聊天框礼物
  1377. $("#penury-gift-msg").remove();
  1378. $("#chat-history-list").css("height","calc(100% - 0px)");
  1379. //移除系统提示
  1380. $(".bilibili-live-player-video-operable-container").remove();}
  1381.  
  1382. }
  1383.  
  1384.  
  1385.  
  1386. //屏蔽聊天框系统提示
  1387. var styleNode = document.createElement("style");
  1388. styleNode.type = "text/css";
  1389. var rule = document.createTextNode(".system-msg{display:none;}");
  1390. styleNode.appendChild(rule);
  1391. document.getElementsByTagName("head")[0].appendChild(styleNode);
  1392.  
  1393.  
  1394.  
  1395. }
  1396.  
  1397. function longzhu() {
  1398. longzhucss();
  1399. publiccss();
  1400. dmplugin();
  1401. // $('.star-info-title').append('<button style="margin-left:100px;" type="button" id="fansbox" value="1">显示粉丝区</button>');
  1402. //点击屏蔽礼物按钮
  1403. var shielding=setInterval(function(){ad()},800);
  1404. function ad(){
  1405. if($(".chat-filter-checkbox-checked").hasClass("chat-filter-checkbox-checked"))
  1406. {$(".chat-filter-checkbox-checked").click();clearInterval(shielding);}else{$(".chat-filter-checkbox-checked").click();$(".chat-filter-checkbox-checked").click();clearInterval(shielding);}
  1407. }
  1408. function glmain(lastli){
  1409. if($(lastli).hasClass("user_enter_msg")){
  1410. $(lastli).remove();
  1411. return;
  1412. }
  1413. var str=lastli.find(".message-content").text();
  1414. $.each(filter, function (i, value) {
  1415. if (eval(value).test(str)) {
  1416. lastli.remove();
  1417. gl=1;
  1418. return false;
  1419. }
  1420. });
  1421. }
  1422.  
  1423. var dmmain = function (records) {
  1424. var lastli_1,dmul,lastli_2,lastli_3,lastli_4,lastli_5,lastli_6;
  1425. if(records.map){
  1426. records.map(function(record) {
  1427. dmul = record.target;
  1428. lastli_1=$(dmul).children("div").eq(-1);
  1429. lastli_2=$(dmul).children("div").eq(-2);
  1430. lastli_3=$(dmul).children("div").eq(-3);
  1431. lastli_4=$(dmul).children("div").eq(-4);
  1432. lastli_5=$(dmul).children("div").eq(-5);
  1433. lastli_6=$(dmul).children("div").eq(-6);
  1434. });
  1435. }
  1436. if(!lastli_1.hasClass("process")){lastli_1.addClass("process");glmain(lastli_1);}
  1437. if(!lastli_2.hasClass("process")){lastli_2.addClass("process");glmain(lastli_2);}
  1438. if(!lastli_3.hasClass("process")){lastli_3.addClass("process");glmain(lastli_3);}
  1439. if(!lastli_4.hasClass("process")){lastli_4.addClass("process");glmain(lastli_4);}
  1440. if(!lastli_5.hasClass("process")){lastli_5.addClass("process");glmain(lastli_5);}
  1441. if(!lastli_6.hasClass("process")){lastli_6.addClass("process");glmain(lastli_6);}
  1442. };
  1443. var obser2 = new MutationObserver(dmmain);
  1444. var obj2 = document.querySelector('#scroll-con div');
  1445. var options2 = {
  1446. 'childList': true
  1447. };
  1448. obser2.observe(obj2, options2);
  1449. }
  1450.  
  1451. function opendm() {
  1452. if ($('#cjdm_state').index()>0 && $('#cjdm_state').val() == '0') {
  1453. GM_setValue("danmu_state",1);
  1454. $('#cjdm_state').val('1');
  1455. $('#dmkg').css({
  1456. 'float': 'left',
  1457. 'background-color': '#FD7521'
  1458. });
  1459. $('#kgstate').text('插件弹幕开');
  1460. $('#dmbox').barrager({
  1461. 'info': '弹幕插件已开启,请关闭自带弹幕。',
  1462. 'top': 400,
  1463. 'href': 'https://gf.qytechs.cn/zh-CN/scripts/29026',
  1464. 'speed': 12
  1465. });
  1466. if($("div[id^=__h5player]").length){
  1467. $("div[class^=showdanmu]").click();
  1468. }
  1469. } else if($('#cjdm_state').index()>0 && $('#cjdm_state').val() == '1') {
  1470. GM_setValue("danmu_state",0);
  1471. $.fn.barrager.removeAll();
  1472. $('#cjdm_state').val('0');
  1473. $('#dmkg').css({
  1474. 'float': 'right',
  1475. 'background-color': '#333'
  1476. });
  1477. $('#kgstate').text('插件弹幕关');
  1478. }
  1479. }
  1480. checkdmjs_a();
  1481. checkdmjs_b();
  1482. function checkdmjs_a(lastx,lasty){
  1483. if(n6-lastx==0){
  1484. $("#dmjs_n6").fadeOut();
  1485. }
  1486. if(n6-lastx>1){
  1487. $("#dmjs_n6").show();
  1488. }
  1489. if(nq-lasty==0){
  1490. $("#dmjs_nq").fadeOut();
  1491. }
  1492. if(nq-lasty>1){
  1493. $("#dmjs_nq").show();
  1494. }
  1495. lastx=n6;lasty=nq;
  1496. setTimeout(function(){checkdmjs_a(lastx,lasty);},1000);
  1497. }
  1498. function checkdmjs_b(lastx,lasty){
  1499. if(n6-lastx==0){
  1500. n6=0;
  1501. $("#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").hide();
  1502. $("#dmjs_n6 .gewei,#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
  1503. }
  1504. if(nq-lasty==0){
  1505. nq=0;
  1506. $("#dmjs_nq .shiwei,#dmjs_nq .baiwei").hide();
  1507. $("#dmjs_nq .gewei,#dmjs_nq .shiwei,#dmjs_nq .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
  1508. }
  1509. lastx=n6;lasty=nq;
  1510. setTimeout(function(){checkdmjs_b(lastx,lasty);},3000);
  1511. }
  1512. function n6gal(){
  1513. var gw=n6%10;
  1514. if($("#dmjs_n6").css("display")!="none"){
  1515. $("#dmjs_n6").stop();
  1516. $("#dmjs_n6").fadeIn(0);
  1517. }
  1518. if(gw==0&&n6>=10){
  1519. $("#dmjs_n6 .shiwei").show();
  1520. $("#dmjs_n6 .gewei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_n6 .gewei").removeClass("anim");},101);
  1521. var sw=(n6-n6%10)/10%10;
  1522. if(sw==0&&n6>=100){
  1523. $("#dmjs_n6 .baiwei").show();
  1524. $("#dmjs_n6 .shiwei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_n6 .shiwei").removeClass("anim");},101);
  1525. var bw=(n6-n6%100)/100;
  1526. $("#dmjs_n6 .baiwei").removeClass("n"+(bw-1)).addClass("anim n"+bw);setTimeout(function(){$("#dmjs_n6 .baiwei").removeClass("anim");},101);
  1527. if(n6>999){
  1528. n6=0;
  1529. $("#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").hide();
  1530. $("#dmjs_n6 .gewei,#dmjs_n6 .shiwei,#dmjs_n6 .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
  1531. }
  1532. }else{
  1533. $("#dmjs_n6 .shiwei").removeClass("n"+(sw-1)).addClass("anim n"+sw);setTimeout(function(){$("#dmjs_n6 .shiwei").removeClass("anim");},101);
  1534. }
  1535. }else{
  1536. $("#dmjs_n6 .gewei").removeClass("n"+(gw-1)).addClass("anim n"+gw);setTimeout(function(){$("#dmjs_n6 .gewei").removeClass("anim");},101);
  1537. }
  1538. }
  1539.  
  1540. function nqgal(){
  1541. var gw=nq%10;
  1542. if($("#dmjs_nq").css("display")!="none"){
  1543. $("#dmjs_nq").stop();
  1544. $("#dmjs_nq").fadeIn(0);
  1545. }
  1546. if(gw==0&&nq>=10){
  1547. $("#dmjs_nq .shiwei").show();
  1548. $("#dmjs_nq .gewei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_nq .gewei").removeClass("anim");},101);
  1549. var sw=(nq-nq%10)/10%10;
  1550. if(sw==0&&nq>=100){
  1551. $("#dmjs_nq .baiwei").show();
  1552. $("#dmjs_nq .shiwei").removeClass("n9").addClass("anim n0");setTimeout(function(){$("#dmjs_nq .shiwei").removeClass("anim");},101);
  1553. var bw=(nq-nq%100)/100;
  1554. $("#dmjs_nq .baiwei").removeClass("n"+(bw-1)).addClass("anim n"+bw);setTimeout(function(){$("#dmjs_nq .baiwei").removeClass("anim");},101);
  1555. if(nq>999){
  1556. nq=0;
  1557. $("#dmjs_nq .shiwei,#dmjs_nq .baiwei").hide();
  1558. $("#dmjs_nq .gewei,#dmjs_nq .shiwei,#dmjs_nq .baiwei").removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9").addClass("n0");
  1559. }
  1560. }else{
  1561. $("#dmjs_nq .shiwei").removeClass("n"+(sw-1)).addClass("anim n"+sw);setTimeout(function(){$("#dmjs_nq .shiwei").removeClass("anim");},101);
  1562. }
  1563. }else{
  1564. $("#dmjs_nq .gewei").removeClass("n"+(gw-1)).addClass("anim n"+gw);setTimeout(function(){$("#dmjs_nq .gewei").removeClass("anim");},101);
  1565. }
  1566. }
  1567. (function ($) {
  1568. $.fn.barrager = function (a) {
  1569. a = $.extend({
  1570. close: true,
  1571. dmpos:0,
  1572. top: 0,
  1573. max: 10,
  1574. speed: 30,
  1575. color: '#fff',
  1576. bgcolor: '#000',
  1577. href: 'javascript:void(0)',
  1578. size:'18px'
  1579. }, a || {
  1580. });
  1581. var b = new Date().getTime();
  1582. var c = 'barrage_' + b;
  1583. var d = '#' + c;
  1584. var e = $('<div class=\'barrage\' id=\'' + c + '\'></div>').appendTo($(this));
  1585. var f = $(window).height() - 100;
  1586. var g = (f > this.height()) ? this.height() : f;
  1587. var h = $(window).width() + 500;
  1588. var j = (h > this.width()) ? this.width() : h;
  1589. var k = (a.top == 0) ? Math.floor(Math.random() * g) : a.top;
  1590. if(a.dmpos==0){
  1591. e.css('top', k + 'px');
  1592. }else{
  1593. e.css('bottom',k + 'px');
  1594. }
  1595. if (a.own == 1) {
  1596. $(d).addClass("own");
  1597. }
  1598. if (a.focus == 1){
  1599. $(d).css("z-index",99);
  1600. }
  1601. var div_barrager_box = $('<div class=\'barrage_box cl\'></div>').appendTo(e);
  1602. div_barrager_box.css('background-color', a.bgcolor);
  1603. div_barrager_box.append(' <div class=\'z p\'></div>');
  1604. if (a.img) {
  1605. div_barrager_box.append('<div class=\'portrait z\'></div>');
  1606. if (a.imgnum) {
  1607. $(d).css("min-width",80+a.imgnum*26);
  1608. for (var u = 0; u < a.imgnum; u++) {
  1609. var l = $('<img src=\'\' >').appendTo(d + ' .barrage_box .portrait');
  1610. l.attr('src', a.img);
  1611. }
  1612. }
  1613. }
  1614. if(a.superadmin){
  1615. div_barrager_box.prepend('<div class=\'portrait z\'></div>');
  1616. var l = $('<img src=\'https://shark.douyucdn.cn/app/douyu/res/page/room-normal/super_admin.png?v=20170706\'>').appendTo(d + ' .barrage_box .portrait');
  1617. $(d).find(".portrait").css("line-height","34px");
  1618. $(d).find(".portrait img").css("height","18px");
  1619. }
  1620. if (a.close) {
  1621. div_barrager_box.append(' <div class=\'close z\'></div>');
  1622. }
  1623. var m = $('<a title="'+a.username+'" href=\'\' target=\'_blank\'></a>').appendTo(d + ' .barrage_box .p');
  1624. m.attr({
  1625. 'href': a.href,
  1626. 'id': a.id
  1627. }).empty().append(a.info);
  1628. m.css('color', a.color);
  1629. m.css('font-size',a.size);
  1630. var i = 0;
  1631. e.css('margin-right', 0);
  1632. var dmw = ($(d).width() + 2) + 'px';
  1633. $(d).css('width', dmw);
  1634. $(d).css('right', '-' + dmw);
  1635. var dmtrim=$(d).width()/($(this).width()+500);
  1636. var dmtime=parseFloat(a.speed)+parseFloat(a.speed*dmtrim);
  1637. $(d).css("transition","transform "+dmtime+"s linear");
  1638. $(d).css("transform","translateX(-"+parseInt(200+j+$(d).width())+"px)");
  1639. $(d + '.barrage .barrage_box .close').click(function () {
  1640. $(d).remove();
  1641. });
  1642. $(d).on("transitionend",function(){
  1643. $(d).remove();
  1644. });
  1645. $(d).on("mouseover",function(){
  1646. var nowpos = $(this).css("transform");
  1647. nowpos=nowpos.split(",")[4];
  1648. $(d).css("transform","translateX("+nowpos+"px)");
  1649. if(a.focus!=1){
  1650. $(d).css("z-index",30);
  1651. }
  1652. $(d).off("transitionend");
  1653. });
  1654. $(d).on("mouseout",function(){
  1655. var nowpos = $(this).css("transform");
  1656. nowpos=nowpos.split(",")[4];
  1657. var nowtime =(1-(-nowpos)/parseInt(200+j+$(d).width()))*dmtime;
  1658. $(d).css("transform","translateX(-"+parseInt(200+j+$(d).width())+"px)");
  1659. $(d).css("transition","transform "+nowtime+"s linear");
  1660. if(a.focus!=1){
  1661. $(d).css("z-index",25);
  1662. }
  1663. $(d).on("transitionend",function(){
  1664. $(d).remove();
  1665. });
  1666. });
  1667. };
  1668. $.fn.barrager.removeAll = function () {
  1669. $('.barrage').remove();
  1670. };
  1671. }) (jQuery);
  1672. function dmplugin(){
  1673. GM_addStyle(`
  1674. .barrage {
  1675. cursor: pointer;
  1676. white-space: nowrap;
  1677. position: absolute;
  1678. bottom: 70px;
  1679. right: -1920px;
  1680. display: inline-block;
  1681. z-index: 20;
  1682. height: 34px;
  1683. min-width:100px;
  1684. }
  1685. .barrage.own .barrage_box{
  1686. border:2px solid #fff;
  1687. border-radius:20px;
  1688. }
  1689. .barrage_box {
  1690. overflow: hidden;
  1691. background-color: rgba(0,0,0,.5);
  1692. padding-right: 8px;
  1693. height: 34px;
  1694. display: inline-block;
  1695. border-radius: 25px;
  1696. transition: all .3s
  1697. }
  1698. .barrage_box .portrait {
  1699. display: inline-block;
  1700. margin-top: 4px;
  1701. margin-left: 5px;
  1702. height: 26px;
  1703. overflow: hidden
  1704. }
  1705. .barrage_box .portrait img {
  1706. height: 100%;
  1707. width: 100%:
  1708. }
  1709. .barrage_box div.p a {
  1710. text-shadow: #000000 1px 0px 1px, #000000 0px 1px 1px, #000000 0px -1px 1px, #000000 -1px 0px 1px;
  1711. margin-right: 2px;
  1712. color: #fff;
  1713. line-height: 34px;
  1714. margin-left: 18px
  1715. }
  1716. .barrage_box div.p a:hover {
  1717. text-decoration: underline
  1718. }
  1719. .barrage_box .close {
  1720. opacity: 0;
  1721. text-align: center;
  1722. width: 28px;
  1723. height: 25px;
  1724. margin-left: 10px;
  1725. border-radius: 50%;
  1726. margin-top: 5px;
  1727. 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/+BcY1SvAaGRl9tba2xohjMTG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A5kJtRseCUBEECMSI0AdmgBDooDaaDl8sASTSkyMlKzpqZGU1paGlS7MABLrX83b978A6zwwakTmE0YgIkSnHpBfGCV+gxYh98qKSk5CeTeAxVeQPwUiN8AMSjxgdLNX4AAYkRqCLBAXcMHtVwSaLkMMMHJAvOq9IQJE9R8fHxElJWV1bEF8aNHj+7t27fvLTDlXwXGLyhoH0OD+DnU0k/QYAa1QP8BBBAjWsuSFWo5LzRYxKFYAljqiAHzqxCwIBEwMTERBdZeoOYMA7Bl+RFYEbwB5oS3IA9D4/IFEL+E4nfQ6IDFLTgvAwQQI5ZmLRtSsINSuyA0uwlBUyQPMPWD20/AKo8ByP4DTJTfgRgUjB+gFoEc8R6amGDB+wu5mQsQQIxYmrdMUJ+zQTM6NzQEeKGO4UJqOzFADQMZ/A1qCSzBfQXi71ALfyM17sEAIIAY8fQiWKAYFgIwzIbWTv4HjbdfUAf8RPLhH1icojfoAQKIEU8bG9kRyF0aRiz6YP0k5C4LsmUY9TtAADEyEA+IVfufGEUAAQYABejinPr4dLEAAAAASUVORK5CYII=");
  1728. }
  1729. .barrage_box:hover .close {
  1730. visibility: visible;
  1731. opacity: 1
  1732. }
  1733. .barrage_box .close a {
  1734. display: block
  1735. }
  1736. .barrage_box .close .icon-close {
  1737. font-size: 14px;
  1738. color: rgba(255,255,255,.5);
  1739. display: inline-block;
  1740. margin-top: 5px
  1741. }
  1742. .barrage .z {
  1743. float: left!important
  1744. }
  1745. .barrage a {
  1746. text-decoration: none;
  1747. }
  1748. `);
  1749. }
  1750. function publiccss(){
  1751. GM_addStyle(`
  1752. .slideThree {
  1753. width: 80px;
  1754. height: 26px;
  1755. background: #333;
  1756. float:left;
  1757. position: relative;
  1758. -moz-border-radius: 50px;
  1759. -webkit-border-radius: 50px;
  1760. border-radius: 50px;
  1761. -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
  1762. -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
  1763. box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
  1764. }
  1765. .slideThree p{
  1766. margin-top:-20px;
  1767. text-align:center;
  1768. }
  1769. .slideThree:after {
  1770. content: 'OFF';
  1771. color: #000;
  1772. top:1px;
  1773. position: absolute;
  1774. right: 10px;
  1775. z-index: 0;
  1776. font: 12px/26px Arial, sans-serif;
  1777. font-weight: bold;
  1778. text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.15);
  1779. }
  1780. .slideThree:before {
  1781. content: 'ON';
  1782. color: #00bf00;
  1783. position: absolute;
  1784. left: 10px;
  1785. z-index: 0;
  1786. font: 12px/26px Arial, sans-serif;
  1787. font-weight: bold;
  1788. }
  1789. .slideThree label {
  1790. display: block;
  1791. width: 34px;
  1792. height: 20px;
  1793. cursor: pointer;
  1794. position: absolute;
  1795. top: 3px;
  1796. left: 3px;
  1797. z-index: 1;
  1798. background: #fcfff4;
  1799. background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  1800. background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  1801. background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  1802. -moz-border-radius: 50px;
  1803. -webkit-border-radius: 50px;
  1804. border-radius: 50px;
  1805. -moz-transition: all 0.4s ease;
  1806. -o-transition: all 0.4s ease;
  1807. -webkit-transition: all 0.4s ease;
  1808. transition: all 0.4s ease;
  1809. -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  1810. -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  1811. box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  1812. }
  1813. .slideThree input[type=checkbox] {
  1814. visibility: hidden;
  1815. }
  1816. .slideThree input[type=checkbox]:checked + label {
  1817. left: 43px;
  1818. }
  1819. #dmjs{
  1820. position:absolute;
  1821. right:20px;
  1822. bottom:55%;
  1823. z-index:99;
  1824. }
  1825. .dmnumbox{
  1826. height:40px;
  1827. background: rgba(170,170,170,.5);
  1828. padding: 5px 10px;
  1829. border-radius: 25px;
  1830. }
  1831. .dmnumbox>div{
  1832. float:left
  1833. }
  1834. .numpic{
  1835. background-repeat:no-repeat;
  1836. background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAFHCAYAAACs+hynAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowODc4Mzg0YS1lZjgxLTY3NDctOTRlYy02ODcxNmMxNWMxYTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjMyOEUxREE1MTR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EVs4NyxhjteJujwoDTIo2FIednc3rf0B4rGjZDG9viZq1Cx3KDZe1uDHWyrsE5clbw/DXm1Z9EzEyI3R7UhMv6QSYvScN++GZw18/sSo5f8EDo5Lta625t/yE0YxdUWOOcsTW6w1VrA4sY6SmXBuTy/aZkYCe/bCLCSGW2Z2nokVcBECPv0JXkk0Cljf7Q0V0PD3jbsQNhoMz6m1HdiUjhenite6+q5EUKd/EyWlQ3Q8NBWfnLe+UHWZ2bf9+kZiftLrfvF/MM26FTuXsP2GUl0ro+6P9t7MQiRobggL+8qx0TQ9U1SUrVnFdT1IE4az+8z8g5EIDQiC+O4G3SBFaVyxAZe7e5lAMNTCAQ5GzFzOYpIWRFKtMjVckyE6J0H6JiZGv80ZBJpmL4Sg/BUZkFK9La/3DEzs2pxzi+UiSg+ZkbE0G7Wx9DOx0T8lwADAAvo3YGauu6EAAAAAElFTkSuQmCC");
  1837. }
  1838. .alln{
  1839. width: 20px;
  1840. height: 28px;
  1841. margin-top: 7px;
  1842. }
  1843. .n0 {
  1844. background-position:0 -25px;
  1845. }
  1846. .n1 {
  1847. background-position:0 -57px;
  1848. }
  1849. .n2 {
  1850. background-position:0 -88px;
  1851. }
  1852. .n3 {
  1853. background-position:0 -120px;
  1854. }
  1855. .n4 {
  1856. background-position:0 -152px;
  1857. }
  1858. .n5 {
  1859. background-position:0 -184px;
  1860. }
  1861. .n6 {
  1862. background-position:0 -215px;
  1863. }
  1864. .n7 {
  1865. background-position:0 -246px;
  1866. }
  1867. .n8 {
  1868. background-position:0 -276px;
  1869. }
  1870. .n9 {
  1871. background-position:0 -304px;
  1872. }
  1873. .nx{
  1874. width:20px;
  1875. height:20px;
  1876. margin-top:15px;
  1877. margin-left:5px;
  1878. }
  1879. .icon6{
  1880. background-image:url("https://shark.douyucdn.cn/app/douyu/res/page/room-normal/face/dy101.png?v=20161108");
  1881. background-repeat:no-repeat;
  1882. width:37px;
  1883. height:37px;
  1884. }
  1885. .iconq{
  1886. background-image:url("https://shark.douyucdn.cn/app/douyu/res/page/room-normal/face/dy012.png?v=20161108");
  1887. background-repeat:no-repeat;
  1888. width:37px;
  1889. height:37px;
  1890. }
  1891. .anim{
  1892. animation: number .1s;
  1893. }
  1894. @keyframes number
  1895. {
  1896. from {transform: scale(2);}
  1897. to {transform: scale(1);}
  1898. }
  1899. #dmsize{
  1900. width:35px;
  1901. }
  1902. .highlinechat{
  1903. background: #ffebde;
  1904. border: 1px solid #ffb3b3;
  1905. border-radius: 5px;
  1906. }
  1907. `);
  1908. }
  1909. function huyacss(){
  1910. GM_addStyle(`
  1911. .g-gift.g-show{
  1912. display:none!important;
  1913. }
  1914. #fansbox{
  1915. margin-left: 10px;
  1916. background: #ff8a00;
  1917. border: 1px solid #c5863c;
  1918. color: #fff;
  1919. }
  1920. .msg-nobleEnter{
  1921. display:none!important;
  1922. }
  1923. msg-nobleSpeak{
  1924. display:none!important;
  1925. }
  1926. #J-weekRank{
  1927. position:absolute;
  1928. width:100%;
  1929. }
  1930. .subscribe-notice{
  1931. display:none!important;
  1932. }
  1933. .chat-room__bd3{
  1934. height: 875px!important;
  1935. }
  1936. `);
  1937. }
  1938. function pandacss(){
  1939. GM_addStyle(`
  1940. .room-chat-tag-user-level,.room-chat-tag-plat-mobile,.room-chat-tags,.room-co-activity-container,.time-limit-task-container{
  1941. display:none!important;
  1942. }
  1943. #opendmbt {
  1944. float: left;
  1945. width: 100px;
  1946. height: 33px;
  1947. line-height: 33px;
  1948. border: 1px solid #FD7521;
  1949. margin-left: 5px;
  1950. text-align: center;
  1951. cursor: pointer;
  1952. font-size: 14px;
  1953. background:#fff;
  1954. }
  1955. #dmkg {
  1956. width: 20px;
  1957. height: 33px;
  1958. float: right;
  1959. background-color: #333;
  1960. }
  1961. #dmset {
  1962. margin: 6px 0 0 5px;
  1963. width:25px;
  1964. height:25px;
  1965. cursor: pointer;
  1966. float:left;
  1967. background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QAiRXhpZgAATU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9nfYWij8iGJISvmybtpjdt2RnzMbRjJAOb/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");
  1968. background-size:cover;
  1969. background-repeat:no-repeat;
  1970. }
  1971. #dmsetbox {
  1972. position: absolute;
  1973. width: 265px;
  1974. height: 210px;
  1975. background-color: #ffffff;
  1976. border: 1px solid;
  1977. right: -100px;
  1978. display: none;
  1979. z-index:999;
  1980. top:-190px;
  1981. }
  1982. #filtertext {
  1983. width: 230px;
  1984. margin-left: 7px;
  1985. }
  1986. #setfilterbt {
  1987. width: 100px;
  1988. height: 25px;
  1989. margin: 5px auto;
  1990. display: block;
  1991. background-color: #FD7521;
  1992. border: 1px solid #ccc;
  1993. color: #fff;
  1994. cursor: pointer;
  1995. }
  1996. #dmspeed {
  1997. width: 35px;
  1998. }
  1999. #dmop {
  2000. width: 35px;
  2001. }
  2002. `);
  2003. }
  2004. function douyucss(){
  2005. GM_addStyle(`
  2006. .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{
  2007. display:none!important;
  2008. }
  2009. .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{
  2010. display:none!important;
  2011. }
  2012. .pip{
  2013. position:absolute;
  2014. margin-top:-25px;
  2015. right:0px;
  2016. background:url(https://shark.douyucdn.cn/app/douyu/res/com/head-pericos.png) 0 4px no-repeat;
  2017. display:block;
  2018. width:56px;
  2019. padding-left:20px;
  2020. cursor:pointer;
  2021. }
  2022. #showsebox {
  2023. width: 120px;
  2024. height: 35px;
  2025. border: none;
  2026. background-color: #FD7521;
  2027. color: #fff;
  2028. font-size: 16px;
  2029. cursor: pointer;
  2030. float: left;
  2031. }
  2032. #opendmbt {
  2033. float: left;
  2034. width: 100px;
  2035. height: 33px;
  2036. line-height: 33px;
  2037. border: 1px solid #FD7521;
  2038. margin-left: 5px;
  2039. text-align: center;
  2040. cursor: pointer;
  2041. font-size: 14px;
  2042. background:#fff;
  2043. }
  2044. #dmkg {
  2045. width: 20px;
  2046. height: 33px;
  2047. float: right;
  2048. background-color: #333;
  2049. }
  2050. #dmset {
  2051. margin: 6px 0 0 5px;
  2052. width:25px;
  2053. height:25px;
  2054. cursor: pointer;
  2055. float:left;
  2056. background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAsAC0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECA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4d8OppHh20CDc8xSGNIppFA3AuZJQAcHGa/RrwJ/wR2+F37OHx98A+KvD+reNpZ9M1USwWN7e201oGSJymf9HEhwQD/rOoFfbVAH5c/8G/vgHxNp/jfxb4nbwXC3hPWNOW0t/FNwPLlWWObLWttn/WxOcmRkAUPboCxICj9Rqr6TpNroGlWtjY2tvZWNlEkFvbwRiOKCNQFVEVcBVUAAADAAxVigD//Z");
  2057. background-size:cover;
  2058. background-repeat:no-repeat;
  2059. }
  2060. #dmsetbox {
  2061. position: absolute;
  2062. width: 265px;
  2063. height: 360px;
  2064. background-color: #ffffff;
  2065. border: 1px solid;
  2066. right: -100px;
  2067. top: -370px;
  2068. display: none;
  2069. }
  2070. #filtertext {
  2071. width: 230px;
  2072. margin-left: 7px;
  2073. }
  2074. #setfilterbt {
  2075. width: 100px;
  2076. height: 25px;
  2077. margin: 5px auto;
  2078. display: block;
  2079. background-color: #FD7521;
  2080. border: 1px solid #ccc;
  2081. color: #fff;
  2082. cursor: pointer;
  2083. }
  2084. #dmspeed {
  2085. width: 35px;
  2086. }
  2087. #dmop {
  2088. width: 35px;
  2089. }
  2090. #userlevel{
  2091. width: 35px;
  2092. }
  2093. #sebox {
  2094. display: none;
  2095. z-index: 9999;
  2096. position: fixed;
  2097. width: 513px;
  2098. height: 330px;
  2099. cursor: move;
  2100. bottom: 30px;
  2101. right: 30px;
  2102. background-color: #FFF;
  2103. border: 1px solid #ff630e;
  2104. -webkit-box-shadow: 10px 10px 25px #ccc;
  2105. -moz-box-shadow: 10px 10px 25px #ccc;
  2106. box-shadow: 10px 10px 25px #000;
  2107. }
  2108. #seflash {
  2109. width: 100%;
  2110. height: 100%;
  2111. }
  2112. #coor {
  2113. width: 10px;
  2114. height: 10px;
  2115. overflow: hidden;
  2116. cursor: se-resize;
  2117. position: absolute;
  2118. right: 0;
  2119. bottom: 0;
  2120. background-color: #FF630E;
  2121. }
  2122. #seboxtitle {
  2123. width: 100%;
  2124. height: 35px;
  2125. background-color: #FF630E;
  2126. position: absolute;
  2127. top: -35px;
  2128. border: 1px solid #FF630E;
  2129. margin-left: -1px;
  2130. }
  2131. #changeroom {
  2132. color: #fff;
  2133. font-size: 14px;
  2134. line-height: 35px;
  2135. float: right;
  2136. margin-right: 100px;
  2137. text-decoration: underline;
  2138. cursor: pointer;
  2139. display: none;
  2140. }
  2141. #closesebox {
  2142. cursor: pointer;
  2143. position: absolute;
  2144. right: 10px;
  2145. line-height: 33px;
  2146. font-size: 16px;
  2147. color: #fff;
  2148. }
  2149. #setroom {
  2150. top: 10%;
  2151. left: 25%;
  2152. position: absolute;
  2153. }
  2154. #roomid {
  2155. line-height: 20px;
  2156. padding: 5px 10px;
  2157. }
  2158. #setroomid {
  2159. cursor: pointer;
  2160. margin-left: 5px;
  2161. height: 34px;
  2162. width: 60px;
  2163. background-color: #FE630E;
  2164. border: none;
  2165. border-radius: 5px;
  2166. color: #fff;
  2167. font-size: 18px;
  2168. }
  2169. #cancelchange {
  2170. cursor: pointer;
  2171. margin-left: 5px;
  2172. height: 34px;
  2173. width: 60px;
  2174. background-color: #FFF;
  2175. border: none;
  2176. border-radius: 5px;
  2177. color: #000;
  2178. font-size: 18px;
  2179. }
  2180. #fansbox {
  2181. line-height: 22px;
  2182. width: 90px;
  2183. margin-left: 10px;
  2184. background-color: #FD7521;
  2185. border: 1px solid #ddd;
  2186. color: #ffffff;
  2187. }
  2188. #dm {
  2189. z-index: 9999;
  2190. position: absolute;
  2191. left: 162px;
  2192. top: 5px;
  2193. border: 1px solid;
  2194. padding: 2px 6px;
  2195. cursor: pointer;
  2196. }
  2197. #js-room-video{
  2198. overflow:hidden;
  2199. }
  2200. `);
  2201. }
  2202. function longzhucss(){
  2203. GM_addStyle(`
  2204. .top-banner-pic,#right-nav,.gift-guide,.chatroom-ap,.task_finished_dialog,.challenge-task,.fresh-guide,.tp-link{
  2205. display:none!important;
  2206. }
  2207. `);
  2208. }
  2209. function zhanqicss(){
  2210. GM_addStyle(`
  2211. .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{
  2212. display:none!important;
  2213. }
  2214. #js-flash-layer{
  2215. position:relative;
  2216. }
  2217. #js-flash-panel{
  2218. overflow:hidden;
  2219. }
  2220. .js-right-chat-layer{
  2221. height:71%!important;
  2222. padding:160px 0 6px!important;
  2223. }
  2224. .js-chat-msg-scroll{
  2225. margin-top: 0px!important;
  2226. }
  2227. #opendmbt {
  2228. float: left;
  2229. width: 100px;
  2230. height: 33px;
  2231. line-height: 33px;
  2232. border: 1px solid #FD7521;
  2233. margin-left: 5px;
  2234. text-align: center;
  2235. cursor: pointer;
  2236. font-size: 14px;
  2237. background:#fff;
  2238. }
  2239. #dmkg {
  2240. width: 20px;
  2241. height: 33px;
  2242. float: right;
  2243. background-color: #333;
  2244. }
  2245. #dmset {
  2246. margin: 6px 0 0 5px;
  2247. width:25px;
  2248. height:25px;
  2249. cursor: pointer;
  2250. float:left;
  2251. background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAsAC0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJ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pNroGlWtjY2tvZWNlEkFvbwRiOKCNQFVEVcBVUAAADAAxVigD//Z");
  2252. background-size:cover;
  2253. background-repeat:no-repeat;
  2254. }
  2255. #dmsetbox {
  2256. position: absolute;
  2257. width: 265px;
  2258. height: 180px;
  2259. background-color: #ffffff;
  2260. border: 1px solid;
  2261. right: -100px;
  2262. display: none;
  2263. z-index:999;
  2264. top:-190px;
  2265. }
  2266. #filtertext {
  2267. width: 230px;
  2268. margin-left: 7px;
  2269. }
  2270. #setfilterbt {
  2271. width: 100px;
  2272. height: 25px;
  2273. margin: 5px auto;
  2274. display: block;
  2275. background-color: #FD7521;
  2276. border: 1px solid #ccc;
  2277. color: #fff;
  2278. cursor: pointer;
  2279. }
  2280. #dmspeed {
  2281. width: 35px;
  2282. }
  2283. #dmop {
  2284. width: 35px;
  2285. }
  2286. `);
  2287. }
  2288. }) ();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址