Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show notification 30 minutes before contest #3

Open
conlacda opened this issue Aug 28, 2024 · 1 comment
Open

Show notification 30 minutes before contest #3

conlacda opened this issue Aug 28, 2024 · 1 comment
Labels

Comments

@conlacda
Copy link
Owner

  • Add an alarm button next to the contest's name
  • Set a timer to show notification
  • Add settings (how many minutes before the contest)
@conlacda conlacda added the idea label Aug 28, 2024
@conlacda
Copy link
Owner Author

Sample code:

chrome.runtime.onInstalled.addListener(() => {
    chrome.notifications.create({
        type: 'basic',
        iconUrl: '/icons/icon-128.png',
        title: 'Notification Title',
        message: 'This is a message for the notification.',
    });
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant