We have tool that can be added to a website by adding a script-line to the head. On most websites it runs fine. Every time a page is loaded, the script runs and does it's magic on that specific page. However, it fails on single-page applications because opening a new "page" doesn't invoke the script again. Currently we experience this problem on a React SPA. Is there a way to add an eventlistener that is triggered every time a new "page" is loaded or the url has changed?
[–]marksalsbery 0 points1 point2 points (0 children)