{"action":"closed","issue":{"url":"https://api.github.com/repos/mklabs/tiny-lr/issues/28","labels_url":"https://api.github.com/repos/mklabs/tiny-lr/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mklabs/tiny-lr/issues/28/comments","events_url":"https://api.github.com/repos/mklabs/tiny-lr/issues/28/events","html_url":"https://github.com/mklabs/tiny-lr/issues/28","id":24371574,"number":28,"title":"Chrome Canary 33 requires a hardcoded snippet","user":{"login":"joeybaker","id":36662,"avatar_url":"https://avatars.githubusercontent.com/u/36662?v=3","gravatar_id":"","url":"https://api.github.com/users/joeybaker","html_url":"https://github.com/joeybaker","followers_url":"https://api.github.com/users/joeybaker/followers","following_url":"https://api.github.com/users/joeybaker/following{/other_user}","gists_url":"https://api.github.com/users/joeybaker/gists{/gist_id}","starred_url":"https://api.github.com/users/joeybaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeybaker/subscriptions","organizations_url":"https://api.github.com/users/joeybaker/orgs","repos_url":"https://api.github.com/users/joeybaker/repos","events_url":"https://api.github.com/users/joeybaker/events{/privacy}","received_events_url":"https://api.github.com/users/joeybaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-12-16T19:14:11Z","updated_at":"2015-06-14T11:50:55Z","closed_at":"2015-06-14T11:50:55Z","body":"I'm running Chrome Canary 33.0.1736.2. Which has introduced an interesting bug. Until this version (maybe a few versions previous), the following snippet worked for kicking off livereload:\r\n\r\n```html\r\n<script>\r\n(function(d,t){\r\nvar g=d.createElement(t),s=d.getElementsByTagName(t)[0];\r\ng.src='//' + window.location.hostname + ':' + (parseInt(window.location.port, 10) + 2) + '/livereload.js';\r\ns.parentNode.insertBefore(g,s)}(document,'script')\r\n);\r\n</script>\r\n```\r\n\r\nNo longer. Now, only the following works:\r\n\r\n```html\r\n  <script src=\"//localhost:8082/livereload.js\"></script>\r\n```"}}