[GH-ISSUE #45] date-to-string and function-to-string checkers #108

Closed
opened 2026-03-01 17:27:37 +03:00 by kerem · 1 comment
Owner

Originally created by @EladGB on GitHub (Aug 15, 2022).
Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/45

Originally assigned to: @AEPKILL on GitHub.

Hi,
Could you please explain how the date-to-string and function-to-string checkers work?
I mean, from the code it seems that when the Devtools is open the "log" should call them twice (because the code checks "==2").
But I tried with console open and it is called only once, so the counter is 1 and never gets to 2.

BTW- I apologize if this is not the right place to leave this question but I couldn't find any thread for posting questions :))

Originally created by @EladGB on GitHub (Aug 15, 2022). Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/45 Originally assigned to: @AEPKILL on GitHub. Hi, Could you please explain how the date-to-string and function-to-string checkers work? I mean, from the code it seems that when the Devtools is open the "log" should call them twice (because the code checks "==2"). But I tried with console open and it is called only once, so the counter is 1 and never gets to 2. BTW- I apologize if this is not the right place to leave this question but I couldn't find any thread for posting questions :))
kerem 2026-03-01 17:27:37 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@AEPKILL commented on GitHub (Aug 18, 2022):

This is because in the old chrome kernel it will be executed twice

<!-- gh-comment-id:1219267038 --> @AEPKILL commented on GitHub (Aug 18, 2022): This is because in the old chrome kernel it will be executed twice
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/devtools-detector#108
No description provided.