Not sure if this is possible without risking issues, but clicking on a link in a document is a hardware action and as such, should be allowed to run macros. As the enclave only collects macros when clicking an item in the inventory, this doesn't work right now.