bootstrap: add CSS injection support (like JS)
This commit is contained in:
		
							parent
							
								
									045f9db914
								
							
						
					
					
						commit
						f425859c93
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								src/bootstrap.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								src/bootstrap.js
									
										
									
									
										vendored
									
									
								
							|  | @ -45,6 +45,7 @@ const startCore = () => { | |||
|         .replaceAll('<notrack>', oaConfig.noTrack)); | ||||
| 
 | ||||
|       if (oaConfig.js) bw.webContents.executeJavaScript(oaConfig.js); | ||||
|       if (oaConfig.css) bw.webContents.insertCSS(oaConfig.css); | ||||
|     }); | ||||
|   }); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue