Please consider adding support for GitHubEnterprise
Our company is moving from public github to private github (GitHubEnterprise/GHE). In the process, I will be losing the use of this nice extension. One of the folks in charge of the move identified the problem with this extension.
Yeah...I'm guessing this line would have to change: https://github.com/harshjv/github-repo-size/blob/b84b14bccf071b7c88e527a1b966b6e4fdc77c9c/src/inject.js#L3
to be configurable and to use the API Base URL I sent in the email
I recently published 2 modules that might help you with this:
https://github.com/fregante/webext-domain-permission-toggle https://github.com/fregante/webext-dynamic-content-scripts
You'd just need:
npm i webext-domain-permission-toggle webext-dynamic-content-scripts
// in background.js
import 'webext-dynamic-content-scripts';
import addDomainPermissionToggle from 'webext-domain-permission-toggle';
addDomainPermissionToggle();
And some adjustments to manifest.json
Ping me if you need help implementing it.
I also wrote about how it works if you're interested.