{"action":"created","issue":{"url":"https://api.github.com/repos/einaregilsson/Redirector/issues/53","repository_url":"https://api.github.com/repos/einaregilsson/Redirector","labels_url":"https://api.github.com/repos/einaregilsson/Redirector/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/einaregilsson/Redirector/issues/53/comments","events_url":"https://api.github.com/repos/einaregilsson/Redirector/issues/53/events","html_url":"https://github.com/einaregilsson/Redirector/issues/53","id":123894281,"number":53,"title":"Redirecting to a message","user":{"login":"Gitoffthelawn","id":7672848,"avatar_url":"https://avatars.githubusercontent.com/u/7672848?v=3","gravatar_id":"","url":"https://api.github.com/users/Gitoffthelawn","html_url":"https://github.com/Gitoffthelawn","followers_url":"https://api.github.com/users/Gitoffthelawn/followers","following_url":"https://api.github.com/users/Gitoffthelawn/following{/other_user}","gists_url":"https://api.github.com/users/Gitoffthelawn/gists{/gist_id}","starred_url":"https://api.github.com/users/Gitoffthelawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gitoffthelawn/subscriptions","organizations_url":"https://api.github.com/users/Gitoffthelawn/orgs","repos_url":"https://api.github.com/users/Gitoffthelawn/repos","events_url":"https://api.github.com/users/Gitoffthelawn/events{/privacy}","received_events_url":"https://api.github.com/users/Gitoffthelawn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-25T18:50:11Z","updated_at":"2016-04-28T23:17:12Z","closed_at":null,"body":"In previous versions of Redirector, it was trivial to use javascript to display a message instead of redirecting to another URL.\r\n\r\nFor example, if a known website was incompatible with the browser, you could use javascript to display the message \"Website Incompatible\" instead of having the site fail.\r\n\r\nDue to changes we have discussed that were necessary for the current version of Redirector, that is no longer possible.\r\n\r\nWhat is the best way to accomplish this goal in the current version?\r\n\r\nI thought perhaps `about:about Message` or `about:null Message` would at least be hacks show the message in the urlbar, but neither works.\r\n\r\nThe best I've come up with is `http://localhost/display: Message`.  This shows the message in the urlbar, but you have to wait for the localhost resolver to fail.\r\n\r\nIs there a better way to do this?"},"comment":{"url":"https://api.github.com/repos/einaregilsson/Redirector/issues/comments/215590194","html_url":"https://github.com/einaregilsson/Redirector/issues/53#issuecomment-215590194","issue_url":"https://api.github.com/repos/einaregilsson/Redirector/issues/53","id":215590194,"user":{"login":"einaregilsson","id":557149,"avatar_url":"https://avatars.githubusercontent.com/u/557149?v=3","gravatar_id":"","url":"https://api.github.com/users/einaregilsson","html_url":"https://github.com/einaregilsson","followers_url":"https://api.github.com/users/einaregilsson/followers","following_url":"https://api.github.com/users/einaregilsson/following{/other_user}","gists_url":"https://api.github.com/users/einaregilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/einaregilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einaregilsson/subscriptions","organizations_url":"https://api.github.com/users/einaregilsson/orgs","repos_url":"https://api.github.com/users/einaregilsson/repos","events_url":"https://api.github.com/users/einaregilsson/events{/privacy}","received_events_url":"https://api.github.com/users/einaregilsson/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T23:17:12Z","updated_at":"2016-04-28T23:17:12Z","body":"See https://www.thinkful.com/learn/a-guide-to-using-github-pages/ for example, or just google Github Pages, they have some explanations. Basically just create a repo, create a branch called gh-pages in it and add an index.html file to that. E.g. my username is einaregilsson, if I create a repo called foobar and push a gh-pages branch to it, then my index file will be at http://einaregilsson.github.io/foobar/index.html\r\n\r\n"}}