How to Add Nofollow, Target _blank To External Links automatically with JavaScript

Script Explanation:
This script extracts all links on the page and then compares these links with the address of your website, if the hostname is found different from your hostname, it will add attributes(rel="Nofollow", target="_blank") to external links automatically
Required from you:
Add your website link in the following script:
install the script:
before closing body tag directly:
How to Add  Nofollow, Target _blank To  External Links automatically  with JavaScript

© 2025 Manajmnt code

Share to :

Related

Comments