Make a link open two links

Caractere20

Newbie
Joined
May 17, 2019
Messages
17
Reaction score
2
Hi, I would like to make that a link open two links when it's clicked. It's to put a pop-up ad under Mega and 1Fichier download links. I believe I would be able to make more revenue than if I used some download service like Turbobit, that also offers slower downloads.

I found a way to do that in a thread from StackOverFlow, using a code like that :
<p><a href="#" onclick="window.open('http://google.com');
window.open('http://yahoo.com');">Click to open Google and Yahoo</a></p>

I got two problems :

-Firstly, when we click the link, everything work, but it bring the user back to the up of my page. So he has to scroll down again all the page to find other links, and he has to do that everytime.

-Also it does not work if the user opens a new tab (less annoying that the first problem)

Also, do you think that Pop up blockers in the browsers like Chome will have a huge impact on my revenue? Would you use a different strategy in my situation(like put images showing "Download Now", etc.)

Thank you.
 
Back
Top