chrome-github-mate icon indicating copy to clipboard operation
chrome-github-mate copied to clipboard

support github enterprise

Open lev112 opened this issue 8 years ago • 2 comments

github enterprise is not hosted under github.com.

support a custom domain for github

lev112 avatar Oct 02 '17 05:10 lev112

Thanks for reporting, will do if I got a time

camsong avatar Oct 09 '17 07:10 camsong

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 this and some adjustments to manifest.json

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();

Here you'll also find more about how it works as well

fregante avatar Aug 07 '19 18:08 fregante