Author: | Maiquinho |
---|---|
Views Total: | 629 views |
Official Page: | Go to website |
Last Update: | April 21, 2023 |
License: | MIT |
Preview:

Description:
The Target Blank Validate provides a simple JavaScript plugin to automatically add target="_blank"
attribute https
links found within your document.
This can ensure that all links with the https protocol open in a new tab or window, which allows users to navigate back to your site and continue browsing easily.
How to use it:
Just include the index.js and the function will scan the page for anchor tags with HTTPS links and add the target=”_blank” attribute accordingly.
<script src="index.js"></script>