Skip to content

Commit

Permalink
Update User Agent
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
RudraSen2 authored Sep 24, 2023
1 parent fa6d550 commit 7329f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createWindow() {
},
});

mainWindow.webContents.setUserAgent("Firefox");
mainWindow.webContents.setUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.82.2 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36");
// = "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko"
mainWindow.loadURL("https://docs.google.com");

Expand Down

0 comments on commit 7329f32

Please sign in to comment.