Custom Libraries Pro only MV3

Custom libraries are executed everytime you open or reload a webpage, and in each frame of the page in case there are multiple iframes.

These libraries are executed in an sandboxed iframe and don't have direct access to any DOM element.

Custom libraries are useful to perform actions on DOM elements through the FakeDOM API, or to extend the functionality of your custom codes by providing helper functions or additional generator sources.

Fake Data comes bundled with two libraries: Fakeropen in new window and Moment.jsopen in new window.

How to load a Custom library

In order to load a custom library into Fake Data, please follow these steps

  • Open Fake Data's options page.
  • Go to Settings -> Developer Options -> Loaded Libraries.
  • Click on Choose File and select your .js file from your computer, then press on the green button to upload it.
  • After this, you will need to reload any web page that you already have opened in order to have the library executed into them.

Below is a demo video showing how to upload a foreground library and how it executes on a web page:


A broken library might cause Fake Data to not work properly if errors are thrown. If you experience any issue after adding a library, remove it and reload the web pages that were affected.