you could loop through all the <a> elements that have a href attribute containing http, here's an example for this page

You have to use ordinals and put the loop index in it. So make 1 control, with one link element containing href*=["http"]. After that, put an ordinal on it like this
href*=["http"]:eq(%loopIndex%). Quite a technical solution but it's a technical problem 🙂