0
browser.storage.sync.get not working in Firefox extension.based on budget calculation.On clicking submit button nothing happens
Firefox extension
7 Antworten
+ 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
+ 1
Unfortunately without seeing the code can not be helped
0
Ja Play
No i haven't used "window.moz".
Do I've to remove browser i.e. window.moz.storage.get
0
chrome.storage.sync.get('total',function(budget) {... }) ;
giving Error: budget is undefined
0
Ja Play
This extension is for Firefox
https://code.sololearn.com/WV18V8BNzMf2/?ref=app
0
I want to use the firefox storage api in this extension.
0
I don't have much experience with jquery and unfortunately I can't estimate where the problem lies.