uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.12k stars 767 forks source link

reddit.com: nuisance #10888

Closed kerkeslager closed 2 years ago

kerkeslager commented 2 years ago

Prerequisites

URL address of the web page

https://www.reddit.com/?count=25&page=2&after=t3_reru8r

Category

nuisance

Describe the issue

On mobile, if you go far enough anywhere browsing on the reddit website, they begin popping up a prompt that tries to force you to download the mobile app.

Screenshot(s)

Screenshot(s)

Configuration

```yaml uBlock Origin: 1.39.2 Firefox Mobile: 95 filterset (summary): network: 79119 cosmetic: 21094 scriptlet: 16268 html: 598 listset (total-discarded, last updated): default: ublock-filters: 30547-199, 7h.7m ublock-badware: 3513-2, 7h.5m ublock-privacy: 185-1, 6h.54m ublock-abuse: 74-2, never ublock-unbreak: 1713-0, never adguard-mobile: 7006-172, 7h.16m easylist: 60746-23980, never easyprivacy: 25518-220, never urlhaus-1: 8813-0, never plowe-0: 3689-3, never filterset (user): [array of 1 redacted] modifiedUserSettings: [none] modifiedHiddenSettings: [none] supportStats: launchToReadiness: 6266 launchFromSelfie: false popupPanel: blocked: 39 ```
krystian3w commented 2 years ago

CSS may break page:

reddit.com##shreddit-experience-tree
reddit.com##.scroll-is-blocked:style(overflow: auto !important;)
mapx- commented 2 years ago

test

reddit.com##.m-slideIn.XPromoPill

@Yuki2718 for adguard mobile

Yuki2718 commented 2 years ago

@mapx- I think this is for Annoyances in their criteria. So I'll add reddit.com##.XPromoPill and reddit.com##shreddit-experience-tree to AG Annoyances, but maybe also to uBO filters or uBO Annoyances?

mapx- commented 2 years ago

let's see if @ryanbr add it to FA

Yuki2718 commented 2 years ago

@krystian3w Is reddit.com##.scroll-is-blocked:style(overflow: auto !important;) needed? Scroll works on emulated browser, will check on real Android soon.

krystian3w commented 2 years ago

If you opens mobile topic (e.g. from Google) the scroll really locked.

For more about break try ask @gwarser - maybe found oldie lament in reddit comments/topics.

Yuki2718 commented 2 years ago

If you opens mobile topic (e.g. from Google) the scroll really locked.

Is that by reddit.com##shreddit-experience-tree or by another rule? Because I can't reproduce on real Android too.

gwarser commented 2 years ago

image

Opened main page -> clicked on one of the topics.

image

Zero results for .m-slideIn.XPromoPill ... ?

mapx- commented 2 years ago

test

reddit.com##.XPromoPill
reddit.com##.XPromoPopup
reddit.com##body:style(overflow: auto !important;)
ryanbr commented 2 years ago

We have this already in Fanboy Annoyances; do we need more?

! reddit.com (mobile)
reddit.com##.XPromoPopup
reddit.com##body.scroll-disabled:style(overflow: visible!important; position: static!important;)
reddit.com##.XPromoInFeed
amp.reddit.com##.AppSelectorModal__body
amp.reddit.com##.upsell_banner
mapx- commented 2 years ago

still needing

reddit.com##shreddit-experience-tree
reddit.com##.XPromoPill
Yuki2718 commented 2 years ago

Zero results for .m-slideIn.XPromoPill ... ?

.XpromoPill and shreddit-experience-tree are the same in appearence but I saw both. Just needs to test many transition. I need to know which rule causes scroll locked. Oh, but I see .scroll-is-blocked in your SS, many thx!

dimisa-RUAdList commented 1 year ago

@mapx-

https://www.reddit.com/r/true_tj/comments/12yfeae/рейтинг_тру_тж/

without an account

Screenshot(s) ![reddit](https://user-images.githubusercontent.com/20126984/234683489-b5322809-6240-40b8-82d5-76683e86997a.JPG)
reddit.com##[bundlename="desktop_rpl_nsfw_blocking_modal"]
reddit.com##.sidebar-grid[style="filter: blur(4px);"]:style(filter: none !important)
reddit.com##body[style$="overflow: hidden;"]:style(pointer-events: auto !important)

or reddit.com##[bundlename="desktop_rpl_nsfw_blocking_modal"]:remove()

lunarwtr commented 1 year ago

reddit.com##shreddit-async-loader[bundlename="nsfw_blocking_modal"]:remove()

this now is whats working

Korelev commented 1 year ago

thanks for that, in my case it didn't fully solve the issue but I changed it to:

reddit.com##xpromo-nsfw-blocking-modal-desktop:remove()

that did the trick

nicomollet commented 2 months ago

Some of my improvements for Reddit on mobile web:

! Remove the bottom-sheet promoting the "See Reddit on mobile"
www.reddit.com##shreddit-async-loader[paint-group=xpromo]:remove()
! Remove the "See more comments" button and display all the comments
www.reddit.com##div[slot=truncated]:remove-attr(slot)