M
M
Maxim Shcherbakov2019-04-04 12:53:46
JavaScript
Maxim Shcherbakov, 2019-04-04 12:53:46

How to understand that the script is executed in the extension?

I need to understand from the js script whether it is executed in the chrome extension, firefox or not, but I don’t know how

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2019-04-04
@UnknownError

We need to check for the existence of environment-specific variables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question