uBlockOrigin / uBlock-issues

This is the community-maintained issue tracker for uBlock Origin
https://github.com/gorhill/uBlock
928 stars 78 forks source link

Message to show when a filter cannot be found in any filter lists……It cracked my visited site. #2566

Closed lshilshi closed 1 year ago

lshilshi commented 1 year ago

Prerequisites

I tried to reproduce the issue when...

Description

It blocked almost every request,such as get…… Message to show when a filter cannot be found in any filter lists

ublock

A specific URL where the issue occurs.

everywhere

Steps to Reproduce

I don't know whta it happended firstly.

Expected behavior

Block ads or tracks with the list.

Actual behavior

It blocked almost every request,such as get……

uBO version

1.48.0

Browser name and version

chrome x64, v107.0.5304.107

Operating System and version

win10 x64

gwarser commented 1 year ago

Please share info from uBO popup -> chat icon -> Troubleshooting information.


almost every request

What was not blocked, then?

,such as get

POST was not blocked?

lshilshi commented 1 year ago

Please share info from uBO popup -> chat icon -> Troubleshooting information.

almost every request

What was not blocked, then?

,such as get

POST was not blocked?

POST was blocked and so.

uBlock Origin: 1.48.0
Chromium: 107
filterset (summary): 
  network: 417218
  cosmetic: 46656
  scriptlet: 20632
  html: 0
listset (total-discarded, last-updated): 
  removed: 
    CHN-0: null
    easylist: null
    easyprivacy: null
    plowe-0: null
    ublock-badware: null
    ublock-privacy: null
  added: 
    https://cdn.jsdelivr.net/gh/francis-zhao/quarklist/dist/quarklist.txt: 553-1, 1d.2h.24m
    https://cdn.jsdelivr.net/gh/xinggsf/Adblock-Plus-Rule@master/mv.txt: 227-2, 2h.30m
    https://cdn.jsdelivr.net/gh/xinggsf/Adblock-Plus-Rule@master/rule.txt: 1206-7, 1d.2h.23m
    https://easylist-downloads.adblockplus.org/easylistchina.txt: 25433-70, 1d.2h.35m
    https://gist.githubusercontent.com/imba-tjd/2c9817233ac6798d4f2bfe057f781ca5/raw/IMBALIST.TXT: 461-198, 9d.10h.56m
    https://raw.fastgit.org/DandelionSprout/adfilt/master/BrowseWebsitesWithoutLoggingIn.txt: 357-0, 22h.3m
    https://raw.fastgit.org/DandelionSprout/adfilt/master/ClearURLs%20for%20uBo/clear_urls_uboified.txt: 700-8, 22h.1m
    https://raw.fastgit.org/DandelionSprout/adfilt/master/LegitimateURLShortener.txt: 2145-79, 21h.59m
    https://raw.fastgit.org/JPLiu/TestFiles/main/uBlock-Origin/Liu's-Clear-List.list: 245-75, 22h.4m
    https://raw.fastgit.org/Silentely/AdBlock-Acceleration/main/AdGuard_Simplified_Domain_Names_Filter.txt: 50089-7690, 9d.10h.43m
    https://raw.fastgit.org/Silentely/AdBlock-Acceleration/main/Hblock_hosts: 330156-48915, 20d.4h.9m
    https://raw.fastgit.org/Silentely/AdBlock-Acceleration/main/I_dont_care_about_cookies.txt: 25641-10, 22h.5m
    https://raw.fastgit.org/Silentely/AdBlock-Acceleration/main/antiadblockfilters.txt: 949-8, 21h.58m
    https://raw.fastgit.org/cjx82630/cjxlist/master/cjx-ublock.txt: 70-1, 22h.2m
    https://raw.githubusercontent.com/IDKwhattoputhere/uBlock-Filters-Plus/master/uBlock-Filters-Plus.txt: 651-56, 3d.7h.53m
    https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt: 1842-21, 1d.2h.32m
    https://raw.githubusercontent.com/dupontjoy/customization/master/Rules/uBlock/cinglist-ubo.txt: 68-0, 2h.26m
    https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt: 1067-138, 1d.10h.13m
    curben-phishing: 65345-12157, 2h.32m
    curben-pup: 191-0, 2h.31m
    [1 lists not shown]: [too many]
  default: 
    user-filters: 228-0, never
    ublock-abuse: 78-7, 1d.10h.9m
    ublock-filters: 33099-298, 1d.2h.30m
    ublock-quick-fixes: 387-164, 2h.29m
    ublock-unbreak: 1942-5, 1d.2h.29m
    urlhaus-1: 6995-380, 2h.27m
