You should be able to query for those link elements like any other element. Since you are using jQuery:
var allLinks = $("link");
Alternatively, you can use the attribute selector to find the link you need:
var myLink = $('link[href="' + url +'"]');
script, , , .
2017-04 :
yummier!
var myLink = $(`link[href="${url}"]`)
JQuery:
var myLinks = document.querySelectorAll(`link[href="${url}"]`)