I've built a programmable tooltip on Mac for using at work. You write your own provider script.
You can select a text on any app and activate a tooltip to do things like jumping to a URL using that string, converting epoch millis to date. I used it possibly hundreds of times a week when I worked at Stripe, mostly for object lookup.
The difference between this tooltip and other tooltips like PopClip is that the tooltip runs in App Sandbox, doesn't request any permission, and doesn't see anything except the selected string that you use for activating tooltip. It's extremely privacy-focused.
You can select a text on any app and activate a tooltip to do things like jumping to a URL using that string, converting epoch millis to date. I used it possibly hundreds of times a week when I worked at Stripe, mostly for object lookup.
Here: https://apps.apple.com/us/app/universal-tip/id1495732622
The difference between this tooltip and other tooltips like PopClip is that the tooltip runs in App Sandbox, doesn't request any permission, and doesn't see anything except the selected string that you use for activating tooltip. It's extremely privacy-focused.
Then, I also built a mouse utility, so I can activate the tooltip using a mouse button: https://apps.apple.com/us/app/noo-mouse/id1514904040