Skip to main content

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 with new BrowserWindow, pass in the window and electron global into setupRevUtils
main.js
Under the hood, setupRevUtils calls two functions on the window
  • setupLinkHandler to open ads (and block malicious behavior!)
  • setUserAgent, which removes non-standard portions of the User Agent string which may trigger IVT (invalid traffic).