{"action":"created","issue":{"url":"https://api.github.com/repos/shaarli/Shaarli/issues/46","labels_url":"https://api.github.com/repos/shaarli/Shaarli/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/shaarli/Shaarli/issues/46/comments","events_url":"https://api.github.com/repos/shaarli/Shaarli/issues/46/events","html_url":"https://github.com/shaarli/Shaarli/issues/46","id":48166454,"number":46,"title":"Handle storage of javascript: URIs","user":{"login":"nodiscc","id":3950390,"avatar_url":"https://avatars.githubusercontent.com/u/3950390?v=3","gravatar_id":"","url":"https://api.github.com/users/nodiscc","html_url":"https://github.com/nodiscc","followers_url":"https://api.github.com/users/nodiscc/followers","following_url":"https://api.github.com/users/nodiscc/following{/other_user}","gists_url":"https://api.github.com/users/nodiscc/gists{/gist_id}","starred_url":"https://api.github.com/users/nodiscc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodiscc/subscriptions","organizations_url":"https://api.github.com/users/nodiscc/orgs","repos_url":"https://api.github.com/users/nodiscc/repos","events_url":"https://api.github.com/users/nodiscc/events{/privacy}","received_events_url":"https://api.github.com/users/nodiscc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shaarli/Shaarli/labels/decision%20needed","name":"decision needed","color":"fef2c0"},{"url":"https://api.github.com/repos/shaarli/Shaarli/labels/easy","name":"easy","color":"009800"},{"url":"https://api.github.com/repos/shaarli/Shaarli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-11-08T13:53:47Z","updated_at":"2015-03-05T21:08:25Z","closed_at":null,"body":"Copied from https://github.com/sebsauvage/Shaarli/issues/174\r\n\r\nAt https://github.com/shaarli/Shaarli/blob/master/index.php#L1479, add `&& !startsWith($url,'javascript:')`\r\n\r\n> This allows to pervent bookmarklets' URL to be prepended with http:// prefix.\r\nThat keeps the bookmarklet link functional and dragable \"as is\" to the browser's bookmarks bar."},"comment":{"url":"https://api.github.com/repos/shaarli/Shaarli/issues/comments/77452038","html_url":"https://github.com/shaarli/Shaarli/issues/46#issuecomment-77452038","issue_url":"https://api.github.com/repos/shaarli/Shaarli/issues/46","id":77452038,"user":{"login":"e2jk","id":229379,"avatar_url":"https://avatars.githubusercontent.com/u/229379?v=3","gravatar_id":"","url":"https://api.github.com/users/e2jk","html_url":"https://github.com/e2jk","followers_url":"https://api.github.com/users/e2jk/followers","following_url":"https://api.github.com/users/e2jk/following{/other_user}","gists_url":"https://api.github.com/users/e2jk/gists{/gist_id}","starred_url":"https://api.github.com/users/e2jk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e2jk/subscriptions","organizations_url":"https://api.github.com/users/e2jk/orgs","repos_url":"https://api.github.com/users/e2jk/repos","events_url":"https://api.github.com/users/e2jk/events{/privacy}","received_events_url":"https://api.github.com/users/e2jk/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T21:08:25Z","updated_at":"2015-03-05T21:08:25Z","body":"@nicolasdanelon It's not Shaarli's job to influence \"coding practices\".\r\nWith HTML5 \"apps\", Firefox mobile and all, if you just take a \"all JavaScript is bad\" approach you haven't got a bright future in front of you.\r\nPlus, this doesn't have anything to do with the developers of the websites, since this would be used primarily to store bookmarklets.\r\nSorry, not a convincing argument to me."}}