Preferably in AHK so I can learn a little
I use Ancestry...
In the past it would provide a search result list with links. You could right click the ones of interest into a new tab, or window. They have recently moved to javascript. which only allows you to open one choice in the current window. a right pain as it slows down everything you do !
First a drop zone is needed where I can drag the javascript link.
On mouseover the status bars shows.
javascript:SetCfpId(102049804500)
The variable we need is the bit between the brackets. In this example.
102049804500
The util will need a place for the user to store the "URL string" the javascript variable gets appended to.
example of "URL string"
https://www.ancestry.co.uk/family-tree/tree/12345678/family/familyview?cfpid=
On dropping the link, the real URL is assembled
eg
https://www.ancestry.co.uk/family-tree/tree/12345678/family/familyview?cfpid=102049804500
The resulting URL should ideally be launched in a new tab on the source browser window, or a new window.
Using Chrome.
TIA
John