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

[nsfw] ylilauta.org: detection #14204

Closed
7 of 8 tasks
BasicParameter opened this issue Aug 2, 2022 · 65 comments
Closed
7 of 8 tasks

[nsfw] ylilauta.org: detection #14204

BasicParameter opened this issue Aug 2, 2022 · 65 comments

Comments

@BasicParameter
Copy link

Prerequisites

  • I read and understood the policy as to what is a valid filter issue
  • I verified that the issue has not already been reported (use this button to find out)
  • I forced an update of my filter lists (how to do this: click "Purge all caches", then click "Update now")
  • I did not remove any of the default filter lists, or I verified that the issue is not caused by removing any of the default lists
  • I did not enable external filter lists, or I verified that the issue still occurs without enabling external filter lists
  • I do not have custom filters/rules, or I verified that the issue still occurs without custom filters/rules
  • I am not using another content blocker along uBO (also mind browser built-in blockers)
  • I did not answer truthfully to all the above checkpoints

URL address of the web page

https://ylilauta.org/satunnainen/

Category

nuisance

Describe the issue

First uses a constant notification on site to remove blocker, then when you block the element, site uses the browser's built in dialogue pop up to remind to remove the blocker. Pop up keeps coming up as you scroll down the page.

Extremely invasive and seemingly impossible to block with current tools available for firefox on android.

Screenshot(s)

Screenshot(s)

Screenshot_2022-08-02-06-39-08-40_3aea4af51f236e4932235fdada7d1643

Configuration

uBlock Origin: 1.43.0
Firefox Mobile: 103
filterset (summary): 
  network: 177969
  cosmetic: 154323
  scriptlet: 37403
  html: 727
listset (total-discarded, last updated): 
  added: 
    adguard-generic: 66320-5650, 3d.10h.37m
    adguard-spyware: 27473-1291, 3d.11h.33m
    adguard-spyware-url: 687-2, 3d.10h.11m
    block-lan: 43-0, 24d.21h.13m
    curben-phishing: 50677-4, 23h.36m
    curben-pup: 182-0, 23h.38m
    adguard-annoyance: 55385-1796, 3d.11h.32m
    adguard-social: 18030-2488, 3d.10h.44m
    fanboy-thirdparty_social: 69-1, 8d.14h.59m
    fanboy-annoyance: 76068-64845, 8d.14h.57m
    fanboy-cookiemonster: 36968-17313, 8d.14h.58m
    fanboy-social: 23239-13678, 3d.10h.33m
    ublock-annoyances: 4531-7, 3d.9h.1m
    FIN-0: 1916-76, 3d.10h.22m
  default: 
    user-filters: 8-0, never
    ublock-filters: 33097-698, 3d.10h.35m
    ublock-badware: 4214-0, 3d.11h.35m
    ublock-privacy: 242-1, 23h.46m
    ublock-abuse: 76-0, 23h.45m
    ublock-unbreak: 1869-0, 3d.10h.20m
    ublock-quick-fixes: 328-1, 23h.40m
    adguard-mobile: 8005-167, 3d.11h.36m
    easylist: 68901-25151, 3d.10h.21m
    easyprivacy: 27459-10545, 3d.10h.23m
    urlhaus-1: 4929-0, 23h.37m
    plowe-0: 3639-3, 23h.44m
filterset (user): [array of 8 redacted]
trustedset: 
  added: [array of 3 redacted]
modifiedUserSettings: 
  advancedUserEnabled: true
modifiedHiddenSettings: [none]
supportStats: 
  allReadyAfter: 1378 ms (selfie)
  maxAssetCacheWait: 463 ms
popupPanel: 
  blocked: 0
@MasterKia

This comment was marked as resolved.

@BasicParameter
Copy link
Author

BasicParameter commented Aug 2, 2022

Could you try with only the default lists?

There is a script element in the page that will not allow you to block the ad container and the default lists do not always update to include the casino ads that the page creator hosts, which is why the iframe and toast script need to be blocked, which get overwritten then by the invasive dialogue popup in the browser.

@MasterKia
Copy link
Member

Does anyone know why ylilauta.org##+js(alert-buster) doesn't work?

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

Probably a race condition, the alert function is at the top of the source.

@MasterKia
Copy link
Member

MasterKia commented Aug 2, 2022

Is ##+js(aell) not working on Firefox for the same reason?

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

No.
You don't see anything in the console after adding
ylilauta.org##+js(aell)?

@MasterKia
Copy link
Member

MasterKia commented Aug 2, 2022

No, nothing about event listeners.

Firefox 102:
https://user-images.githubusercontent.com/17685483/182318837-abffea54-b6ff-42be-a284-4560ba1e1e1b.png

But I tried on another site and it works.

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

Hm, looks like a Firefox issue.
It works fine with chromium on my end, I have no access to a Firefox browser at the moment.

