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