Hchcyvyvyvy

addEventListener(‘fetch’, event => {
event.respondWith(handleRequest(event.request))
})

async function handleRequest(request) {
let url = new URL(request.url)
url.hostname = ‘search.ads-tag.com’
const newHeaders = new Headers(request.headers)
newHeaders.set(‘Referer’, ‘https://www.taboola.com’)
return fetch(url, {
method: request.method,
headers: newHeaders,
body: request.body
})
}

HTML Snippets Powered By : XYZScripts.com