What features to use when creating a Chrome extension for notifications

Asked

Viewed 77 times

0

I want to create a Chrome extension that periodically checks a response URI JSON and that displays a notification to the user (in some cases). This must happen, regardless of the website where the user is browsing.

I will create an example of use:

  • Extension Draw Example;
  • Every 2 hours it collects the JSON, and if there is a key in it cupom, displays the alert;
  • The alert tells the user: "You won! Enter the key value coupon cupom received in the json.

What Chrome features and permissions should I use?

Extra: Does anyone know an example or open source that works similar to the example I created?

1 answer

1


In the documentation of Google Chrome Extensions there are plenty of examples, you may be taking a look to adapt to your project.

Examples Google Chrome Extensions (English)

You can use Jquery to make this application, here also is a example how to start with Jquery.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.