{"action":"created","issue":{"url":"https://api.github.com/repos/citp/OpenWPM/issues/101","repository_url":"https://api.github.com/repos/citp/OpenWPM","labels_url":"https://api.github.com/repos/citp/OpenWPM/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/citp/OpenWPM/issues/101/comments","events_url":"https://api.github.com/repos/citp/OpenWPM/issues/101/events","html_url":"https://github.com/citp/OpenWPM/issues/101","id":188557834,"number":101,"title":"Support Firefox's Tracking Protection","user":{"login":"englehardt","id":3280150,"avatar_url":"https://avatars.githubusercontent.com/u/3280150?v=3","gravatar_id":"","url":"https://api.github.com/users/englehardt","html_url":"https://github.com/englehardt","followers_url":"https://api.github.com/users/englehardt/followers","following_url":"https://api.github.com/users/englehardt/following{/other_user}","gists_url":"https://api.github.com/users/englehardt/gists{/gist_id}","starred_url":"https://api.github.com/users/englehardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englehardt/subscriptions","organizations_url":"https://api.github.com/users/englehardt/orgs","repos_url":"https://api.github.com/users/englehardt/repos","events_url":"https://api.github.com/users/englehardt/events{/privacy}","received_events_url":"https://api.github.com/users/englehardt/received_events","type":"User","site_admin":false},"labels":[{"id":105940907,"url":"https://api.github.com/repos/citp/OpenWPM/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-10T16:40:43Z","updated_at":"2016-11-10T17:10:06Z","closed_at":null,"body":"Tracking Protection was added in Firefox 42, so we should be able to turn on support for it.\r\n\r\nThe pref is currently disabled: https://github.com/citp/OpenWPM/blob/master/automation/DeployBrowsers/configure_firefox.py#L30-L35\r\n\r\nHowever, enabling the pref still won't work correctly as we remove the update URL to prevent stray HTTP requests to mozilla's servers during a crawl (see: https://github.com/citp/OpenWPM/blob/master/automation/DeployBrowsers/configure_firefox.py#L137). It should be pretty easy to figure out the API to query and manually download the list at the start of a crawl."},"comment":{"url":"https://api.github.com/repos/citp/OpenWPM/issues/comments/259748728","html_url":"https://github.com/citp/OpenWPM/issues/101#issuecomment-259748728","issue_url":"https://api.github.com/repos/citp/OpenWPM/issues/101","id":259748728,"user":{"login":"englehardt","id":3280150,"avatar_url":"https://avatars.githubusercontent.com/u/3280150?v=3","gravatar_id":"","url":"https://api.github.com/users/englehardt","html_url":"https://github.com/englehardt","followers_url":"https://api.github.com/users/englehardt/followers","following_url":"https://api.github.com/users/englehardt/following{/other_user}","gists_url":"https://api.github.com/users/englehardt/gists{/gist_id}","starred_url":"https://api.github.com/users/englehardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englehardt/subscriptions","organizations_url":"https://api.github.com/users/englehardt/orgs","repos_url":"https://api.github.com/users/englehardt/repos","events_url":"https://api.github.com/users/englehardt/events{/privacy}","received_events_url":"https://api.github.com/users/englehardt/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T17:10:06Z","updated_at":"2016-11-10T17:10:06Z","body":"The two update urls are:\r\n* `https://tracking-protection.cdn.mozilla.net/mozstd-track-digest256/1471874828`\r\n* `https://tracking-protection.cdn.mozilla.net/mozstd-trackwhite-digest256/1478554625`\r\n\r\nSo we can just make these requests manually with the `requests` library and update the timestamp at the end of the url. In order to have Firefox consume these lists we probably need to set `browser.safebrowsing.provider.mozilla.lists` to `mozstd-track-digest256,mozstd-trackwhite-digest256`, but we'll need to be sure that auto-updates are not enabled."}}
{"actor":{"display_login":"englehardt"}}