User Loyalty

Test Facebook's Doomsday scenario against your users to determine their loyalty to your application.

It prevents users accessing your application by disabling XMLHttpRequests (AJAX). The test can be stopped and you can see how many times the user tried to access your application.

User Results:

Active

Counter

Request Response:

Installation:

 npm install user-loyalty --save

Usage:

import UserLoyalty from 'user-loyalty'

UserLoyalty.start()

document.reload()

UserLoyalty.stop()

console.log(UserLoyalty.results())