{"action":"created","comment":{"url":"https://api.github.com/repos/EFForg/https-everywhere/pulls/comments/24552521","id":24552521,"diff_hunk":"@@ -0,0 +1,30 @@\n+<!--\n+\tFor Tampermonkey.net\n+\n+\t\tWorks:\n+\n+\t\t\t- www\n+\t\t\t- $\n+\t\t\t- forum\n+\t\t\t- safari\n+\n+\t\tDoesn't Work:\n+\t\tnil\n+-->\n+<ruleset name=\"Tampermonkey.net\">\n+  <target host=\"tampermonkey.net\" />\n+  <target host=\"*.tampermonkey.net\" />\n+\n+  <rule from=\"^http://tampermonkey\\.net/\"\n+          to=\"https://tampermonkey.net/\" />\n+\n+  <rule from=\"^http://(www|forum|safari)\\.tampermonkey\\.net/\"","path":"src/chrome/content/rules/Tampermonkey.xml","position":21,"original_position":21,"commit_id":"7bf1184da2aacf87fced7082434b58db2b33c791","original_commit_id":"7bf1184da2aacf87fced7082434b58db2b33c791","user":{"login":"jsha","id":220205,"avatar_url":"https://avatars.githubusercontent.com/u/220205?v=3","gravatar_id":"","url":"https://api.github.com/users/jsha","html_url":"https://github.com/jsha","followers_url":"https://api.github.com/users/jsha/followers","following_url":"https://api.github.com/users/jsha/following{/other_user}","gists_url":"https://api.github.com/users/jsha/gists{/gist_id}","starred_url":"https://api.github.com/users/jsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsha/subscriptions","organizations_url":"https://api.github.com/users/jsha/orgs","repos_url":"https://api.github.com/users/jsha/repos","events_url":"https://api.github.com/users/jsha/events{/privacy}","received_events_url":"https://api.github.com/users/jsha/received_events","type":"User","site_admin":false},"body":"Similar to my other comment, I would suggest breaking out each of these domains into its own target host and then using a simple http: -> https: redirect. I'm working on a style guide that I'll post soon.\r\n\r\nSo it would be like:\r\n```\r\n<target host=\"tampermonkey.net\" />\r\n<target host=\"www.tampermonkey.net\" />\r\n<target host=\"forum.tampermonkey.net\" />\r\n<target host=\"safari.tampermonkey.net\" />\r\n```\r\n\r\nAnd again, this will allow you to drop the redundant test URL tags.","created_at":"2015-02-12T01:50:06Z","updated_at":"2015-02-12T01:50:06Z","html_url":"https://github.com/EFForg/https-everywhere/pull/1041#discussion_r24552521","pull_request_url":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041","_links":{"self":{"href":"https://api.github.com/repos/EFForg/https-everywhere/pulls/comments/24552521"},"html":{"href":"https://github.com/EFForg/https-everywhere/pull/1041#discussion_r24552521"},"pull_request":{"href":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041"}}},"pull_request":{"url":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041","id":29144856,"html_url":"https://github.com/EFForg/https-everywhere/pull/1041","diff_url":"https://github.com/EFForg/https-everywhere/pull/1041.diff","patch_url":"https://github.com/EFForg/https-everywhere/pull/1041.patch","issue_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/1041","number":1041,"state":"open","locked":false,"title":"Copying my changes that exist in 4.0 to master","user":{"login":"StevenRoddis","id":2271265,"avatar_url":"https://avatars.githubusercontent.com/u/2271265?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenRoddis","html_url":"https://github.com/StevenRoddis","followers_url":"https://api.github.com/users/StevenRoddis/followers","following_url":"https://api.github.com/users/StevenRoddis/following{/other_user}","gists_url":"https://api.github.com/users/StevenRoddis/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenRoddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenRoddis/subscriptions","organizations_url":"https://api.github.com/users/StevenRoddis/orgs","repos_url":"https://api.github.com/users/StevenRoddis/repos","events_url":"https://api.github.com/users/StevenRoddis/events{/privacy}","received_events_url":"https://api.github.com/users/StevenRoddis/received_events","type":"User","site_admin":false},"body":"Added some test urls too.","created_at":"2015-02-12T01:14:27Z","updated_at":"2015-02-12T01:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fddb33cb03e7104c32c4158be448e31009ada9e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041/commits","review_comments_url":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041/comments","review_comment_url":"https://api.github.com/repos/EFForg/https-everywhere/pulls/comments/{number}","comments_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/1041/comments","statuses_url":"https://api.github.com/repos/EFForg/https-everywhere/statuses/7bf1184da2aacf87fced7082434b58db2b33c791","head":{"label":"StevenRoddis:4toMaster","ref":"4toMaster","sha":"7bf1184da2aacf87fced7082434b58db2b33c791","user":{"login":"StevenRoddis","id":2271265,"avatar_url":"https://avatars.githubusercontent.com/u/2271265?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenRoddis","html_url":"https://github.com/StevenRoddis","followers_url":"https://api.github.com/users/StevenRoddis/followers","following_url":"https://api.github.com/users/StevenRoddis/following{/other_user}","gists_url":"https://api.github.com/users/StevenRoddis/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenRoddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenRoddis/subscriptions","organizations_url":"https://api.github.com/users/StevenRoddis/orgs","repos_url":"https://api.github.com/users/StevenRoddis/repos","events_url":"https://api.github.com/users/StevenRoddis/events{/privacy}","received_events_url":"https://api.github.com/users/StevenRoddis/received_events","type":"User","site_admin":false},"repo":{"id":29422561,"name":"https-everywhere","full_name":"StevenRoddis/https-everywhere","owner":{"login":"StevenRoddis","id":2271265,"avatar_url":"https://avatars.githubusercontent.com/u/2271265?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenRoddis","html_url":"https://github.com/StevenRoddis","followers_url":"https://api.github.com/users/StevenRoddis/followers","following_url":"https://api.github.com/users/StevenRoddis/following{/other_user}","gists_url":"https://api.github.com/users/StevenRoddis/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenRoddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenRoddis/subscriptions","organizations_url":"https://api.github.com/users/StevenRoddis/orgs","repos_url":"https://api.github.com/users/StevenRoddis/repos","events_url":"https://api.github.com/users/StevenRoddis/events{/privacy}","received_events_url":"https://api.github.com/users/StevenRoddis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StevenRoddis/https-everywhere","description":"The official Github mirror of the HTTPS Everywhere repository at https://gitweb.torproject.org/https-everywhere.git. You can send pull requests here.","fork":true,"url":"https://api.github.com/repos/StevenRoddis/https-everywhere","forks_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/forks","keys_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/teams","hooks_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/hooks","issue_events_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/issues/events{/number}","events_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/events","assignees_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/assignees{/user}","branches_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/branches{/branch}","tags_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/tags","blobs_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/git/refs{/sha}","trees_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/statuses/{sha}","languages_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/languages","stargazers_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/stargazers","contributors_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/contributors","subscribers_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/subscribers","subscription_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/subscription","commits_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/commits{/sha}","git_commits_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/git/commits{/sha}","comments_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/comments{/number}","issue_comment_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/issues/comments/{number}","contents_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/contents/{+path}","compare_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/merges","archive_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/downloads","issues_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/issues{/number}","pulls_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/pulls{/number}","milestones_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/milestones{/number}","notifications_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/labels{/name}","releases_url":"https://api.github.com/repos/StevenRoddis/https-everywhere/releases{/id}","created_at":"2015-01-18T10:36:33Z","updated_at":"2015-01-18T10:36:59Z","pushed_at":"2015-02-12T01:34:10Z","git_url":"git://github.com/StevenRoddis/https-everywhere.git","ssh_url":"git@github.com:StevenRoddis/https-everywhere.git","clone_url":"https://github.com/StevenRoddis/https-everywhere.git","svn_url":"https://github.com/StevenRoddis/https-everywhere","homepage":"https://eff.org/https-everywhere","size":51954,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"EFForg:master","ref":"master","sha":"2439fe9a3b13ac3fe9570fbac7d961e433105803","user":{"login":"EFForg","id":2120271,"avatar_url":"https://avatars.githubusercontent.com/u/2120271?v=3","gravatar_id":"","url":"https://api.github.com/users/EFForg","html_url":"https://github.com/EFForg","followers_url":"https://api.github.com/users/EFForg/followers","following_url":"https://api.github.com/users/EFForg/following{/other_user}","gists_url":"https://api.github.com/users/EFForg/gists{/gist_id}","starred_url":"https://api.github.com/users/EFForg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EFForg/subscriptions","organizations_url":"https://api.github.com/users/EFForg/orgs","repos_url":"https://api.github.com/users/EFForg/repos","events_url":"https://api.github.com/users/EFForg/events{/privacy}","received_events_url":"https://api.github.com/users/EFForg/received_events","type":"Organization","site_admin":false},"repo":{"id":14939303,"name":"https-everywhere","full_name":"EFForg/https-everywhere","owner":{"login":"EFForg","id":2120271,"avatar_url":"https://avatars.githubusercontent.com/u/2120271?v=3","gravatar_id":"","url":"https://api.github.com/users/EFForg","html_url":"https://github.com/EFForg","followers_url":"https://api.github.com/users/EFForg/followers","following_url":"https://api.github.com/users/EFForg/following{/other_user}","gists_url":"https://api.github.com/users/EFForg/gists{/gist_id}","starred_url":"https://api.github.com/users/EFForg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EFForg/subscriptions","organizations_url":"https://api.github.com/users/EFForg/orgs","repos_url":"https://api.github.com/users/EFForg/repos","events_url":"https://api.github.com/users/EFForg/events{/privacy}","received_events_url":"https://api.github.com/users/EFForg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EFForg/https-everywhere","description":"The official Github mirror of the HTTPS Everywhere repository at https://gitweb.torproject.org/https-everywhere.git. You can send pull requests here.","fork":false,"url":"https://api.github.com/repos/EFForg/https-everywhere","forks_url":"https://api.github.com/repos/EFForg/https-everywhere/forks","keys_url":"https://api.github.com/repos/EFForg/https-everywhere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EFForg/https-everywhere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EFForg/https-everywhere/teams","hooks_url":"https://api.github.com/repos/EFForg/https-everywhere/hooks","issue_events_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/events{/number}","events_url":"https://api.github.com/repos/EFForg/https-everywhere/events","assignees_url":"https://api.github.com/repos/EFForg/https-everywhere/assignees{/user}","branches_url":"https://api.github.com/repos/EFForg/https-everywhere/branches{/branch}","tags_url":"https://api.github.com/repos/EFForg/https-everywhere/tags","blobs_url":"https://api.github.com/repos/EFForg/https-everywhere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EFForg/https-everywhere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EFForg/https-everywhere/git/refs{/sha}","trees_url":"https://api.github.com/repos/EFForg/https-everywhere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EFForg/https-everywhere/statuses/{sha}","languages_url":"https://api.github.com/repos/EFForg/https-everywhere/languages","stargazers_url":"https://api.github.com/repos/EFForg/https-everywhere/stargazers","contributors_url":"https://api.github.com/repos/EFForg/https-everywhere/contributors","subscribers_url":"https://api.github.com/repos/EFForg/https-everywhere/subscribers","subscription_url":"https://api.github.com/repos/EFForg/https-everywhere/subscription","commits_url":"https://api.github.com/repos/EFForg/https-everywhere/commits{/sha}","git_commits_url":"https://api.github.com/repos/EFForg/https-everywhere/git/commits{/sha}","comments_url":"https://api.github.com/repos/EFForg/https-everywhere/comments{/number}","issue_comment_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/comments/{number}","contents_url":"https://api.github.com/repos/EFForg/https-everywhere/contents/{+path}","compare_url":"https://api.github.com/repos/EFForg/https-everywhere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EFForg/https-everywhere/merges","archive_url":"https://api.github.com/repos/EFForg/https-everywhere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EFForg/https-everywhere/downloads","issues_url":"https://api.github.com/repos/EFForg/https-everywhere/issues{/number}","pulls_url":"https://api.github.com/repos/EFForg/https-everywhere/pulls{/number}","milestones_url":"https://api.github.com/repos/EFForg/https-everywhere/milestones{/number}","notifications_url":"https://api.github.com/repos/EFForg/https-everywhere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EFForg/https-everywhere/labels{/name}","releases_url":"https://api.github.com/repos/EFForg/https-everywhere/releases{/id}","created_at":"2013-12-04T23:53:07Z","updated_at":"2015-02-12T01:19:50Z","pushed_at":"2015-02-12T01:19:50Z","git_url":"git://github.com/EFForg/https-everywhere.git","ssh_url":"git@github.com:EFForg/https-everywhere.git","clone_url":"https://github.com/EFForg/https-everywhere.git","svn_url":"https://github.com/EFForg/https-everywhere","homepage":"https://eff.org/https-everywhere","size":104752,"stargazers_count":462,"watchers_count":462,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":221,"mirror_url":null,"open_issues_count":177,"forks":221,"open_issues":177,"watchers":462,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041"},"html":{"href":"https://github.com/EFForg/https-everywhere/pull/1041"},"issue":{"href":"https://api.github.com/repos/EFForg/https-everywhere/issues/1041"},"comments":{"href":"https://api.github.com/repos/EFForg/https-everywhere/issues/1041/comments"},"review_comments":{"href":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041/comments"},"review_comment":{"href":"https://api.github.com/repos/EFForg/https-everywhere/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/EFForg/https-everywhere/pulls/1041/commits"},"statuses":{"href":"https://api.github.com/repos/EFForg/https-everywhere/statuses/7bf1184da2aacf87fced7082434b58db2b33c791"}}}}