What features to use when creating a Chrome extension for notifications [closed]

0

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 the cupom 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?

    
asked by anonymous 20.07.2014 / 14:14

1 answer

1

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

Examples Google Chrome Extensions

You can use JQuery to make this application, here is also a

21.07.2014 / 16:20