/*
* @title Github pages to Github.com
* @description jump from github.io to github.com
* @include http://*.github.io/*
* @license MIT License
* @require
*/
(function() {
var userName = location.host.split(".").shift();
if (userName == null) {
alert("Not Found UserName");
}
var path = userName + location.pathname;
var githubRepo = "https://github.com/" + path;
location.href = githubRepo;
})();