filterset (user): [array of 229 redacted]
trustedset: 
  added: [array of 3 redacted]
  removed: 
    chrome-scheme
    edge-scheme
switchRuleset: 
  added: [array of 19 redacted]
  removed: 
    no-large-media: behind-the-scene false
hostRuleset: 
  added: [array of 232 redacted]
  removed: 
    behind-the-scene * * noop
    behind-the-scene * image noop
    behind-the-scene * 3p noop
    behind-the-scene * inline-script noop
    behind-the-scene * 1p-script noop
    behind-the-scene * 3p-script noop
    behind-the-scene * 3p-frame noop
urlRuleset: 
  added: [array of 59 redacted]
modifiedUserSettings: 
  advancedUserEnabled: true
  cloudStorageEnabled: true
  contextMenuEnabled: false
  largeMediaSize: 1000
  suspendUntilListsAreLoaded: true
  tooltipsDisabled: true
  webrtcIPAddressHidden: true
modifiedHiddenSettings: 
  autoCommentFilterTemplate: {{hostname}}
  autoUpdatePeriod: 24
  filterAuthorMode: true
supportStats: 
  allReadyAfter: 311 ms (selfie)
  maxAssetCacheWait: 238 ms
popupPanel: 
  blocked: 52
  no-large-media: true
  blockedDetails: 
    github.com: 5
    avatars.githubusercontent.com: 5
    githubassets.com: 41
    user-images.githubusercontent.com: 1
gorhill commented 1 year ago

Guessing storage corruption: did you try to purge-all/update now? Also, you have 229 custom filters, we would need to investigate if one of these is problematic.

lshilshi commented 1 year ago

Guessing storage corruption: did you try to purge-all/update now? Also, you have 229 custom filters, we would need to investigate if one of these is problematic.

I checked the custom filters, there are not global filters.It is logical that it should not disturb the browsing of all websites.

I have purge-all/update filters subs, It's still bad.

gorhill commented 1 year ago

Can you try shift-click purge all caches?

If this doesn't work, can you share your custom filters?


As per your screenshot, is it only images which are blocked?

lshilshi commented 1 year ago

Can you try shift-click purge all caches?

If this doesn't work, can you share your custom filters?

As per your screenshot, is it only images which are blocked?

From memory It had this failure after closing a subscription filter.

I had try shift-click purge all caches, failure still.

It blocked post and get, image / script / xhr etc of 1st-party or 3rd-party. If ublock is enabled currently, I can't reply to the issue now.

My custom filters as below:

!
! Block access to local services
!
||127.0.^$3p,script,frame
||localhost^$3p,important
||[::1]^$3p,important
||192.168.^$3p,important

!
! Block third-party requests from unsecure websites
!
! http://*^$third-party,script,subdocument,object,ping,websocket,xmlhttprequest
!
/://[^\/]*/\w{40,}\.js$/$script
/://js\.[^\/]*/fc-\d{4}-\d\.js/$script
/://js\d{3,4}\..*\/[a-z]-\d+-\d+\.js/$script
/://s\.[^\/]*/m-\d+-0(?:\b|-\d+)/
/^https?://\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(|:\d{2,5})/.+&callback=/

! 将以iframe框架方式的外链视频改为点击加载
||youtube.com/embed/$3p,frame,redirect=click2load.html
||player.bilibili.com/player.html$3p,frame,redirect=click2load.html
||qq.com/txp/iframe/player.html$3p,frame,redirect=click2load.html
||player.youku.com/embed/$3p,frame,redirect=click2load.html

!
! Allow stylesheet
!
@@*$stylesheet

!
! Bypass adblock detect
!
!@@||https://www.youneed.win/wp-content/plugins/detect-adblock/js/ads.js
!
! Block adblock detect
!
! Block Ads
##DIV[class*=ban_bottom]
##DIV[class*=app_dl]
*ads_banner*$all

! 消除参数
*$removeparam=utm_source
vip.com$removeparam=ff

