Function ExternalLinks (Check the current domain)


/ Published in: jQuery
Save to your folder(s)

Get all the links and check if there's a rel attribute external, if not, compare href to the current domain name.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.