uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.42k stars 74 forks source link

Website is saying ad blocking or script blocking is interfering with this page #224

Closed BugReportI closed 1 year ago

BugReportI commented 1 year ago

Preliminary checklist

Can the bug be reproduced with corresponding Chromium version?

No

Cromite version

Cromite 116.0.5845.111

Device architecture

arm64-v8a

Android version

13

Device model

Sony Xperia 1 III

Changed flags

No flags changed.

Is this bug happening in an incognito tab?

Yes

Is this bug caused by the adblocker?

Yes

Is this bug a crash?

No.

Describe the bug

LuminaryTL website says 'You are seeing this message because ad or script blocking software is interfering with this page. Disable any ad or script blocking software, then reload this page.' banner.

Steps to reproduce the bug

  1. Enable Ad block with English language and the four filters at bottom.
  2. Go LuminaryTL website.

Expected behavior

Enabling the ad block and filters should block this type banner.

Screenshots

No response

uazo commented 1 year ago

please, what is the url of LuminaryTL ?

BugReportI commented 1 year ago

please, what is the url of LuminaryTL ?

Here is the link https://luminarynovels.com/.

uazo commented 1 year ago

it has nothing to do with adblock, but in this browser it is not allowed to insert scripts in the head at runtime

image

it is interesting the way they apply. I must probably also deny the evidence of the error.

thanks for the report!

uazo commented 1 year ago

as a workaround, I recommend you activating adblock's anti-circumvention list, it works very well and remove that message

BugReportI commented 1 year ago

as a workaround, I recommend you activating adblock's anti-circumvention list, it works very well and remove that message

Hmm, strange I had this setting enable as well. I turn it off and on it seems that to work now.

I will do some testing to see if the banner comes or not.

BugReportI commented 1 year ago

Is the anti-circumvention list meant to only apply to one website or all?

It seems to work fine but when I went to this website https://fanstranslations.com/, it started showing cookie banner in the website.

Upon refreshing fanstranlations the cookie banner went away and the ad block banner came for LuminaryTL.

uazo commented 1 year ago

it has nothing to do with adblock, but in this browser it is not allowed to insert scripts in the head at runtime

double-checked, adblock has a lot to do with it. and, confusingly, that function does not exist at all in cromite (or rather, I have the patch ready but I never put it in :) however, an idea occurred to me.

@PF4Public listen to this: I am able to eliminate the events that are used by anti-adblockers to understand their existence, basically for now I have identified the onerror in the script tag and the exception in the fetch. I think I am able to understand that the block comes from adblock and in that case inhibit those actions.

Obviously it applies until they notice, because it would be easy to bypass that situation, but in the (quick) tests I did, no site noticed that, also because it seems to me that there is no browser that behaves that way.

I could add a site setting and ask everyone to test it. what do you think?

PF4Public commented 1 year ago

and, confusingly, that function does not exist at all in cromite (or rather, I have the patch ready but I never put it in :) however, an idea occurred to me.

That is indeed confusing: which function does not exist? if it does not exist, how does it break that site?

I think I am able to understand that the block comes from adblock and in that case inhibit those actions.

Is it possible to identify the source of event? If you could do this, it would be an interesting approach to prevent them from detecting ad-blocking measures

it would be easy to bypass that situation

Really? How would they notice that? If that is true, would this render this approach not very useful and future-proof?

uazo commented 1 year ago

That is indeed confusing: which function does not exist? if it does not exist, how does it break that site?

"it is not allowed to insert scripts in the head at runtime" -> that function does not exist in cromite.

Is it possible to identify the source of event? If you could do this, it would be an interesting approach to prevent them from detecting ad-blocking measures

yes. wip patch

Really? How would they notice that?

easily by connecting to the onload by setting a variable and after a timeout check whether it has been set the only possible way is to inhibit the executioncontext once it has found a source that makes unallowed requests: I had seen something with heavy ad intervention, but I don't remember exactly (EDIT: found third_party/blink/renderer/core/frame/ad_tracker.cc)

If that is true, would this render this approach not very useful and future-proof?

Exactly. although perhaps there are few sites that have thought of introducing that check, as I don't recall there being any browsers or extensions that inhibit event onerror.

PF4Public commented 1 year ago

"it is not allowed to insert scripts in the head at runtime" -> that function does not exist in cromite.

Does this function exist in other browsers?

the only possible way is to inhibit the executioncontext once it has found a source that makes unallowed

Would it be difficult to also implement this counter-measure? Would there exist further counter-counter and counter-counter-counter measures? :D

although perhaps there are few sites that have thought of introducing that check, as I don't recall there being any browsers or extensions that inhibit event onerror

Worth testing then, I guess :)

uazo commented 1 year ago

Does this function exist in other browsers?

No, as far as I know

Would it be difficult to also implement this counter-measure? Would there exist further counter-counter and counter-counter-counter measures? :D

