I want to create a Chrome extension that periodically checks a URI containing JSON
response and displays a notification to the user (in some cases).
This should happen regardless of the website where the user is browsing.
I'll create an example usage:
- Extension Draw Example;
- Every 2h collects the
JSON
, and if it contains thecupom
key, it displays the alert; - The alert tells the user: "You have earned! Please report the key value of% key received% in%%."
What features and permissions should Chrome use?
Extra: Does anyone know of an example or open source that works similar to the example I created?