! baidu.com
baidu.com###content_left>div:has(a:contains(https://www.kafan.cn/edu/))
baidu.com###content_left>div:has(a:contains(https://www.kafan.cn/category/))
||pan.baidu.com#@##dialog1

! item.jd.com
@@||360buyimg.com/*lazyinit/ad.js^$script,domain=item.jd.com
|
! gitee
||gitee.com/assets/weixin/button-banner.png
||gitee.com/assets/weixin/close.png
gitee.com##.ent-poster-ads
gitee.com##.side-toolbar

! 搜狗底部其它产品的广告和备案信息,和右下角标
www.sogou.com###QRcode-footer
www.sogou.com###miniQRcode

! csdn右下角标、论坛里的各种相关链接、备案信息、缩放不为100%的提示
||csdnimg.cn/passport/login-banner.png$image
bbs.csdn.net##.post_recommend
bbs.csdn.net##.csdn-side-toolbar
bbs.csdn.net###rightList
bbs.csdn.net###left-box > .mod_topic_wrap
bbs.csdn.net###totast-js
bbs.csdn.net###navs
blog.csdn.net##.leftPop
blog.csdn.net,bbs.csdn.net##.footer_box
blog.csdn.net##.recommend-recommend-box
blog.csdn.net##.mb8.csdn-tracking-statistics
blog.csdn.net###blogColumnPayAdvert
blog.csdn.net###marketingBox
csdn.net##.csdn-side-toolbar
www.csdn.net##aside>div.slide-outer.right_top
www.csdn.net###kp_box_www_swiper
csdn.net##div.toolbar-btn-vip
||img-home.csdnimg.cn/images/20211104040000.gif
||img-home.csdnimg.cn/images/20211116034255.gif
||img-home.csdnimg.cn/images/20220511103035.gif
||img-home.csdnimg.cn/images/20220506054507.png
!自动展开文章和评论
blog.csdn.net##.hide-article-box
blog.csdn.net###article_content:style(height: inherit !important)
blog.csdn.net###commentPage:style(display: block !important)
blog.csdn.net###commentPage+div
blog.csdn.net##.comment-list-box:style(max-height: none !important)
blog.csdn.net##+js(rc, set-code-hide, #content_views pre)
blog.csdn.net##div.hide-preCode-box
!避免出现横向滚动条
blog.csdn.net##div.toolbar-container:style(min-width: 1000px !important)
blog.csdn.net##body:style(min-width: 1000px !important)

! 机场背景那个耗CPU的样式
||cdn.jsdelivr.net/npm/canvas-nest.js*$script
*/js/canvas-nest.min.js|$script
*/assets/js/particle.js|$script
|https://files.cnblogs.com/files/jingmoxukong/canvas-nest.min.js|

! 斗鱼
www.douyu.com#js-rec-follow
! 缩放不为100%的提示
v.douyu.com##.pop-zoom
v.douyu.com##.pop-zoom-cover
v.douyu.com##.pop-zoom-wrap
www.douyu.com##.ZoomTip
www.douyu.com##.pop-zoom

! 百度文库,一些VIP广告,以及顶部固定的搜索条
wenku.baidu.com##.btn-pay-vip
wenku.baidu.com##.super-vip.doc-banner-tip
wenku.baidu.com##.super-vip.doc-bottom-tip
wenku.baidu.com##.ad-taishan-bar
wenku.baidu.com##.fix-searchbar-wrap
wenku.baidu.com##.fixed.super-vip.doc-tag-wrap
wenku.baidu.com##.super-vip.top-ads-banner-wrap
wenku.baidu.com##.experience-card-wrap
wenku.baidu.com##.vip-pop-wrap
wenku.baidu.com##.sidebar-wrapper
wenku.baidu.com##.pay-layer1509-wrapper
wenku.baidu.com##.vip-activity-wrap-new
wenku.baidu.com##.doc-price-voucher-wrap
wenku.baidu.com##.pay-text-link-container
wenku.baidu.com##.vip-card-wrap
wenku.baidu.com##.vip-member-pop-content
wenku.baidu.com##.vip-pay-pop-v2-wrap
wenku.baidu.com##.vip-guide-test
wenku.baidu.com##.user-vip
wenku.baidu.com##.vip-entrance-bottom
wenku.baidu.com##.pure-guide-dialog
wenku.baidu.com##.try-end-fold-page:has-text(阅读已结束)
wenku.baidu.com###kw:style(user-select: text !important)
wenku.baidu.com##body:style(overflow: visible !important)
wenku.baidu.com##div.vip-free
wenku.baidu.com##div.vip-activity-wrap
wenku.baidu.com##div.fold-page-btn,div.fold-page-tip
wenku.baidu.com##div.pgc_share
wenku.baidu.com##div.inner-vip
wenku.baidu.com##div.vip-privilege-card-wrap
wenku.baidu.com##div.add-price-buy-wrap
wenku.baidu.com##div.fold-page-content:has-text(获取文档,使用更方便)
wenku.baidu.com##div.hx-warp,div.hx-recom-wrapper
wenku.baidu.com##div.rights-card-outer
wenku.baidu.com##div.pc-cashier-card
wenku.baidu.com##div.vip-member-pop-content
wenku.baidu.com##div.comp-vip-pop

