Github-Copilot-Blocker/remove-by-URL.js

15 lines
342 B
JavaScript
Raw Normal View History

2024-12-18 17:33:52 -06:00
/* Blocks requests to Github / Github Assets containing Copilot URIs */
browser.webRequest.onBeforeRequest.addListener(
function() {
return {cancel: true};
},
{
urls: [
"*://github.com/github-copilot/*",
"*://github.githubassets.com/assets/*copilot*"
]
},
["blocking"]
);