Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeeechu committed Nov 30, 2022
1 parent 770b885 commit c1aab96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function createWindow() {

mainWindow.webContents.on('did-frame-navigate', function () {

//re-inject logo onclick
mainWindow.webContents.insertCSS('.logo.show.ads-evt {content: url("https://github.com/zoeeechu/Ako/blob/main/logo.png?raw=true");}')

currentURL = mainWindow.webContents.getURL()
Expand Down Expand Up @@ -121,10 +122,10 @@ function createWindow() {


//injecting CSS TEST WORKON LATER
//mainWindow.webContents.insertCSS('html, body { overflow: hidden; }')
mainWindow.webContents.insertCSS('.logo.show.ads-evt {content: url("https://github.com/zoeeechu/Ako/blob/main/logo.png?raw=true");}')

// mainWindow.webContents.insertCSS('html, .wrapper_inside { overflow-y: scroll; padding-right: 0px; }')

//mainWindow.webContents.insertCSS('html, body { overflow: hidden; }')
}


Expand Down

0 comments on commit c1aab96

Please sign in to comment.