Open Yukaii opened 6 years ago
from https://github.com/electron/electron/pull/573#issuecomment-263186361
mainWindow.webContents.session.webRequest.onHeadersReceived({}, (d, c) => { if(d.responseHeaders['x-frame-options'] || d.responseHeaders['X-Frame-Options']){ delete d.responseHeaders['x-frame-options']; delete d.responseHeaders['X-Frame-Options']; } c({cancel: false, responseHeaders: d.responseHeaders}); });
from https://github.com/electron/electron/pull/573#issuecomment-263186361