Use this code only if you know what it does
This script calculates how many hours you have spent watching videos on youtube
- Go on Youtube and click on your avatar
- Go to "Your data in Youtube"
- Under the "Youtube Watch History" category go to "Manage your YouTube Watch History"
- Scroll down until you can't load any more videos (it may take some time, also you can press "End" to scroll to the bottom of the page)
- Press Ctrl+Shift+C
- Go to "Console"
- Paste in the code from index.js ( only paste code that is safe )