Moving along with automating in the Browser. Today I learned how to automate todo creation using setTimeout and setInterval.

Adding the delay is necessary because using a for loop creates todos with duplicate ids (the id is set using the millisecond the todo is created)

I also learned how to execute this code as a bookmarklet. The syntax is as follows:

javascript: (function(){
// code to execute when you open the bookmark
}()