斗鱼lol简化

简化斗鱼lol分区!

  1. // ==UserScript==
  2. // @name 斗鱼lol简化
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.5
  5. // @description 简化斗鱼lol分区!
  6. // @author Yue
  7. // @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js
  8. // @match https://www.douyu.com/g_LOL
  9. // @match https://www.douyu.com/*
  10. // @icon https://www.douyu.com/favicon.ico
  11. // @license GNU General Public License v3.0
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17. $(document).ready(function(){
  18. var eleArr = ['#groupListBox > div.index-wrapperBox-fPzNk','#js-aside','body > section > main > section.layout-Customize','#listAll > div.layout-Module-head.ListHeader--customer','#js-header > div > div > div.Header-left > div > ul > li:nth-child(5)','#js-header > div > div > div.Header-left > div > ul > li:last-child','#js-room-activity > div','#js-player-toolbar','#js-player-title > div > div.Title-roomInfo > div:nth-child(3)'];
  19. eleArr.forEach(function (ele){
  20. if ($(ele)[0]) {
  21. $(ele).remove()
  22. } else {
  23. setTimeout(function () {
  24. $(ele).remove()
  25. }, 1000);
  26. }
  27. })
  28. $('.layout-Player-announce').remove()
  29. $('.layout-Player-rank').remove()
  30. $('#js-room-activity').remove()
  31. $('#js-player-barrage').css('top','15px')
  32. $('.layout-Player-video').css('bottom',0)
  33. $('#js-player-toolbar').remove()
  34. })
  35. })();

QingJ © 2025

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