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 Chrome does not work #40

Open
inoryxun opened this issue Jul 14, 2020 · 8 comments
Open

Google Chrome does not work #40

inoryxun opened this issue Jul 14, 2020 · 8 comments

Comments

@inoryxun
Copy link

Firefox and safari can be used normally, only in Google Chrome does not work

@kozyonchik
Copy link

Yes Chrome stopped work

@laike9m
Copy link

laike9m commented Jul 29, 2020

Can confirm with VS Code

@ajmeese7
Copy link

Would this code help you guys?

var devtools = function() {};
devtools.toString = function() {
  if (!this.opened) {
    alert("Opened");
  }
  this.opened = true;
}

console.log('%c', devtools);
// devtools.opened will become true if/when the console is opened

It seems like it has worked for a lot of people in the past.

@verone0001
Copy link

Working for me, Google Chrome 91.0.4472.77 (latest build)

@uahnbu
Copy link

uahnbu commented Jun 23, 2021

@verone0001 How can that work? I'm on MSEdge and it doesn't. I've tested this code

var devtools = function() {};
devtools.toString = function() {
  test.textContent = 'opened';
}
setInterval(() => (
  test.textContent = 'closed',
  console.log('%c', devtools)
), 1000);

on a page with a div id="test" and it said "opened" even if I'd closed devtools. Does it happen to you?

@verone0001
Copy link

@verone0001 How can that work? I'm on MSEdge and it doesn't. I've tested this code

var devtools = function() {};
devtools.toString = function() {
  test.textContent = 'opened';
}
setInterval(() => (
  test.textContent = 'closed',
  console.log('%c', devtools)
), 1000);

on a page with a div id="test" and it said "opened" even if I'd closed devtools. Does it happen to you?

I haven't tested it in any other browser, only followed the given steps for Chrome latest build.

@uahnbu
Copy link

uahnbu commented Jun 25, 2021

@ajmeese7 It doesn't work on Firefox either. So there's still no reliable way for cross-platform check.

@AlecRust
Copy link

This library works fine for me on Firefox 96.

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

7 participants