You have the github website hardcoded. It would be nice if there was an options page for users to add in custom URLs/domains for this to work on. Many companies have the enterprise version of GitHub and being able to search the wiki at work would be super useful.
If nothing else, you could just add in a regex thing to look for http(s)://githib.*.com/*/*/wiki
function allowedLocation(callback) {
if (/^https?:\/\/github\.com\/.*?\/.*?\/wiki/.test(location.href)) {
callback();
}
}
You have the github website hardcoded. It would be nice if there was an options page for users to add in custom URLs/domains for this to work on. Many companies have the enterprise version of GitHub and being able to search the wiki at work would be super useful.
If nothing else, you could just add in a regex thing to look for
http(s)://githib.*.com/*/*/wiki