Created
May 13, 2018 22:17
-
-
Save mchurichi/43f510d3fa15d5a3a5802622f72c4328 to your computer and use it in GitHub Desktop.
Delete daily records in RescueTime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const links = document.querySelectorAll('.delete-time-for-activity-link'); | |
for (let i = 0; i < links.length; i++) { | |
setTimeout(() => { | |
links[i].click(); | |
setTimeout(() => document.querySelector('.delete-entity-time button').click(), 1000); | |
}, i*5000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment