How can i get webpage content with "node-integration=false"


#1

how can i get webpage content with node-integration=false?

i want to use electron to get some content form other webpage, like “http://google.com”.

executeJavaScript() seems good , but it returns nothing.

If node-integration=true, i have idea to get content.
But some dynamic webpage will load incorrectly.
so i have to make node-integration=false

please help me , thanks.


#2

Did you get a solution?


#3

If you go to the BrowserWindow documentation and search for nodeIntegration, you’ll see that you can disable Node integration on a per-window basis.