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 automaticallyRequired from you:
Add your website link in the following script:install the script:
before closing body tag directly:
© 2025 Manajmnt code
Comments
Post a Comment
message