Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALL facebook.com issues #3367

Open
GetGankNow opened this issue Aug 30, 2018 · 924 comments
Open

ALL facebook.com issues #3367

GetGankNow opened this issue Aug 30, 2018 · 924 comments

Comments

@GetGankNow
Copy link

GetGankNow commented Aug 30, 2018

URL(s) where the issue occurs

Facebook.com

Describe the issue

The Facebook sponsored ads is appearing again, i have tried all the solutions but nothing works

Versions

  • Browser/version: [Chrome 68.0.3440.106]
  • uBlock Origin version: [1.16.18]

Settings

  • [Default]
@KiLL4FuNK
Copy link

I see nothing Can it be adware?
you have to see what programs you installed any
check if you do not have some rare extensions

@GetGankNow
Copy link
Author

No i don't have any adware or some adware extensions, the ads are from Facebook ( sponsored )

@mapx-
Copy link
Contributor

mapx- commented Aug 31, 2018

While on a page with ads, right click on page, save as ..., you'll get a folder + html page, zip them together, upload the zip on some free server. Post here the link.

@GetGankNow
Copy link
Author

Here the page with the sponsored ad: https://ufile.io/y827j

@mapx-
Copy link
Contributor

mapx- commented Aug 31, 2018

@GetGankNow test this filter
facebook.com##.userContentWrapper :has([id^="feed_subtitle_"]:has-text(Sp))

@GetGankNow
Copy link
Author

@mapx- is blocking all post but allowing the comment section and reaction section.

@mapx-
Copy link
Contributor

mapx- commented Aug 31, 2018

facebook.com###substream_1:has([id^="feed_subtitle_"]:has-text(Sp))

@GetGankNow
Copy link
Author

@mapx- works bro, thanks a lot.

@GetGankNow
Copy link
Author

GetGankNow commented Aug 31, 2018

Edit: some sponsored ads are appearing again.

@mapx-
Copy link
Contributor

mapx- commented Aug 31, 2018

another example page ?

@GetGankNow
Copy link
Author

The page that i save include all ads, i don't know how to save the page without the ads of this: facebook.com###substream_1:has([id^="feed_subtitle_"]:has-text(Sp))

@GetGankNow
Copy link
Author

facebook.zip
Here the page again.

@mapx-
Copy link
Contributor

mapx- commented Sep 1, 2018

test

facebook.com##[id^=hyperfeed_story_id_]:has(a[href*="client_token"])
facebook.com##[id^=hyperfeed_story_id_]:has(a[href*="utm_campaign"])

@uBlockOrigin uBlockOrigin deleted a comment Sep 1, 2018
@GetGankNow
Copy link
Author

@mapx- this 3 rules works. Thanks for all!!

@mapx- mapx- closed this as completed in d1b91d6 Sep 1, 2018
ZaphodBeebblebrox added a commit that referenced this issue Sep 1, 2018
mapx- added a commit that referenced this issue Sep 6, 2018
@ghajini
Copy link
Collaborator

ghajini commented Sep 9, 2018

ads 'sponsored'

screenshot 41c

@mapx-
Copy link
Contributor

mapx- commented Sep 9, 2018

test
facebook.com##[id^=hyperfeed_story_id_]:has([id^=u_fetchstream_2_1]:has-text(SpSonSsoSredS))
or
facebook.com##[id^=hyperfeed_story_id_]:has([id^=u_fetchstream_2_1]:has-text(Sp))

@ghajini
Copy link
Collaborator

ghajini commented Sep 9, 2018

not working bro
screenshot 42

@mapx-
Copy link
Contributor

mapx- commented Sep 9, 2018

weird, working for me (exactly using your test-case)

Did you test the same case you uploaded ? or something new ? could be "they" are using different approaches

@shuhaowu
Copy link

Doesn't work for me either. I had to use something like this:

facebook.com##[id^=hyperfeed_story_id_]:has([id^=feed_subtitle_]:has-text(SpSonSsoSredS))

However, with this filter active, FB seems to be refreshing the posts in an infinite loop.

@filbo
Copy link

filbo commented Sep 13, 2018

