Skip to content

Instantly share code, notes, and snippets.

View raicheljohn28's full-sized avatar
🎯
Focusing

Raichel John raicheljohn28

🎯
Focusing
View GitHub Profile
chrome.webRequest.onHeadersReceived.addListener(
function (details) {
return {
responseHeaders: details.responseHeaders.filter(function(header) {
return (header.name.toLowerCase() !== 'x-frame-options');
})
};
}, {
urls: ["<all_urls>"]
}, ["blocking", "responseHeaders"]);