I am currently developing an extension for a specific website that I don't have ownership of. The URLs on this site only change after a /#/.
For instance, starting from the URL
.../#/PF/charts/patients/419d3081-5e20-4347-a852-52b2c333ce85/summary
When clicking the "timeline" link, it takes you to the next URL:
.../#/PF/charts/patients/419d3081-5e20-4347-a852-52b2c333ce85/timeline/encounter
My issue arises when trying to identify which URL to trigger my content script on. It seems that everything after the # symbol is ignored, causing the script to mistake these pages as the same. Furthermore, despite clicking links and visibly seeing page changes, the console does not register any new page loads, even though the URLs after the /#/ portion are different.
I'm looking for advice on how I can ensure my contentscript.js runs only where necessary if the typical methods (such as setting "content_scripts" in the manifest) won't suffice. Alternatively, is there a way to make the URL after the /#/ visible in some manner?
I would greatly appreciate any cost-effective solutions!