! 贴吧,签到卡广告和侧边的会员广告等
||tieba.baidu.com/tb/cms/tbmall/images/sign_activity.png$image
tieba.baidu.com##.tieba-sign-card-link
tieba.baidu.com##.ui-draggable.dialogJshadow.dialogJfix.tieba-sign-card.dialogJ
tieba.baidu.com###pagelet_encourage-celebrity\/pagelet\/celebrity
tieba.baidu.com##.app_download_box
tieba.baidu.com###pagelet_frs-aside\/pagelet\/search_back
tieba.baidu.com###celebrity
tieba.baidu.com##ul.tbui_aside_float_bar

! 百度知道
||iknowpc.bdimg.com/static/question-new/widget/ask/replyer/img/wld-exp-btn-hb.f91c70d.png
||iknowpc.bdimg.com/static/common/widget/task/img/earn-points-exchange-gifts-bubble.4db996d.png
||iknowpc.bdimg.com/static/common/widget/js/logic/jump-top/img/pgcApplyGuide.004403c.png
zhidao.baidu.com##.receive-awards-bubble
zhidao.baidu.com##.wgt-answer-add-tag
zhidao.baidu.com##.exp-topwld-tip
zhidao.baidu.com###knowledge-answer
zhidao.baidu.com##li.activity-entry
zhidao.baidu.com##.recommend-question-IMbanner
zhidao.baidu.com###qb-side>div:not(.wgt-user-info)
zhidao.baidu.com##.update-modal-wrapper
zhidao.baidu.com##.aria-div

! 百度首页
www.baidu.com###bottom_layer
www.baidu.com###s_top_wrap
www.baidu.com##body.is-lite:style(min-width: 0px !important)
www.baidu.com##html:has(body.is-lite>#s_strpx_span1):style(overflow-y: hidden !important)

! 百度百科
baike.baidu.com##.right-ad
baike.baidu.com###side-share
baike.baidu.com##a.topA
baike.baidu.com###J-declare-wrap
baike.baidu.com##span.appdownload
baike.baidu.com##.wgt-baikeapp-promote-container

! 百度网盘
||pan.baidu.com/sns/box-static/disk-share/widget/pageModule/init/image/phone-banner_77bfd23.png
pan.baidu.com##span.app-user-vip-center
pan.baidu.com##[node-type=header-union]
pan.baidu.com###web-header-text-s-7
pan.baidu.com##div.wp-s-header__right-item:has-text(新用户)
pan.baidu.com##a.wp-s-header__right-item:has-text(SVIP仅需)
pan.baidu.com##div.wp-s-header__right-item:has-text(SVIP年卡)
pan.baidu.com##div.wp-s-header__right-item:has-text(认证送50G空间)
pan.baidu.com##span.wp-s-header__right-item:has-text(创建企业)
pan.baidu.com##a.wp-s-header__right-item:has-text(回到旧版)
pan.baidu.com##a.wp-s-aside-nav__main-item:has-text(一刻相册)
||staticwx.cdn.bcebos.com/mini-program%2Fimages%2Ftrans_btn_tag_lhb.png
||pannss.bdstatic.com/m-static/interface-widget-1/wpguide/img/wp-banner_f2270b3.gif
pan.baidu.com###emptyDialogId>div>div.rights-section
pan.baidu.com###web-header-text-s-2
pan.baidu.com##a.company-cert
pan.baidu.com##div.nd-guide-svip-bar
pan.baidu.com##div.nd-delete .u-dialog__body+.u-dialog__footer:style(padding-bottom: 25px !important)
pan.baidu.com##div.buyvip-pack
pan.baidu.com##div.nd-operate-guidance
pan.baidu.com##div.wp-s-header-user__drop-body

