Hi there, I’m trying to watch for changes to an href anchor tag on a page. Is there a way that this javascript page can be modified to track any changes to that?
Hi all, I need to monitor whether a button in a web page is updated with a new link (triggered when you click on it).
Example: a restaurant web page contains a “menu” button which opens a PDF upon clicking on it.
How can I monitor when the path to the PDF is updated to a new PDF?
Hi @Treats, it’s an anchor tag, an element with name a. It can be monitored using the technique mentioned in one of the replies above. Following is a config that can be used for your website:
Many thanks ajitk!
Since I am totally new to distill, would you also have some pointers on where and how to implement this? I have no clue… I guess there are somewhere past posts that explain how to do?
Checkout Config and Advanced Options | Distill.io. You can go to config of an existing monitor and replace the older config with the updated one shared above. Feel free to reach out in case you face any issue. Cheers!
paste what @ajitk shared above as the config. ensure all opening and closing { } curly braces are included. the magic is in the “expr” line.
6) click save.
7) everything else is as usual in setting up the monitor. now the monitor will alert you when the menu link changes!