Add second consent cookie for compatibility
This commit is contained in:
parent
7b3f67073b
commit
e155426700
|
@ -254,6 +254,12 @@ function createWindow (useProxy = false, proxyUrl = '') {
|
|||
value: 'YES+'
|
||||
})
|
||||
|
||||
mainWindow.webContents.session.cookies.set({
|
||||
url: 'https://consent.youtube.com',
|
||||
name: 'CONSENT',
|
||||
value: 'YES+'
|
||||
})
|
||||
|
||||
settingsDb.findOne({
|
||||
_id: 'bounds'
|
||||
}, function (err, doc) {
|
||||
|
|
Loading…
Reference in New Issue