the way I thought of it, it is difficult. but it's the life of privacy-loving browsers... you make, they unmake. maybe it's funny for that reason too

Worth testing then, I guess :)

wait till it's over, it's a bomb! if it works :)

this is an example I mentioned above, https://preview.codecanyon.net/item/deblocker-anti-adblock-for-wordpress/full_screen_preview/24086686 I can block it!

uazo commented 1 year ago

if it works :)

That's right, youtube crashes... :(

uazo commented 1 year ago

merged with https://github.com/uazo/cromite/issues/251

rodrigoswz commented 1 year ago

Android Police has a similar problem :(

Source: https://www.androidpolice.com/google-pixel-at-a-glance-widget-location-based-settings/

Screenshot_20231019-095552.png

Universalizer commented 1 year ago

I tried no problem, in latest cromite version.

You need better filtering and plus probably cosmetic filtering also.

rodrigoswz commented 1 year ago

I tried no problem, in latest cromite version.

You need better filtering and plus probably cosmetic filtering also.

Sorry but how?

I can only access it if I disable Legacy AdBlock. If I only leave the new AdBlock settings enabled, all ads on this webpage are displayed.

Universalizer commented 1 year ago

Your screenshot seems pop up message box overlay.

Try any legacy adblock filters from here https://github.com/Universalizer/Universaliser_Filters

I had tried on this filter https://github.com/Universalizer/Universaliser_Filters/releases/latest/download/GARPPEU_Globally_All_Regional_Privacy_Plus_Extreme_Ultimate.dat,

https://github.com/uazo/cromite/issues/347#issuecomment-1768029743, For Cosmetic filtering use cosmetic.user.js, you can even try idcac.user.js (i don't care about cookies).

Please, after trying let me know, which ad filtering plus cosmetic filters you tried. And whether satisfactory ?

rodrigoswz commented 1 year ago

Your screenshot seems pop up message box overlay.

Try any legacy adblock filters from here https://github.com/Universalizer/Universaliser_Filters

I had tried on this filter https://github.com/Universalizer/Universaliser_Filters/releases/latest/download/GARPPEU_Globally_All_Regional_Privacy_Plus_Extreme_Ultimate.dat,

https://github.com/uazo/cromite/issues/347#issuecomment-1768029743, For Cosmetic filtering use cosmetic.user.js, you can even try idcac.user.js (i don't care about cookies).

Please, after trying let me know, which ad filtering plus cosmetic filters you tried. And whether satisfactory ?

thanks! I already used filtrite but I didn't know about this fork

When using them (exactly the ones mentioned) and disable AdBlock Plus, I no longer have the banner on Android Police. But now I have ads on APKMirror.

Screenshot_20231019-121203.png

Universalizer commented 1 year ago

Did you downloaded and installed this Userscript in Cromite Settings > User Scripts > Activate User Scripts > toggle ON this file https://github.com/Universalizer/Universal_UserScripts/releases/latest/download/cosmetic.user.js ?

If you could clear Browsing history, Cookies and site data, Cached images and files, optionally additionally if possible Autofill form data also.

Then after try on both site, For Android police, And plus even try on apkmirror with Javascript OFF also and ON also.

Please share your experience.

rodrigoswz commented 1 year ago

Did you downloaded and installed this Userscript in Cromite Settings > User Scripts > Activate User Scripts > toggle ON this file https://github.com/Universalizer/Universal_UserScripts/releases/latest/download/cosmetic.user.js ?

Yes.

If you could clear Browsing history, Cookies and site data, Cached images and files, optionally additionally if possible Autofill form data also.

Then after try on both site, For Android police, And plus even try on apkmirror with Javascript OFF also and ON also.

Please share your experience.

I cleared everything, but I had fullscreen ads on APKMirror. However, when disabling javascript the ads disappeared, thanks for the tip.

Universalizer commented 12 months ago

@rodrigoswz, on apkmirror.com please do one more experiment, with Javascript ON,

Cromite Settings > Privacy and security > Send a "Do Not Track" request > Toggle ON.

Restart Cromite optionally.

Cromite Settings > Site settings > 1) Block all cookies (not recommended) OR 2) Block third-party cookies, (atleast minimum).

Test 1st apkmirror.com > Address bar > Permission > Cookies > Toggle OFF > Refresh Page, Remember Javascript must be ON.

Clear browsing history and data, etc.

Test 2nd apkmirror.com > Address bar > Permission > Cookies > Toggle ON > Refresh Page, Remember Javascript must be ON.

Please, share your experience. Looks like need to report uBlockOrigin filters or easylist or AdGuard for theses site.

Clear browsing history and data, etc.

Test 3 Lastly, Cromite AdBlock Plus > Toggle ON > Custom Filters > Add ||apkmirror.com^

I recommend you keep both the Ad Block system activated, that's it, in the last, As both are important for daily and normal use.