prevent 404 by stripping out everything after the repo name in the url
Merge pull request #1 from AlexNisnevich/master

Prevent 404 from userscript by stripping out everything after the repo name in the url