Nimiq.Vision utilizes the Nimiq Blockchain to detect when incoming transactions occur on a wallet address and trigger an on-screen alert that contains:
Code can be hosted and ran locally.
https://nimiq.vision/live.php?id=NQ97UQJA5V6KPRFYX9X0J2ASCK5R0C8QU04H&secs=30
Simply replace the NQ97UQJA5V6KPRFYX9X0J2ASCK5R0C8QU04H with your own wallet.nimiq.com address.
Visit https://nimiq.vision/fts.html if you require step-by-step setup instructions.
Function can be found in the handler.jsRun the following command in the browser console to push your own custom popups.
Take the following arguments:
- img = Should be an .svg file. "https://icons.mopsus.com/icon/NQ97UQJA5V6KPRFYX9X0J2ASCK5R0C8QU04H.svg"
- msg = Accepts only a string. "This is a test message" etc.
- value = Accepts a string or number. "100" or 100 etc.
- seconds = Accepts a string or number. "100" or 100 etc.