Source code

Revision control

Copy as Markdown

Other Tools

addEventListener('fetch', evt => {
if (evt.request.url.includes('sample')) {
evt.respondWith(new Response('intercepted'));
}
});