Installation
Install the rev-utils library to augment your Electron setup with full compatibility for ads. We may occassionally update the package.Usage
After creating window withnew BrowserWindow, pass in the window and
electron global into setupRevUtils
main.js
Under the hood,
setupRevUtils calls two functions on the windowsetupLinkHandlerto open ads (and block malicious behavior!)setUserAgent, which removes non-standard portions of the User Agent string which may trigger IVT (invalid traffic).