W
W
Welaurs2017-10-13 20:35:25
JavaScript
Welaurs, 2017-10-13 20:35:25

How to include JS in all extension pages?

Good evening. There is a script app/index.js , in order to protect the source code, I will obfuscate it and change the name to a random character set. 59e0f937446d0514805153.jpeg
The question is the following: how can I include all the scripts in the pop-up extension?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artyom Egorov, 2017-10-14
@egoroof

how do i include all scripts in pop-up extensions

It is necessary to specify in the manifest an HTML page in which to connect scripts, for example: https://github.com/egoroof/yandex-music-fisher/blo...
And also about code obfuscation: it will not solve your problem.
And changing the name of the files is some kind of kindergarten)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question