I've got a chrome plugin project that sends a fetch request to Unsplash's API for a new background image every two minutes. In this request, I send an access key which is to remain a secret, but since it's sort of a 'webpage' anyone who knows web development or js would be able to find the access key.
What is the best practice for restricting access to this kind of information (Read: API-Keys)?
I have Google'd and most of the articles I found about it have some framework in the backend.