Getting error "cannot read property 'get' of undefined typerror" when running my own extension on Chrome. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Getting error "cannot read property 'get' of undefined typerror" when running my own extension on Chrome.

Web extension

18th Mar 2020, 1:53 PM
R_N
4 Answers
+ 2
//Can you attach your score code , It happens when JavaScript dose not find specified element's
18th Mar 2020, 2:16 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
https://code.sololearn.com/WV18V8BNzMf2/?ref=app I'm running this extension on firefox. It's giving chrome.storage.sync.get not defined. Then i wrote browser.storage.sync.get.. Then also it's giving the same results. It's working in chrome.
18th Mar 2020, 2:20 PM
R_N
0
Do I need to have firefox sync account?
18th Mar 2020, 2:53 PM
R_N