规则介绍
去除所有广告,然后根据自己个人习惯做了一些规则,都已经备注好了,大家可以自己修改,导入时候需要去掉备注行
截图预览
'斗鱼顶部导航
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-left:first-child > DIV.Header-menu-wrap:last-child > UL.Header-menu > LI.Header-menu-link:nth-child(1)
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-left:first-child > DIV.Header-menu-wrap:last-child > UL.Header-menu > LI.Header-menu-link:nth-child(4)
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-left:first-child > DIV.Header-menu-wrap:last-child > UL.Header-menu > LI.Header-menu-link:nth-child(5)
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-left:first-child > DIV.Header-menu-wrap:last-child > UL.Header-menu > LI.Header-menu-link:nth-child(6)
douyu.com###header > DIV.head.w1366head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(1)
douyu.com###header > DIV.head.w1366head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(4)
douyu.com###header > DIV.head.w1366head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(5)
douyu.com###header > DIV.head.w1366head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(6)
douyu.com###header > DIV.head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(1)
douyu.com###header > DIV.head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(4)
douyu.com###header > DIV.head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(5)
douyu.com###header > DIV.head > UL.header_nav.fl.js_head_menu:nth-child(2) > LI:nth-child(6)
'右下角友邻
douyu.com###js-bottom-right
'直播框下面所有组件
douyu.com###js-bottom-left
douyu.com###js-player-guessgame
'右边活动
douyu.com###js-room-activity
'标题下面广告、分享、客户端看
douyu.com###js-player-title > DIV.Title > DIV.Title-roomOtherBottom:last-child
'左边导航栏
douyu.com###js-aside
'礼物栏礼物
douyu.com###js-player-toolbar > DIV.PlayerToolbar > DIV.PlayerToolbar-Content:first-child > DIV.PlayerToolbar-ContentRow > DIV.PlayerToolbar-ContentCell:last-child
'礼物栏广告
douyu.com###js-player-toolbar > DIV.PlayerToolbar > DIV.PlayerToolbar-Content:first-child > DIV.PlayerToolbar-ContentRow > DIV.PlayerToolbar-ContentCell.is-full:first-child > DIV.ToolbarActivityArea:last-child > DIV:last-child
'礼物栏签到可得
douyu.com###js-player-toolbar > DIV.PlayerToolbar > DIV.PlayerToolbar-Content:first-child > DIV.PlayerToolbar-ContentRow > DIV.PlayerToolbar-ContentCell.is-full:first-child > DIV.ToolbarActivityArea:last-child > DIV:first-child > DIV > DIV.ActivityItem:last-child
'免费宝箱底部广告
douyu.com###js-player-toolbar > DIV.PlayerToolbar > DIV.PlayerToolbar-Content:first-child > DIV.PlayerToolbar-reactGroup:nth-child(2) > DIV.PlayerToolbar-OnlineYw:last-child > DIV > DIV.RewardModule > DIV > DIV.RewardModal:last-child > DIV.RewardModal-rewardList:last-child > DIV.RewardModal-ad:last-child
'关注页面顶部广告(2)、可能喜欢的
douyu.com###js-follow > SECTION.layout-Banner:first-child
douyu.com###js-follow > SECTION.layout-Module.FollowList-wrapper:last-child > DIV.layout-Module-head.FollowList-head:first-child > DIV.layout-Module-extra:nth-child(3)
douyu.com###js-follow > SECTION.layout-Module.FollowList-wrapper:last-child > DIV.layout-Module-container.layout-Cover.FollowList-layoutContainer:last-child > UL.layout-Cover-list > LI.layout-Cover-item:first-child
'右上角观看历史、开播、客户端下载、消息
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-right:last-child > DIV.Header-history-wrap:nth-child(2)
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-right:last-child > DIV.Header-broadcast-wrap:nth-child(4)
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-right:last-child > DIV.Header-download-wrap:nth-child(5)
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-right:last-child > DIV.Header-yubamessage-wrap:nth-child(6)
'关注、分类(2)按钮下面广告
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-right:last-child > DIV.Header-follow-wrap:nth-child(3) > DIV.DropPane.Follow > DIV.public-DropMenu.is-hover > DIV.public-DropMenu-drop:last-child > DIV.public-DropMenu-drop-main:first-child > DIV > DIV.DropPane-ad:last-child
douyu.com###js-header > DIV.Header-wrap.is-darkMode > DIV.Header > DIV.Header-left:first-child > DIV.Header-menu-wrap:last-child > UL.Header-menu > LI.Header-menu-link:nth-child(3) > DIV.public-DropMenu.Category.is-hover > DIV.public-DropMenu-drop:last-child > DIV.public-DropMenu-drop-main:first-child > DIV.DropMenuList-ad:last-child
douyu.com###js-header > DIV.Header-wrap > DIV.Header > DIV.Header-left:first-child > DIV.Header-menu-wrap:last-child > UL.Header-menu > LI.Header-menu-link:nth-child(3) > DIV.public-DropMenu.Category.is-hover > DIV.public-DropMenu-drop:last-child > DIV.public-DropMenu-drop-main:first-child > DIV.DropMenuList-ad:last-child
'弹幕栏广告
douyu.com###js-player-barrage > DIV.Barrage > DIV:nth-child(2) > DIV.SignBarrage:nth-child(4)
'弹幕栏抢宝箱
douyu.com###js-player-asideMain > DIV > DIV.layout-Player-asideMainTop:first-child > DIV.layout-Player-effect:last-child > DIV.TreasureWrap:first-child > DIV.TreasureDetail:last-child
'开通游侠提示
douyu.com##DIV.PaladinWeek-toast:nth-child(26)
'LPL房间悬浮窗
douyu.com###bc284
Comments | 10 条评论
gan
‘礼物栏礼物
‘礼物栏广告
不能用了
請更新謝謝
saintjacklondon
不去掉备注会有影响吗
Altria
大哥,斗鱼顶部规则好像不能用了
AAAA
‘礼物栏礼物
‘礼物栏广告
不能用了
我需要能更新吗
yuehun
@AAAA : 更新了,广告只删一部分,有的需要用
aaaa
不能用了
yuehun
@aaaa : 好久没用电脑看直播了,肯定更新了好多,但大部分规则没问题
Ride
手动点赞!
Ride
大咖,目前斗鱼长效直播源能提取么?期待直播源获取工具再更新。
yuehun
@Ride : 看什么时候不懒吧