Open multiple links at once

Although I didn’t had any use for this, I wanted to share how you can open multiple pages with only one link.

Just use this code:

<a href=”YOUR_FIRST_LINK” target=”_blank” onclick=”window.open(‘YOUR_SECOND_LINK’); window.open(‘YOUR_THIRD_LINK’);”>This link opens 3 pages in a single click</a>

If you want to add more pages, you only have to add more window.open(‘YOUR_LINK’); phrases.


Leave a Reply

Your email address will not be published.