diff --git a/src/main/index.js b/src/main/index.js index 093e9923..a8daed35 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -253,6 +253,12 @@ function createWindow (useProxy = false, proxyUrl = '') { name: 'CONSENT', value: 'YES+' }) + + mainWindow.webContents.session.cookies.set({ + url: 'https://consent.youtube.com', + name: 'CONSENT', + value: 'YES+' + }) settingsDb.findOne({ _id: 'bounds'