nodeIntegrationInSubFrames
Experimental option for enabling Node.js support in sub-frames such as iframes and child windows. All your preloads will load for every iframe, you can use process.isMainFrame
to determine if you are in the main frame or not.