browser.storage.sync.get not working in Firefox extension.based on budget calculation.On clicking submit button nothing happens | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

browser.storage.sync.get not working in Firefox extension.based on budget calculation.On clicking submit button nothing happens

Firefox extension

17th Mar 2020, 3:31 PM
R_N
7 Answers
+ 2
Did you implement such as follows? window. ... = window. ... // usually || window.moz... // for old Firefox || window.webkit... // for old Chrome || window.ms... // for old IE
17th Mar 2020, 3:45 PM
JaScript
JaScript - avatar
+ 1
Unfortunately without seeing the code can not be helped
17th Mar 2020, 7:22 PM
JaScript
JaScript - avatar
0
Ja Play No i haven't used "window.moz". Do I've to remove browser i.e. window.moz.storage.get
17th Mar 2020, 3:51 PM
R_N
0
chrome.storage.sync.get('total',function(budget) {... }) ; giving Error: budget is undefined
17th Mar 2020, 4:56 PM
R_N
17th Mar 2020, 8:47 PM
R_N
0
I want to use the firefox storage api in this extension.
18th Mar 2020, 5:56 AM
R_N
0
I don't have much experience with jquery and unfortunately I can't estimate where the problem lies.
18th Mar 2020, 3:20 PM
JaScript
JaScript - avatar