Serve ads in your Electron app with a few lines of code
new BrowserWindow
, pass in the window and
electron
global into setupRevUtils
setupRevUtils
calls two functions on the windowsetupLinkHandler
to open ads (and block malicious behavior!)setUserAgent
, which removes non-standard portions of the User Agent string
which may trigger IVT (invalid traffic).