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

It works only if dev tools are anchored to the page. #39

Open
fabiocaccamo opened this issue Jun 21, 2020 · 2 comments
Open

It works only if dev tools are anchored to the page. #39

fabiocaccamo opened this issue Jun 21, 2020 · 2 comments

Comments

@fabiocaccamo
Copy link

If you just detach the dev tools from the page, it will not work anymore.

@papb
Copy link

papb commented Jun 22, 2020

This is known

@FranciscoG
Copy link

check out this solution. It will work no matter if it's docked or not. It uses requestAnimationFrame though but you can change it to use a less frequent setInterval like devtools-detect does.

The only downside is that it constantly pollutes the console by continually logging but for now it's the only foolproof solution

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

3 participants