ylilauta.org##+js(aeld, load, setTimeout)
fixes the issue on my end using chromium, but if Firefox does not log anything I highly doubt that filter will work using Firefox.

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

Does anyone know why ylilauta.org##+js(alert-buster) doesn't work?

What exactly do you see if you add that filter using Firefox?
Is it the same alert box that you see without the filter?

@MasterKia
Copy link
Member

if Firefox does not log anything I highly doubt that filter will work using Firefox.

ylilauta.org##+js(aeld, load, setTimeout)
ylilauta.org##iframe

Yeah, I still get alert.

@MasterKia
Copy link
Member

Is it the same alert box that you see without the filter?

No difference.

First this appears but quickly goes away:
https://user-images.githubusercontent.com/17685483/182321475-1150afce-d4cc-4ba5-bec4-89c6572447b5.png

Then this alert:
https://user-images.githubusercontent.com/17685483/182321009-f83c55d5-5198-4687-8d06-c463ff1c89a0.png

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

It is not a race condition I checked using chromium and alert-buster works as expected.
image

@MasterKia
Copy link
Member

MasterKia commented Aug 2, 2022

So this solves it?

ylilauta.org##+js(alert-buster)
ylilauta.org##iframe

@MasterKia
Copy link
Member

MasterKia commented Aug 2, 2022

Maybe something's wrong with Firefox on my machine.
@BasicParameter Does the suggested filters work on your Firefox mobile?

ylilauta.org##+js(alert-buster)
ylilauta.org##iframe
ylilauta.org##.toast-root

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

So this solves it?

No, that triggers another warning using chromium.
image

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

ylilauta.org##+js(alert-buster)
ylilauta.org##iframe
ylilauta.org##.toast-root

works for me.

Maybe something's wrong with Firefox on my machine.

I doubt it if it only happens on one site.

@BasicParameter
Copy link
Author

Screenshot_2022-08-02-11-03-58-33_3aea4af51f236e4932235fdada7d1643

Unfortunately not, leaving out .toast-root shows this and adding .toast-root will give you the browser dialogue popup.

@MasterKia
Copy link
Member

MasterKia commented Aug 2, 2022

Try:

ylilauta.org##+js(aeld, load, setTimeout)
ylilauta.org##+js(alert-buster)
ylilauta.org##iframe
ylilauta.org##.toast-root

@BasicParameter
Copy link
Author

Try:

ylilauta.org##+js(aeld, load, setTimeout)
ylilauta.org##+js(alert-buster)
ylilauta.org##iframe
ylilauta.org##.toast-root

Unfortunately the same conclusion, firefox shows the dialogue pop up seen in the OP screenshot. I guess mobile firefox is just too lackluster to allow dealing with this issue.

@MasterKia
Copy link
Member

I guess mobile firefox is just too lackluster to allow dealing with this issue.

I'm experiencing the same thing on Firefox desktop.

@MasterKia
Copy link
Member

MasterKia commented Aug 2, 2022

@okiehsch What about :remove() or :style(width: 0px !important;)?

@okiehsch
Copy link
Contributor

okiehsch commented Aug 2, 2022

The site detects that too.

@JobcenterTycoon
Copy link
Contributor

JobcenterTycoon commented Aug 2, 2022

For the firefox issue see here uBlockOrigin/uBlock-issues#2079 (comment)

On desktop i get no anti adblock

@MasterKia
Copy link
Member

For the firefox issue see here

The bug on Firefox bugzilla is 6 years old, so Firefox won't fix this.

Gorhill refused to fix it :

I don't plan to have uBO lower CSP rules set by a site. In my opinion, being able to inject a surrogate is less important than not relaxing existing CSP ruleset.

I wonder how many sites will exploit this to gain protection against scriptlet injection on Firefox.

@JobcenterTycoon
Copy link
Contributor

Not many because it only affect firefox

@MasterKia
Copy link
Member

Not many because it only affect firefox

Firefox still has 200M users.

@JobcenterTycoon
Copy link
Contributor

JobcenterTycoon commented Aug 2, 2022

Even on chrome most filters doesn’t work because the site detect tampering and breaks itself (try to click the "Profile" tab on the left side with your filter enabled, it will not work)

@matso167
Copy link

In theory one can fix this by modifying Lauta.js and Toast.js source codes referenced by the site. Having researched this issue for a while I cannot find any other way. However this is currently not possible using only uBlock.

@JobcenterTycoon
Copy link
Contributor

JobcenterTycoon commented Aug 24, 2022

@matso167 @okiehsch try ylilauta.org##.toast-root:style(position: absolute !important; clip: rect(0px,0px,0px,0px);)

@JobcenterTycoon JobcenterTycoon added the ongoing ongoing issue label Jun 18, 2023
@Bec-de-Xorbin
Copy link

