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

Does not work, gives an error in the console #5

Open
Serega007RU opened this issue Feb 3, 2023 · 3 comments
Open

Does not work, gives an error in the console #5

Serega007RU opened this issue Feb 3, 2023 · 3 comments

Comments

@Serega007RU
Copy link

image

@brian-girko
Copy link
Owner

Does this happen on all websites?

@Serega007RU
Copy link
Author

Serega007RU commented Feb 5, 2023

Here on this site https://yandex.ru/showcaptcha
Don't pay attention to the 400 error, just try to capture some text, you will get this error in the console

@Serega007RU
Copy link
Author

Serega007RU commented Feb 5, 2023

Excuse me, as it turns out, the error is affected not only by the site itself, but also by the TamperMonkey script
Specifically this script https://greasyfork.org/ru/scripts/19993-ru-adlist-js-fixes
As I understand it, this script overrides the shadowRoot function and the getElementById function is not available in it

One of the solutions that I see is to replace getElementById with querySelector.

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