Background
In one of the previous post we saw a Greasemonkey script to block Game of thrones spoiler on facebook. In this post we will see Greasemonkey script to replay Youtube videos once they finish. And we will see how to do this from very beginning including installing the plugin.
Setup
First step is to install the Greasemonkey plugin in firefox. There is a similar plugin in chrome called Tampermonkey. For demo purposes we will use firefox. So go ahead and install the plugin. URL is -
Once installed you can see it's icon besides navigation bar. There you can click to create a new user script -
Then you should see a window where you can create your script.
You can find the actual script on my github account -