Updated for better compatibility with GitHub site and Greasemonkey