Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scheduled task as chrome extension

Can I make a scheduled to be as part of chrome extension ? I would like to write the task in JavaScript and make it run periodically in the browser while the browser is running.

like image 834
Michael Avatar asked Dec 04 '13 20:12

Michael


1 Answers

Check out Chrome.alarms:

Use the chrome.alarms API to schedule code to run periodically or at a specified time in the future.

https://developer.chrome.com/extensions/alarms.html

like image 84
Ari Avatar answered Oct 07 '22 02:10

Ari



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!