MaastrichtU-Library / the-FAIR-extension

🧩 The FAIR extension: A web browser extension to evaluate Digital Object FAIRness
https://maastrichtu-library.github.io/the-FAIR-extension/
Apache License 2.0
6 stars 0 forks source link

background.js is not used #25

Closed fdiblen closed 1 year ago

fdiblen commented 1 year ago

the listener function in background.js is not doing anything and not used anywhere. To keep things simple, I suggest removing it now and adding when it is needed.

Alialsaeedi1 commented 1 year ago

background.js is actually being trigerred when a user tries to evaluate a DOI. It sends that specific DOI to background.js which saves it to chrome storage, and this allows popup.js to use that DOI to generate results. It also helps in the redirection of the user to the DOI url when they click on DOI.