{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/blok/pulls/comments/79256669","id":79256669,"diff_hunk":"@@ -42,18 +42,25 @@ broken/working pages, or toggle Tracking Protection on or off:\n 3. `npm install`\n 4. `npm run bundle`\n \n-### With `web-ext`\n+### Running the Code\n \n-1. `npm install`\n-2. `./node_modules/.bin/web-ext run --source-dir=src --firefox-binary {path to Firefox 49+ binary}`\n+This add-on depends on [`web-ext`](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Getting_started_with_web-ext). Using `web-ext`, start a version of Firefox running the add-on like so:\n \n-### Without `web-ext`\n+`./node_modules/.bin/web-ext run --source-dir=src --firefox-binary {path to Firefox 49+ binary}`\n \n-1. Go to `about:config` and set `xpinstall.signatures.required` to `false`\n-2. Go to `about:debugging`\n-3. Click \"Load Temporary Add-on\"\n-4. Select this repo's `src/manifest.json` file\n+### Development Environment\n+\n+Add-on development is better with [a particular  environment](https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment). This makes it possible to use the developer tools inspector on browser chrome, for example. One simple way to get that environment set up is to install the [DevPrefs add-on](https://addons.mozilla.org/en-US/firefox/addon/devprefs/). This requires a custom Firefox profile:\n+\n+1. Make a new profile by running `{path to Firefox binary} -no-remote -P {new_profile_name} &`, which launches the profile editor. Name it whatever you wish (e.g. 'blok_dev'); store it in the default directory or in a directory of your choosing. Exit the profile editor.\n+\n+2. Launch your new profile with the very same command, so you can install the DevPrefs add-on: `{path to Firefox binary} -no-remote -P {new_profile_name} &`. Once Firefox launches, go to Tools->Add-ons and search for \"DevPrefs\". Install it. Close Firefox.\n+\n+3. Now you have a new, vanilla Firefox profile with the DevPrefs add-on installed. You can use your new profile with the code in _this_ repository like so:\n \n+``./node_modules/.bin/web-ext run --source-dir=src --firefox-binary {path to Firefox 49+ binary} --firefox-profile {new_profile_name}`","path":"README.md","position":28,"original_position":28,"commit_id":"bb232787bc3204fb578cfd56d90113419a706539","original_commit_id":"bb232787bc3204fb578cfd56d90113419a706539","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"body":"Extra leading backtick.","created_at":"2016-09-16T21:45:53Z","updated_at":"2016-09-16T21:45:53Z","html_url":"https://github.com/mozilla/blok/pull/153#discussion_r79256669","pull_request_url":"https://api.github.com/repos/mozilla/blok/pulls/153","_links":{"self":{"href":"https://api.github.com/repos/mozilla/blok/pulls/comments/79256669"},"html":{"href":"https://github.com/mozilla/blok/pull/153#discussion_r79256669"},"pull_request":{"href":"https://api.github.com/repos/mozilla/blok/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/blok/pulls/153","id":85635893,"html_url":"https://github.com/mozilla/blok/pull/153","diff_url":"https://github.com/mozilla/blok/pull/153.diff","patch_url":"https://github.com/mozilla/blok/pull/153.patch","issue_url":"https://api.github.com/repos/mozilla/blok/issues/153","number":153,"state":"open","locked":false,"title":"  Document dev environment in README","user":{"login":"hoosteeno","id":94519,"avatar_url":"https://avatars.githubusercontent.com/u/94519?v=3","gravatar_id":"","url":"https://api.github.com/users/hoosteeno","html_url":"https://github.com/hoosteeno","followers_url":"https://api.github.com/users/hoosteeno/followers","following_url":"https://api.github.com/users/hoosteeno/following{/other_user}","gists_url":"https://api.github.com/users/hoosteeno/gists{/gist_id}","starred_url":"https://api.github.com/users/hoosteeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoosteeno/subscriptions","organizations_url":"https://api.github.com/users/hoosteeno/orgs","repos_url":"https://api.github.com/users/hoosteeno/repos","events_url":"https://api.github.com/users/hoosteeno/events{/privacy}","received_events_url":"https://api.github.com/users/hoosteeno/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-16T20:35:32Z","updated_at":"2016-09-16T21:45:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6365ac5cc5026275bb35f319258a39074258f6a8","assignee":{"login":"groovecoder","id":71928,"avatar_url":"https://avatars.githubusercontent.com/u/71928?v=3","gravatar_id":"","url":"https://api.github.com/users/groovecoder","html_url":"https://github.com/groovecoder","followers_url":"https://api.github.com/users/groovecoder/followers","following_url":"https://api.github.com/users/groovecoder/following{/other_user}","gists_url":"https://api.github.com/users/groovecoder/gists{/gist_id}","starred_url":"https://api.github.com/users/groovecoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groovecoder/subscriptions","organizations_url":"https://api.github.com/users/groovecoder/orgs","repos_url":"https://api.github.com/users/groovecoder/repos","events_url":"https://api.github.com/users/groovecoder/events{/privacy}","received_events_url":"https://api.github.com/users/groovecoder/received_events","type":"User","site_admin":false},"assignees":[{"login":"groovecoder","id":71928,"avatar_url":"https://avatars.githubusercontent.com/u/71928?v=3","gravatar_id":"","url":"https://api.github.com/users/groovecoder","html_url":"https://github.com/groovecoder","followers_url":"https://api.github.com/users/groovecoder/followers","following_url":"https://api.github.com/users/groovecoder/following{/other_user}","gists_url":"https://api.github.com/users/groovecoder/gists{/gist_id}","starred_url":"https://api.github.com/users/groovecoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groovecoder/subscriptions","organizations_url":"https://api.github.com/users/groovecoder/orgs","repos_url":"https://api.github.com/users/groovecoder/repos","events_url":"https://api.github.com/users/groovecoder/events{/privacy}","received_events_url":"https://api.github.com/users/groovecoder/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/blok/pulls/153/commits","review_comments_url":"https://api.github.com/repos/mozilla/blok/pulls/153/comments","review_comment_url":"https://api.github.com/repos/mozilla/blok/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/blok/issues/153/comments","statuses_url":"https://api.github.com/repos/mozilla/blok/statuses/bb232787bc3204fb578cfd56d90113419a706539","head":{"label":"hoosteeno:dev_profile","ref":"dev_profile","sha":"bb232787bc3204fb578cfd56d90113419a706539","user":{"login":"hoosteeno","id":94519,"avatar_url":"https://avatars.githubusercontent.com/u/94519?v=3","gravatar_id":"","url":"https://api.github.com/users/hoosteeno","html_url":"https://github.com/hoosteeno","followers_url":"https://api.github.com/users/hoosteeno/followers","following_url":"https://api.github.com/users/hoosteeno/following{/other_user}","gists_url":"https://api.github.com/users/hoosteeno/gists{/gist_id}","starred_url":"https://api.github.com/users/hoosteeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoosteeno/subscriptions","organizations_url":"https://api.github.com/users/hoosteeno/orgs","repos_url":"https://api.github.com/users/hoosteeno/repos","events_url":"https://api.github.com/users/hoosteeno/events{/privacy}","received_events_url":"https://api.github.com/users/hoosteeno/received_events","type":"User","site_admin":false},"repo":{"id":68412472,"name":"blok","full_name":"hoosteeno/blok","owner":{"login":"hoosteeno","id":94519,"avatar_url":"https://avatars.githubusercontent.com/u/94519?v=3","gravatar_id":"","url":"https://api.github.com/users/hoosteeno","html_url":"https://github.com/hoosteeno","followers_url":"https://api.github.com/users/hoosteeno/followers","following_url":"https://api.github.com/users/hoosteeno/following{/other_user}","gists_url":"https://api.github.com/users/hoosteeno/gists{/gist_id}","starred_url":"https://api.github.com/users/hoosteeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoosteeno/subscriptions","organizations_url":"https://api.github.com/users/hoosteeno/orgs","repos_url":"https://api.github.com/users/hoosteeno/repos","events_url":"https://api.github.com/users/hoosteeno/events{/privacy}","received_events_url":"https://api.github.com/users/hoosteeno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoosteeno/blok","description":"Web Extension implementation of Firefox tracking protection for experimental development","fork":true,"url":"https://api.github.com/repos/hoosteeno/blok","forks_url":"https://api.github.com/repos/hoosteeno/blok/forks","keys_url":"https://api.github.com/repos/hoosteeno/blok/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoosteeno/blok/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoosteeno/blok/teams","hooks_url":"https://api.github.com/repos/hoosteeno/blok/hooks","issue_events_url":"https://api.github.com/repos/hoosteeno/blok/issues/events{/number}","events_url":"https://api.github.com/repos/hoosteeno/blok/events","assignees_url":"https://api.github.com/repos/hoosteeno/blok/assignees{/user}","branches_url":"https://api.github.com/repos/hoosteeno/blok/branches{/branch}","tags_url":"https://api.github.com/repos/hoosteeno/blok/tags","blobs_url":"https://api.github.com/repos/hoosteeno/blok/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoosteeno/blok/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoosteeno/blok/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoosteeno/blok/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoosteeno/blok/statuses/{sha}","languages_url":"https://api.github.com/repos/hoosteeno/blok/languages","stargazers_url":"https://api.github.com/repos/hoosteeno/blok/stargazers","contributors_url":"https://api.github.com/repos/hoosteeno/blok/contributors","subscribers_url":"https://api.github.com/repos/hoosteeno/blok/subscribers","subscription_url":"https://api.github.com/repos/hoosteeno/blok/subscription","commits_url":"https://api.github.com/repos/hoosteeno/blok/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoosteeno/blok/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoosteeno/blok/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoosteeno/blok/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoosteeno/blok/contents/{+path}","compare_url":"https://api.github.com/repos/hoosteeno/blok/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoosteeno/blok/merges","archive_url":"https://api.github.com/repos/hoosteeno/blok/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoosteeno/blok/downloads","issues_url":"https://api.github.com/repos/hoosteeno/blok/issues{/number}","pulls_url":"https://api.github.com/repos/hoosteeno/blok/pulls{/number}","milestones_url":"https://api.github.com/repos/hoosteeno/blok/milestones{/number}","notifications_url":"https://api.github.com/repos/hoosteeno/blok/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoosteeno/blok/labels{/name}","releases_url":"https://api.github.com/repos/hoosteeno/blok/releases{/id}","deployments_url":"https://api.github.com/repos/hoosteeno/blok/deployments","created_at":"2016-09-16T20:26:00Z","updated_at":"2016-09-16T20:26:01Z","pushed_at":"2016-09-16T21:20:00Z","git_url":"git://github.com/hoosteeno/blok.git","ssh_url":"git@github.com:hoosteeno/blok.git","clone_url":"https://github.com/hoosteeno/blok.git","svn_url":"https://github.com/hoosteeno/blok","homepage":"https://public.etherpad-mozilla.org/p/tracking-protection-coordination","size":23006,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"ddfba9edd90e49900c9408d1845d44727ab47401","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":60879296,"name":"blok","full_name":"mozilla/blok","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/blok","description":"Web Extension implementation of Firefox tracking protection for experimental development","fork":false,"url":"https://api.github.com/repos/mozilla/blok","forks_url":"https://api.github.com/repos/mozilla/blok/forks","keys_url":"https://api.github.com/repos/mozilla/blok/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/blok/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/blok/teams","hooks_url":"https://api.github.com/repos/mozilla/blok/hooks","issue_events_url":"https://api.github.com/repos/mozilla/blok/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/blok/events","assignees_url":"https://api.github.com/repos/mozilla/blok/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/blok/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/blok/tags","blobs_url":"https://api.github.com/repos/mozilla/blok/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/blok/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/blok/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/blok/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/blok/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/blok/languages","stargazers_url":"https://api.github.com/repos/mozilla/blok/stargazers","contributors_url":"https://api.github.com/repos/mozilla/blok/contributors","subscribers_url":"https://api.github.com/repos/mozilla/blok/subscribers","subscription_url":"https://api.github.com/repos/mozilla/blok/subscription","commits_url":"https://api.github.com/repos/mozilla/blok/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/blok/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/blok/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/blok/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/blok/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/blok/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/blok/merges","archive_url":"https://api.github.com/repos/mozilla/blok/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/blok/downloads","issues_url":"https://api.github.com/repos/mozilla/blok/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/blok/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/blok/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/blok/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/blok/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/blok/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/blok/deployments","created_at":"2016-06-10T21:59:33Z","updated_at":"2016-08-24T14:31:25Z","pushed_at":"2016-09-16T21:20:00Z","git_url":"git://github.com/mozilla/blok.git","ssh_url":"git@github.com:mozilla/blok.git","clone_url":"https://github.com/mozilla/blok.git","svn_url":"https://github.com/mozilla/blok","homepage":"https://public.etherpad-mozilla.org/p/tracking-protection-coordination","size":23018,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":22,"forks":7,"open_issues":22,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/blok/pulls/153"},"html":{"href":"https://github.com/mozilla/blok/pull/153"},"issue":{"href":"https://api.github.com/repos/mozilla/blok/issues/153"},"comments":{"href":"https://api.github.com/repos/mozilla/blok/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/blok/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/blok/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/blok/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/blok/statuses/bb232787bc3204fb578cfd56d90113419a706539"}}}}
{"actor":{"display_login":"pdehaan"}}