summarylogtreecommitdiffstats
path: root/disable-x-frame-option-background.js
diff options
context:
space:
mode:
authorJulian Xhokaxhiu2019-10-19 16:19:56 +0200
committerJulian Xhokaxhiu2019-10-19 16:35:33 +0200
commit0e281cd0f26ff6c58d29bc5fb3f894582b97cf69 (patch)
treed345c00d3f861996c0b1164a116634fc4127238d /disable-x-frame-option-background.js
parente0d30c8c4363a49b0e05b67685168fc23652edd5 (diff)
downloadaur-0e281cd0f26ff6c58d29bc5fb3f894582b97cf69.tar.gz
Remove non allowed AUR files
Reference them externally
Diffstat (limited to 'disable-x-frame-option-background.js')
-rw-r--r--disable-x-frame-option-background.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/disable-x-frame-option-background.js b/disable-x-frame-option-background.js
deleted file mode 100644
index 7731f4ec4f7c..000000000000
--- a/disable-x-frame-option-background.js
+++ /dev/null
@@ -1,14 +0,0 @@
-chrome.webRequest.onHeadersReceived.addListener(
- function (details) {
- for (var i = 0; i < details.responseHeaders.length; ++i) {
- if (details.responseHeaders[i].name.toLowerCase() == 'x-frame-options') {
- details.responseHeaders.splice(i, 1);
- return {
- responseHeaders: details.responseHeaders
- };
- }
- }
- }, {
- urls: ["<all_urls>"]
- }, ["blocking", "responseHeaders"]
-); \ No newline at end of file