Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"content_scripts": [
{
"matches": ["https://github.com/*", "https://gist.github.com/*"],
"matches": ["https://github.com/*", "https://gist.github.com/*", "https://*.ghe.com/*"],
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added match pattern only covers subdomains of ghe.com (and not ghe.com itself), and it likely won’t satisfy the stated goal of “GitHub Enterprise URLs” since most Enterprise Server instances run on arbitrary custom hostnames (e.g., github.company.com). Consider either adding an explicit pattern for https://ghe.com/* (if desired) and/or switching to a configurable/optional host permission + dynamic script injection approach so users can add their own Enterprise domain(s).

Copilot uses AI. Check for mistakes.
"css": ["wide-github.css"],
"js": ["wide-github-toggle.js"]
}
Expand Down
2 changes: 1 addition & 1 deletion mozilla/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"content_scripts": [
{
"matches": ["https://github.com/*", "https://gist.github.com/*"],
"matches": ["https://github.com/*", "https://gist.github.com/*", "https://*.ghe.com/*"],
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added match pattern only covers subdomains of ghe.com (and not ghe.com itself), and it likely won’t satisfy the stated goal of “GitHub Enterprise URLs” since most Enterprise Server instances run on arbitrary custom hostnames (e.g., github.company.com). Consider either adding an explicit pattern for https://ghe.com/* (if desired) and/or switching to a configurable/optional host permission + dynamic script injection approach so users can add their own Enterprise domain(s).

Copilot uses AI. Check for mistakes.
"css": ["wide-github.css"],
"js": ["wide-github-toggle.js"]
}
Expand Down
Loading