I am developing a browser extension, that uses local storage to store URLs.
the local storage is used in background script and in script for the popup and extension options.
Whenever a function needs these sites, it basically makes an API call to retrieve them.
But I was wondering, if there is a better way to get these data and not call the API from multiple functions all the time. (for example store it in a file or a variable)
for now, i retrieve data like this:
let whiteList = browser.storage.local.get("whiteList");
whiteList.then((res) => {
// check if there are any blacklisted sites
if (!res.whiteList || res.whiteList.left < 1) {
whiteListedSites = [];
// parse blackListed sites to object
} else {
whiteListedSites = JSON.parse(res.whiteList);
}
Thanks for your help! 🙂
advair diskus coupon
provigil generic – modafinil and weight loss provigil 200mg
is it safe to order clomid
buy accutane online cheap canada – accutane singapore buy buy accutane 5mg
buy amoxicillin 500 mg – buy amoxicilin online buy amoxicilin 500 mg canada
body building forum clomid
I’m no longer sure the place you’re getting your info,
however good topic. I needs to spend a while learning more or figuring out more.
Thanks for great information I used to be looking for this information for my mission. http://hydroxychloroquined.online/
buy vardenafil 10mg – bruno vardenafil generic order vardenafil
stromectol cvs – fda ivermectin stromectol tab 3mg
cialis pill – cheap tadalafil no preion how much is cialis in canada
ivermectin virus – stromectol 3 mg dosage stromectol order
buy accutane nz – buy accutane online without prescription generic accutane costs
lyrica tablets uk – canadian pharmacy cialis 20mg canadian pharmacy review
amoxicillin without a doctor‘s prescription – amoxicillin 500 mg for sale buy amoxicillina noscript canada
non-generic viagra – where to purchase viagra pills where can i get real viagra online
online tadalafil – indian pharmacy 40 mg cialis generic
oral ivermectin cost – oral stromectol cost ivermectin 3mg pill
Hey there! This post could not be written any better!
Reading through this post reminds me of my old room mate!
He always kept chatting about this. I will forward this article to him.
Fairly certain he will have a good read. Many thanks for sharing! https://herreramedical.org/hydroxychloroquine
generic prednisone 40mg online – prednisone 20mg prices prednisone 5 mg
Hello there! Do you know if they make any plugins to safeguard
against hackers? I’m kinda paranoid about losing everything I’ve worked
hard on. Any suggestions? http://cleckleyfloors.com/
provigil for sale – modapls.com modafinil and alcohol
buy zithromax 250mg – azithromycin zithromax buy azithromycin 500mg
buy furosemide 40 mg – lasix tablets australia lasix 12.5
generic clomid – buy clomiphene 50mg online clomiphene 100mg
Hi, i think that i saw you visited my website thus i came to “return the favor”.I’m attempting to find things to
enhance my site!I suppose its ok to use some of your ideas!! https://hhydroxychloroquine.com/
cialis online canada cheap – tadalafil 60 mg prescription cialis from canada
amoxicillin prescription example
buy ivermectin cream – ivermectin 80 mg stromectol 3 mg tablets price
propecia fertility
online casino games – casino gambling casino online usa
Very nice article, exactly what I needed. http://www.deinformedvoters.org/hydroxychloroquine
zithromax 1g
100 mg prednisone daily – prednisone 20mg for sale prednisone 54092
ivermectin 500mg – ivermectin pills human stromectol for sale
ed dysfunction treatment – natural ed drugs mens ed pills
printable coupons for lisinopril
albuterol sulfate inhaler – buy ventolin online ventolin nebules
where can i buy dapoxetine in canada
buy cytotec online australia – purchase cytotec online where can i purchase cytotec
doxycycline online for dogs – doxycycline cream over the counter doxycycline 100 mg capsule
neurontin pills for sale – neurontinpl synthroid 62 5 mg
where can i buy viagra over the counter canada – viagra usa 100mg
generic cialis 20 – canadian pharmacy discount coupon where to get tadalafil
how long does vardenafil work – levitra vardenafil buy vardenafil canada
where to get viagra over the counter
oral ivermectin cost – cost of stromectol medication ivermectin oral
cheap generic accutane – accutans.com buy generic accutane uk
amoxicillin 500 mg for sale – amoxclin.com buy amoxicilina 500 mg
medrol dose pack no presciption – methylprednisolone dose pack no presciption how much is lyrica 75 mg
ventolin coupon
essay writing sites – famous essay writers custom dissertation
purchase viagra online without prescription – Buy viagra in us viagra pharmacy
stromectol online canada – purchase ivermectin ivermectin 4
deltasone 5mg cost – prednisone rx buy prednisone without prescription
furosemide 12.5 mg without prescription – lasix 40 mg iv lasix price uk
ventolin purchase – ventolin medication ventolin medication
can you get cytotec over the counter – cytotec 25 mg cytotec for sale to us
clomid buy with pay pal
We’re a gaggle of volunteers and opening a new scheme
in our community. Your website offered us with valuable information to work on. You’ve done an impressive process and our entire
community shall be thankful to you. https://tadalafili.com/
I am extremely impressed with your writing skills as well as with the layout on your weblog.
Is this a paid theme or did you customize it yourself?
Either way keep up the nice quality writing, it is rare to see a nice blog like this one nowadays. http://herreramedical.org/azithromycin
average cost of doxycycline – prednisolone 5mg price uk prednisolone 5mg capsules
how to store lasix
ivermectin 2 – buy oral stromectol cost of ivermectin cream
advair diskus 500 mg 50 mcg
ivermectin 6mg online – stromectol price us stromectol 6 mg tablet
sildenafil coupon – generic sildenafil online canada sildenafil
liquid tadalafil – viagra vs tadalafil tadalafil pills
accutane 50mg – isotretinoin 20 mg accutane price south africa
Touche. Sound arguments. Keep up the great effort. http://antiibioticsland.com/Zithromax.htm
pay to do my assignment – research paper editing help writing research paper
cost for viagra prescription – viagra generic online no prescription pharmacy paypal
I am actually grateful to the owner of this web page who has
shared this impressive post at here. http://antiibioticsland.com/Stromectol.htm
amoxil online in the usa
generic vardenafil canada – vardenafil canada best over the counter ed pills
simple online pharmacy finasteride
plaquenil and weight gain – plaquenirx.com prices for prednisone
tadalafil prices in india
stromectol ireland – stromectol human stromectol xl
cialis online free shipping
buy viagra online best price – viagra brand viagra online generic canada
how much is prednisone 10 mg – prednisone 20mg tablets where to buy prednisone 5 mg
is it illegal to buy zithromax online
best price cialis generic – cialis women daily cialis 5mg
ventolin hfa aer glax
Helpful info. Lucky me I found your site by accident, and I’m stunned why this twist of fate didn’t happened earlier!
I bookmarked it. http://harmonyhomesltd.com/Ivermectinum-during-pregnancy.html
ivermectin online pharmacy – stromectol otc ivermectin 3mg pill
ivermectin oral solution – stromectol cost canada ivermectin 3
buy generic viagra canada online – purchasing viagra on the internet 200 viagra
price of zithromax without insurance
tadalafil 5mg prescription – ereccialtdfil best place to purchase cialis
cialis 2.5 mg cost – Buy real cialis purchase cialis online australia
doubleu casino – doubleu casino online casino best real casino online
order dapoxetine online india
cipla tadalafil
viagra sale – Real viagra viagra over the counter us
ivermectin pills – price of ivermectin ivermectin cost
online pharmacy india tadalafil
cialis online pharmacy paypal
where can i buy fluconazole 150 mg
sildenafil over the counter – order generic tadalafil 20mg order cialis 10mg online
viagra 50mg sans ordonnance – acheter 20mg cialis pharmacie en ligne cialis 20mg
effects of amoxicillin on fetus
ivermectin buy uk – brand stromectol 12mg stromectol cvs
albuterol hfa inh 200 puffs 6.7 gm
prednisone online – legitimate online pharmacy usa buy generic prednisone
side effects for tadalafil best price usa tadalafil
tadalafil daily online https://nextadalafil.com/
buy zanaflex without prescription – toradol cost colchicine 0.5mg without prescription
buy inderal 10mg pill – hydroxychloroquine 200mg brand hydroxychloroquine usa
casino online games – no deposit casino cost azithromycin 500mg
https://nextadalafil.com/ generic cialis online fast shipping
tadalafil generic tadalafil generic
cialis at canadian pharmacy https://cialismat.com/
tadalafil online with out prescription buy cialis pills
cheap generic cialis for sale cheapest tadalafil cost
tadalafil cialis tadalafil drug
cheapest tadalafil cost tadalafil drug
buy cialis tadalafil drug
http://www.ivermectinoge.com/ stromectol in usa