Skip to content

Commit e14fcb3

Browse files
authored
Global: replace @include with @match (Mottie#192)
1 parent 11ef426 commit e14fcb3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+99
-99
lines changed

gist-raw-links.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://gist.github.com/*
8+
// @match https://gist.github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @grant GM.addStyle

gist-to-dabblet.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://gist.github.com/*
8+
// @match https://gist.github.com/*
99
// @run-at document-idle
1010
// @grant none
1111
// @icon https://github.githubassets.com/pinned-octocat.svg

github-code-folding.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://gist.github.com/*
8+
// @match https://github.com/*
9+
// @match https://gist.github.com/*
1010
// @run-at document-idle
1111
// @grant GM.addStyle
1212
// @grant GM_addStyle

github-code-guides.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_getValue
1111
// @grant GM_setValue

github-code-show-whitespace.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://gist.github.com/*
8+
// @match https://github.com/*
9+
// @match https://gist.github.com/*
1010
// @run-at document-idle
1111
// @grant GM_registerMenuCommand
1212
// @grant GM.registerMenuCommand

github-collapse-in-comment.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://gist.github.com/*
8+
// @match https://github.com/*
9+
// @match https://gist.github.com/*
1010
// @run-at document-idle
1111
// @grant GM_addStyle
1212
// @grant GM_getValue

github-collapse-markdown.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://gist.github.com/*
10-
// @include https://help.github.com/*
8+
// @match https://github.com/*
9+
// @match https://gist.github.com/*
10+
// @match https://help.github.com/*
1111
// @run-at document-idle
1212
// @grant GM_addStyle
1313
// @grant GM_getValue

github-copy-code-snippet.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://gist.github.com/*
8+
// @match https://gist.github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-custom-hotkeys.user.js

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://*.github.com/*
8+
// @match https://github.com/*
9+
// @match https://*.github.com/*
1010
// @run-at document-idle
1111
// @grant GM_addStyle
1212
// @grant GM_getValue
@@ -62,46 +62,46 @@
6262
// see https://github.com/Mottie/github-reserved-names
6363
const nonUser = new RegExp("^(" + [
6464
/* BUILD:RESERVED-NAMES-START (v2.0.4) */
65-
"400", "401", "402", "403", "404", "405", "406", "407", "408", "409",
66-
"410", "411", "412", "413", "414", "415", "416", "417", "418", "419",
67-
"420", "421", "422", "423", "424", "425", "426", "427", "428", "429",
68-
"430", "431", "500", "501", "502", "503", "504", "505", "506", "507",
69-
"508", "509", "510", "511", "about", "access", "account", "admin",
70-
"advisories", "anonymous", "any", "api", "apps", "attributes", "auth",
71-
"billing", "blob", "blog", "bounty", "branches", "business", "businesses",
72-
"c", "cache", "case-studies", "categories", "central", "certification",
73-
"changelog", "cla", "cloud", "codereview", "collection", "collections",
74-
"comments", "commit", "commits", "community", "companies", "compare",
75-
"contact", "contributing", "cookbook", "coupons", "customer-stories",
76-
"customer", "customers", "dashboard", "dashboards", "design", "develop",
77-
"developer", "diff", "discover", "discussions", "docs", "downloads",
78-
"downtime", "editor", "editors", "edu", "enterprise", "events", "explore",
79-
"featured", "features", "files", "fixtures", "forked", "garage", "ghost",
80-
"gist", "gists", "graphs", "guide", "guides", "help", "help-wanted",
81-
"home", "hooks", "hosting", "hovercards", "identity", "images", "inbox",
82-
"individual", "info", "integration", "interfaces", "introduction",
83-
"invalid-email-address", "investors", "issues", "jobs", "join", "journal",
84-
"journals", "lab", "labs", "languages", "launch", "layouts", "learn",
85-
"legal", "library", "linux", "listings", "lists", "login", "logos",
86-
"logout", "mac", "maintenance", "malware", "man", "marketplace", "mention",
87-
"mentioned", "mentioning", "mentions", "migrating", "milestones", "mine",
88-
"mirrors", "mobile", "navigation", "network", "new", "news", "none",
89-
"nonprofit", "nonprofits", "notices", "notifications", "oauth", "offer",
90-
"open-source", "organisations", "organizations", "orgs", "pages",
91-
"partners", "payments", "personal", "plans", "plugins", "popular",
92-
"popularity", "posts", "press", "pricing", "professional", "projects",
93-
"pulls", "raw", "readme", "recommendations", "redeem", "releases",
94-
"render", "reply", "repositories", "resources", "restore", "revert",
95-
"save-net-neutrality", "saved", "scraping", "search", "security",
96-
"services", "sessions", "settings", "shareholders", "shop", "showcases",
97-
"signin", "signup", "site", "spam", "sponsors", "ssh", "staff", "starred",
98-
"stars", "static", "status", "statuses", "storage", "store", "stories",
99-
"styleguide", "subscriptions", "suggest", "suggestion", "suggestions",
100-
"support", "suspended", "talks", "teach", "teacher", "teachers",
101-
"teaching", "team", "teams", "ten", "terms", "timeline", "topic", "topics",
102-
"tos", "tour", "train", "training", "translations", "tree", "trending",
103-
"updates", "username", "users", "visualization", "w", "watching", "wiki",
104-
"windows", "works-with", "www0", "www1", "www2", "www3", "www4", "www5",
65+
"400", "401", "402", "403", "404", "405", "406", "407", "408", "409",
66+
"410", "411", "412", "413", "414", "415", "416", "417", "418", "419",
67+
"420", "421", "422", "423", "424", "425", "426", "427", "428", "429",
68+
"430", "431", "500", "501", "502", "503", "504", "505", "506", "507",
69+
"508", "509", "510", "511", "about", "access", "account", "admin",
70+
"advisories", "anonymous", "any", "api", "apps", "attributes", "auth",
71+
"billing", "blob", "blog", "bounty", "branches", "business", "businesses",
72+
"c", "cache", "case-studies", "categories", "central", "certification",
73+
"changelog", "cla", "cloud", "codereview", "collection", "collections",
74+
"comments", "commit", "commits", "community", "companies", "compare",
75+
"contact", "contributing", "cookbook", "coupons", "customer-stories",
76+
"customer", "customers", "dashboard", "dashboards", "design", "develop",
77+
"developer", "diff", "discover", "discussions", "docs", "downloads",
78+
"downtime", "editor", "editors", "edu", "enterprise", "events", "explore",
79+
"featured", "features", "files", "fixtures", "forked", "garage", "ghost",
80+
"gist", "gists", "graphs", "guide", "guides", "help", "help-wanted",
81+
"home", "hooks", "hosting", "hovercards", "identity", "images", "inbox",
82+
"individual", "info", "integration", "interfaces", "introduction",
83+
"invalid-email-address", "investors", "issues", "jobs", "join", "journal",
84+
"journals", "lab", "labs", "languages", "launch", "layouts", "learn",
85+
"legal", "library", "linux", "listings", "lists", "login", "logos",
86+
"logout", "mac", "maintenance", "malware", "man", "marketplace", "mention",
87+
"mentioned", "mentioning", "mentions", "migrating", "milestones", "mine",
88+
"mirrors", "mobile", "navigation", "network", "new", "news", "none",
89+
"nonprofit", "nonprofits", "notices", "notifications", "oauth", "offer",
90+
"open-source", "organisations", "organizations", "orgs", "pages",
91+
"partners", "payments", "personal", "plans", "plugins", "popular",
92+
"popularity", "posts", "press", "pricing", "professional", "projects",
93+
"pulls", "raw", "readme", "recommendations", "redeem", "releases",
94+
"render", "reply", "repositories", "resources", "restore", "revert",
95+
"save-net-neutrality", "saved", "scraping", "search", "security",
96+
"services", "sessions", "settings", "shareholders", "shop", "showcases",
97+
"signin", "signup", "site", "spam", "sponsors", "ssh", "staff", "starred",
98+
"stars", "static", "status", "statuses", "storage", "store", "stories",
99+
"styleguide", "subscriptions", "suggest", "suggestion", "suggestions",
100+
"support", "suspended", "talks", "teach", "teacher", "teachers",
101+
"teaching", "team", "teams", "ten", "terms", "timeline", "topic", "topics",
102+
"tos", "tour", "train", "training", "translations", "tree", "trending",
103+
"updates", "username", "users", "visualization", "w", "watching", "wiki",
104+
"windows", "works-with", "www0", "www1", "www2", "www3", "www4", "www5",
105105
"www6", "www7", "www8", "www9"
106106
/* BUILD:RESERVED-NAMES-END */
107107
].join("|") + ")$");

github-custom-navigation.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://gist.github.com/*
8+
// @match https://github.com/*
9+
// @match https://gist.github.com/*
1010
// @run-at document-end
1111
// @grant GM_addStyle
1212
// @grant GM_getValue

github-diff-expander.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant none
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-diff-file-toggle.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant none
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-diff-filename.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-end
1010
// @grant GM_getValue
1111
// @grant GM_setValue

github-diff-files-filter.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-diff-links.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-download-zip.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @grant GM.addStyle

github-files-filter.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_getValue
1111
// @grant GM_setValue

github-font-preview.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @grant GM_getValue

github-hide-own-feed-meta.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/
8+
// @match https://github.com/
99
// @run-at document-idle
1010
// @grant none
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-html-preview.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant none
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-image-preview.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @grant GM_getValue
@@ -29,7 +29,7 @@
2929
background-color:transparent !important; }
3030
.ghip-show-previews .Box-row:not(.ghsc-header):not(.hidden) > div[role] {
3131
display:none !important; }
32-
.ghip-wrapper.ghip-show-previews svg.ghip-non-image,
32+
.ghip-wrapper.ghip-show-previews svg.ghip-non-image,
3333
.ghip-wrapper.ghip-show-previews img.ghip-non-image { height:80px; width:80px;
3434
margin-top:15px; }
3535
.ghip-wrapper.ghip-show-previews .image { width:100%; position:relative;
@@ -46,7 +46,7 @@
4646
.ghip-wrapper.ghip-tiled .image:hover img:not(.ghip-non-image) { zoom:3; }
4747
4848
.ghip-wrapper.ghip-fullw .image { height:unset; padding-bottom:0; }
49-
49+
5050
.ghip-wrapper .image span { display:block; position:relative; }
5151
.ghip-wrapper .ghip-folder { margin-bottom:2em; }
5252
.image .ghip-file-type { font-size:40px; top:-2em; left:0; z-index:2;

github-in-vscode.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @connect github.com

github-indent-comments.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
9-
// @include https://gist.github.com/*
8+
// @match https://github.com/*
9+
// @match https://gist.github.com/*
1010
// @run-at document-idle
1111
// @grant GM_addStyle
1212
// @grant GM_getValue

github-issue-add-details.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant none
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-issue-comments.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @grant GM_getValue

github-issue-counts.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @grant GM_xmlhttpRequest

github-issue-highlighter.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM.addStyle
1111
// @grant GM_addStyle

github-issue-show-status.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-end
1010
// @grant GM_addStyle
1111
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=1108163

github-label-color-picker.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// @author Rob Garrison
77
// @contributor darkred
88
// @namespace https://github.com/Mottie
9-
// @include https://github.com/*
9+
// @match https://github.com/*
1010
// @run-at document-idle
1111
// @grant GM_addStyle
1212
// @grant GM_getValue

github-mentioned-links.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_getValue
1111
// @grant GM_setValue

github-remove-diff-signs.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @license MIT
66
// @author Rob Garrison
77
// @namespace https://github.com/Mottie
8-
// @include https://github.com/*
8+
// @match https://github.com/*
99
// @run-at document-idle
1010
// @grant GM_addStyle
1111
// @icon https://github.githubassets.com/pinned-octocat.svg

0 commit comments

Comments
 (0)