Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
custom useragent to re-enable use.
  • Loading branch information
stealthgyro authored Feb 18, 2020
1 parent 15eb95f commit dd5e756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function createWindow() {
win = new BrowserWindow({width: 800, height: 600, titleBarStyle: 'hidden'});

// and load the index.html of the app.
win.loadURL('https://www.youtube.com/tv');
win.loadURL('https://www.youtube.com/tv',{userAgent: 'Mozilla/5.0 (SMART-TV; Linux; Tizen 5.0) AppleWebKit/538.1 (KHTML, like Gecko) Version/5.0 NativeTVAds Safari/538.1'});

// Open the DevTools.
// win.webContents.openDevTools();
Expand Down Expand Up @@ -50,4 +50,4 @@ app.on('activate', () => {
});

// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and require them here.
// code. You can also put them in separate files and require them here.

0 comments on commit dd5e756

Please sign in to comment.