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

Google issue #276

Open
NN-Binary opened this issue Jun 14, 2024 · 5 comments
Open

Google issue #276

NN-Binary opened this issue Jun 14, 2024 · 5 comments

Comments

@NN-Binary
Copy link

When browsing on Google, i.e
https://www.google.com/intl/en-US/gmail/about/

There is an error:
about/:137 [Report Only] This document requires 'TrustedScriptURL' assignment.

And then on the Login page, there is in the console:
m=_b,_tp:117 Uncaught (in promise) TypeError: Illegal invocation

I've tried tweaking most things, userAgent latest... none at all... and all of them seems to not have Google work.
Of course it does work with a normal browser.

@blakebyrnes
Copy link
Contributor

It sounds from reading some articles like you can disable CSP (I don't know what side effects this has) - you would do this with a plugin that calls "Page.setBypassCSP" on newPage.

It seems like there might be some Man-in-the-middle events we're not properly relaying. I'm guessing your logs/db will have some of these that we're not passing on property: https://chromedevtools.github.io/devtools-protocol/tot/Network/#event-trustTokenOperationDone

@NN-Binary
Copy link
Author

Weirdly, even with disableMitm: true, the bug still arise. It feels like Google detect instantly any sort of Hero instance, regardless of MITM enabled. I have tried with many different useragent. When spawning regular chromium, the error is not present

@blakebyrnes
Copy link
Contributor

Try removing the background-networking flag from the engine. That might also be part of it

@NN-Binary
Copy link
Author

NN-Binary commented Jun 18, 2024

I tried removing absolutely EVERY flags, but still. (as in literally comment the entire array)

@NN-Binary
Copy link
Author

NN-Binary commented Jun 21, 2024

Yeah, sadly it makes Hero unusable anymore :( Impossible to use any sort of Google accounts (Login form broken), regardless of flags.

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

2 participants