All anti-adblock scripts have been removed so no need for these special rules anymore.
Simple ylilauta.org##.a seems to block every ad without breaking anything.

https://ylilauta.org/palaute/128887035#226049477

@peace2000
Copy link
Member

Antiadblock poistettu kokonaan syiden takia.

Means

Antiadblock has been wholly removed due to reasons.

@peace2000
Copy link
Member

@MasterKia MasterKia removed the ongoing ongoing issue label Oct 2, 2023
@peace2000
Copy link
Member

Fyi @Alex-302

Alex-302 added a commit to AdguardTeam/AdguardFilters that referenced this issue Oct 2, 2023
Yuki2718 added a commit to AdguardTeam/AdguardFilters that referenced this issue Oct 13, 2023
@msrn

This comment was marked as resolved.

@msrn

This comment was marked as off-topic.

@ItsProfessional

This comment was marked as off-topic.

@msrn

This comment was marked as off-topic.

@msrn
Copy link

msrn commented Feb 4, 2024

Seems to be back again, albeit very randomly. Haven't been able to reproduce the alert dialog consistenly.

Configuration

uBlock Origin: 1.55.0
Firefox: 122
filterset (summary):
 network: 126615
 cosmetic: 180755
 scriptlet: 31396
 html: 2288
listset (total-discarded, last-updated):
 added:
  https://filters.adtidy.org/extension/ublock/filters/14.txt: 76933-5981, 1d.10h.44m
  https://secure.fanboy.co.nz/fanboy-annoyance_ubo.txt: 96298-16590, 1d.10h.44m
  easylist-annoyances: 4334-4334, 1d.5h.12m
  fanboy-cookiemonster: 49668-49668, 1d.10h.44m
  easylist-newsletters: 6916-6915, 1d.10h.44m
  easylist-notifications: 2915-2913, 1d.10h.44m
  fanboy-social: 16127-16079, 1d.5h.12m
  ublock-annoyances: 6575-998, 7m Δ
  ublock-cookies-easylist: 921-2, 1d.10h.44m
 default:
  user-filters: 70-9, never
  ublock-filters: 37519-600, 7m Δ
  ublock-badware: 7833-10, 7m Δ
  ublock-privacy: 994-2, 7m Δ
  ublock-unbreak: 2250-4, 7m Δ
  ublock-quick-fixes: 165-0, 7m Δ
  easylist: 80130-627, 1d.10h.44m
  easyprivacy: 43335-1021, 7m Δ
  urlhaus-1: 7925-0, 4h.39m
  plowe-0: 3784-1, 1d.10h.44m
  FIN-0: 2265-0, 1d.35m
filterset (user): [array of 80 redacted]
trustedset:
 added: [array of 142 redacted]
 removed:
  about-scheme
  edge-scheme
  wyciwyg-scheme
switchRuleset:
 added: [array of 3 redacted]
hostRuleset:
 added: [array of 17 redacted]
userSettings:
 advancedUserEnabled: true
 cloudStorageEnabled: true
 webrtcIPAddressHidden: true
hiddenSettings:
 filterAuthorMode: true
supportStats:
 allReadyAfter: 1303 ms (selfie)
 maxAssetCacheWait: 374 ms
 cacheBackend: indexedDB

@JobcenterTycoon
Copy link
Contributor

JobcenterTycoon commented Feb 4, 2024

Clear the cache from the site. Should work fine after this.

Alex-302 added a commit to AdguardTeam/AdguardFilters that referenced this issue Feb 5, 2024
@JobcenterTycoon JobcenterTycoon added ongoing ongoing issue can't fix and removed ongoing ongoing issue labels Feb 11, 2024
@kainkavi
Copy link

The site is completely broken with the blocker now. Is there any fix for this?

@Daxy7
Copy link

Daxy7 commented Feb 28, 2024

@kainkavi like this breakage? Image: The admin broke their own site. Ad count always says either (5, uBO enabled) (1, uBO off)

! unbreakage unfixable
@@*$3p,domain=ylilauta.org
@@||ylilauta.org^$1p
@@||ylilauta.org^$ghide
ylilauta.org#@#+js()

@JobcenterTycoon
Copy link
Contributor

JobcenterTycoon commented Feb 28, 2024

Can happen because they do like 30 different integrity and detection tests. I get no breakage with latest filter. At the moment the site breaks when a check fails and the issues on the site are not fully fixable at the moment.

@kainkavi
Copy link

@Daxy7 That worked for about 15 minutes and then stopped working. Thanks though

@kainkavi
Copy link

@JobcenterTycoon I´m using latest version of firefox and that doesn´t work, I stille get this message and the sites features are blocked. Thanks anyway though
k43r

@JobcenterTycoon
Copy link
Contributor

Clear the site cache.

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

15 participants