! 百度翻译下载APP及百度其它
fanyi.baidu.com##.app-side-banner
fanyi.baidu.com##.sideQrContainer
fanyi.baidu.com##.vip-btn
jingyan.baidu.com###wgt-barrier-free

! 知乎商品推荐
www.zhihu.com##.RichText-MCNLinkCardContainer

! 谷歌搜索去掉底部地区栏
www.google.com##div.c93Gbe>div:nth-child(2)

! 各种Cookie条款提示
microsoft.com,visualstudio.com,windows.com###uhfCookieAlert
pixiv.net##._gdpr-notify-header
pixiv.net##div:has(>div>span:has-text(更新了隐私政策))
wordpress.com##.widget_eu_cookie_law_widget
my.avira.com##.bottom-page-notification
heroku.com###heroku-cookie-banner
alternativeto.net##.iubenda-cs-container
google.com##[type="cookie-notification"]
stackexchange.com###js-gdpr-consent-banner

! 中国大学MOOC
www.icourse163.org###j-activityBanner
www.icourse163.org###j-activityRightBanner

! PCbeta远景;CJX的规则直接把setTimeout禁了
pcbeta.com##[class^="_jc"]:upward(4)
pcbeta.com##+js(aopr, discuz_uid)

! 脚本之家
www.jb51.net##div.tonglan
www.jb51.net###sidebox
www.jb51.net##div.softsfwtl
www.jb51.net###xzbtn>a:nth-child(2)

! 国内知名网站的内容农场
||cloud.tencent.com/developer/ask^$document
||cloud.tencent.com/developer/information^$document
||www.aliyun.com/sswd^$document
||www.huaweicloud.com/theme^$document
||support.huaweicloud.com/topic^$document
||imooc.com/wenda^$document
||www.csdn.net/tags^$document
||zhidao.baidu.com/index^$document
||tieba.baidu.com/hottopic/browse/hottopic^$document
||www.xinnet.com/xinzhi/tags^$document

! chinaz站长之家ping
chinaz.com##.backtoTop
chinaz.com###result-list>div>div.fr
||csstools.chinaz.com/tools/images/viptq.png
||csstools.chinaz.com/tools/images/r5.png
||csstools.chinaz.com/tools/images/newyear.gif

! 233网校显示答案及广告,最后一条可能有误杀
www.233.com##div.Newspublic_SubjectAnswer:style(display: block !important)
www.233.com##div.js-news-right
www.233.com##.newsArea-2nd-PageWord>table
www.233.com###js-nwx__box
www.233.com##.right-navBox,.zeb_shareCont,.register_tgAdv
www.233.com##+js(aeld, copy)
|https://img.233.com/project/zixun/xueba/v1/pc/zxXueba.js^
|https://img.233.com/project/ztwx/v1/ie/zxwx233.js^
|https://img.233.com/www/css/chuji/2019/newsMethod.js^$xhr

! 功能性杂项
github.com##.dashboard-sidebar > .mt-3
stackoverflow.com###overlay-header
cn.bing.com###footer
wenda.so.com##div.mod-detail-normal
kaoyan365.cn##+js(acs, document.oncontextmenu)
kaoyan365.cn##div.offcn_sidrig
neea.edu.cn##+js(aopr, ActiveXObject)
sohu.com###right-side-bar,div.groom-read,#articleAllsee
sourceforge.net###nels
kaoyan.com###DL_bottom
www.163.com##div.post_recommends
dl.3dmgame.com##div.dj_warp_e

! sms24.me
@@||cdn.adoptum.net/ado.js?sid=$script,domain=sms24.*,badfilter
gwarser commented 1 year ago

It's in your custom filters - investigating.

gwarser commented 1 year ago

Single pipe:

...
||pan.baidu.com#@##dialog1

! item.jd.com
@@||360buyimg.com/*lazyinit/ad.js^$script,domain=item.jd.com
|       <------------------------
! gitee
||gitee.com/assets/weixin/button-banner.png
||gitee.com/assets/weixin/close.png
gitee.com##.ent-poster-ads
gitee.com##.side-toolbar
...