{"action":"created","issue":{"url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/252","repository_url":"https://api.github.com/repos/Tampermonkey/tampermonkey","labels_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/252/comments","events_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/252/events","html_url":"https://github.com/Tampermonkey/tampermonkey/issues/252","id":119874577,"number":252,"title":"use a service for getting sites' favicons","user":{"login":"18763C27","id":12559208,"avatar_url":"https://avatars.githubusercontent.com/u/12559208?v=3","gravatar_id":"","url":"https://api.github.com/users/18763C27","html_url":"https://github.com/18763C27","followers_url":"https://api.github.com/users/18763C27/followers","following_url":"https://api.github.com/users/18763C27/following{/other_user}","gists_url":"https://api.github.com/users/18763C27/gists{/gist_id}","starred_url":"https://api.github.com/users/18763C27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18763C27/subscriptions","organizations_url":"https://api.github.com/users/18763C27/orgs","repos_url":"https://api.github.com/users/18763C27/repos","events_url":"https://api.github.com/users/18763C27/events{/privacy}","received_events_url":"https://api.github.com/users/18763C27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T06:15:14Z","updated_at":"2016-02-06T16:45:46Z","closed_at":null,"body":"currently, in the installed userscripts list, the @-included sites' favicons are loaded from `http(s)://site.tld/favicon.ico`\r\n\r\nthis doesn't work for sites that serve their favicon with a different filename, format or path using a `link` element\r\n\r\n```javascript\r\n\"https://www.google.com/s2/favicons?domain=\" + encodeURIComponent(/* url or hostname */)\r\n\r\n// these all work:\r\n// https://www.google.com/s2/favicons?domain=tampermonkey.net\r\n// https://www.google.com/s2/favicons?domain=https://tampermonkey.net/\r\n// https://www.google.com/s2/favicons?domain=https://tampermonkey.net/index.php\r\n```\r\n\r\nsomething like this would work better\r\n\r\ngoogle's favicon service isn't the only one out there btw, it's just what i use"},"comment":{"url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/comments/180808324","html_url":"https://github.com/Tampermonkey/tampermonkey/issues/252#issuecomment-180808324","issue_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/252","id":180808324,"user":{"login":"tiansh","id":6500326,"avatar_url":"https://avatars.githubusercontent.com/u/6500326?v=3","gravatar_id":"","url":"https://api.github.com/users/tiansh","html_url":"https://github.com/tiansh","followers_url":"https://api.github.com/users/tiansh/followers","following_url":"https://api.github.com/users/tiansh/following{/other_user}","gists_url":"https://api.github.com/users/tiansh/gists{/gist_id}","starred_url":"https://api.github.com/users/tiansh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiansh/subscriptions","organizations_url":"https://api.github.com/users/tiansh/orgs","repos_url":"https://api.github.com/users/tiansh/repos","events_url":"https://api.github.com/users/tiansh/events{/privacy}","received_events_url":"https://api.github.com/users/tiansh/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T16:45:46Z","updated_at":"2016-02-06T16:45:46Z","body":"vote -1 for user privacy\r\ngoogle already knows too much"}}