From about 3mo to about 2wk ago, it was possible to catch Sponsored posts with :has-text(SpSonSsoSredS). This appeared only in Sponsored posts, with the 'S' elements hidden by CSS. (I'm not sure about back then, but now, the hiding CSS uses 'font-size:0', not 'display:none'.)

About 2wk ago, they started putting that stuff into all(*) posts. In Sponsored posts they use CSS to hide the 'S' elements. In 'normal' posts they use CSS to hide all of this. :has-text() is not aware of CSS hiding. The CSS used for this hiding is cryptographically hashed; so far it has remained stable for me, but another user has completely different classes, so the simple selector I use in my own filter won't work for anyone else. So we have to get into runtime evaluation of CSS computed styles :(

[(*)Not really 'all', but all normal posts by users, and many Sponsored posts, although some emitted by other modules inside FB don't use this particular trickery.]

It seems like uBO :matches-css() [see: https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters] might be able to handle this. Something like:

facebook.com##[id^=hyperfeed_story_id_]:if([id^=feed_subtitle_] span:has-text(^Sp$):matches-css(:not(display:none)))

-- which is COMPLETELY UNTESTED, just a pile of syntax smashed together by hand. Not sure if the nested uBO selectors are supported...

And all they need to do to break this is chop the word 'Sponsored' up differently; and it won't work for other UI languages. This is getting ugly.

@kowith337
Copy link

kowith337 commented Sep 13, 2018

Maybe need to view the deep of they DOM tag, e.g. looking in data-ajaxify, data-sigil, data-uri, data-ft, data-xt, ...

for example, I've found some part of sponsored URLs have is_sponsored=1 parameter, sometime it's boxed the parameter like [is_sponsored]=1

@wtchangdm
Copy link

wtchangdm commented Sep 13, 2018

Hi, I saw the comment in filters so I'd like report here:
I am not sure if is region-related, but the following rule is killing my timeline (using https://www.facebook.com/?sk=h_chr). All of the posts are hidden now.

facebook.com##[id^=hyperfeed_story_id_]:has([id^=feed_subtitle_]:has-text(SpSonSsoSredS))

Thanks.

mapx- added a commit that referenced this issue Sep 13, 2018
@stephenhawk8054
Copy link
Member

stephenhawk8054 commented Oct 30, 2024

The only way we can investigate properly is you need to reproduce the issue in a new browser profile with only uBO and its default settings first. Then we'll test on that profile.

@skygunner
Copy link

Ok, I've took time to test this. It's actually chrome/chromium's issue. With ublock origin even disabled in extension, and all extensions are disabled, open those six tabs chrome (both 128 and 131 version, with preload page off, memory saver on) will go mad.

While librewolf (firefox 131) with ublock origin enabled , there's no issue. So it's false alram, its entirely chrome's problem (or my profile). So discard my previous reports. Thanks for the support.

@nanderer nanderer mentioned this issue Nov 2, 2024
11 tasks
@hicitoc hicitoc mentioned this issue Nov 2, 2024
11 tasks
@Rachitidk Rachitidk mentioned this issue Nov 2, 2024
11 tasks
@david79111 david79111 mentioned this issue Nov 3, 2024
11 tasks
@ExtRIELICi ExtRIELICi mentioned this issue Nov 3, 2024
11 tasks
@partingscientist partingscientist mentioned this issue Nov 3, 2024
11 tasks
@LightAndy1 LightAndy1 mentioned this issue Nov 3, 2024
11 tasks
@LeventeCornea LeventeCornea mentioned this issue Nov 3, 2024
9 tasks
This was referenced Nov 4, 2024
@Hebrew-uBO-User Hebrew-uBO-User mentioned this issue Nov 4, 2024
11 tasks
@B1ack3ye B1ack3ye mentioned this issue Nov 4, 2024
11 tasks
@ExtRIELICi ExtRIELICi mentioned this issue Nov 4, 2024
11 tasks
@Miha20 Miha20 mentioned this issue Nov 4, 2024
11 tasks
@ilikenwf
Copy link

ilikenwf commented Nov 8, 2024

It appears that sometimes, on the loading of the content, that the Marketplace pages get completely emptied out:

https://www.facebook.com/marketplace/item/1261785508162694/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests