javascript find link by href
snippet in javascript

javascript find link by href

user2842

//Selects all links with href='http://domain.com'
document.querySelectorAll("a[href='http://domain.com']");