Passing Variable from pop.js to content.js | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Passing Variable from pop.js to content.js

I am trying to send data from input field in popup.html to the content.js using the chrome message API but it's not working.. Any Solution?

12th May 2020, 10:24 PM
Hassan Raza
Hassan Raza - avatar
1 ответ
0
You may use export/import features (ES6)
1st Jun 2020, 6:15 PM
Kairat Santashbekov
Kairat Santashbekov - avatar