enhanced-github icon indicating copy to clipboard operation
enhanced-github copied to clipboard

Make it work on enterprise github

Open madhur opened this issue 6 years ago • 4 comments
trafficstars

Some people like us work on enterprise (privately hosted) github. Allow the custom url to be configured instead of hardcoding it to github.com/*

madhur avatar Mar 16 '19 16:03 madhur

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

I also wrote about how it works if you're interested.

fregante avatar Aug 07 '19 18:08 fregante

This would be great, any more interest on this?

kunickiaj avatar Jul 07 '21 18:07 kunickiaj

Looks like nobody is interested in working on this.

vibhavagarwal5 avatar Jul 26 '21 14:07 vibhavagarwal5

Honestly got this mixed up with Refined Github which does work on GHE (so long as your corp policy doesn't block it).

kunickiaj avatar Jul 26 '21 14:07 kunickiaj