File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ function createWindow() {
8080
8181 mainWindow . webContents . on ( 'did-frame-navigate' , function ( ) {
8282
83+ //re-inject logo onclick
8384 mainWindow . webContents . insertCSS ( '.logo.show.ads-evt {content: url("https://github.com/zoeeechu/Ako/blob/main/logo.png?raw=true");}' )
8485
8586 currentURL = mainWindow . webContents . getURL ( )
@@ -121,10 +122,10 @@ function createWindow() {
121122
122123
123124 //injecting CSS TEST WORKON LATER
124- //mainWindow.webContents.insertCSS('html, body { overflow: hidden; }')
125125 mainWindow . webContents . insertCSS ( '.logo.show.ads-evt {content: url("https://github.com/zoeeechu/Ako/blob/main/logo.png?raw=true");}' )
126+
126127 // mainWindow.webContents.insertCSS('html, .wrapper_inside { overflow-y: scroll; padding-right: 0px; }')
127-
128+ //mainWindow.webContents.insertCSS('html, body { overflow: hidden; }')
128129}
129130
130131
You can’t perform that action at this time.
0 commit comments