Javascript autoclick opens popup. Is this possible?

jovica888

Regular Member
Joined
Dec 15, 2011
Messages
432
Reaction score
96
So I have time and I was experimenting with this concept. Trying to make this on popcash and propellerads and it not works
I wrote code that clicks somewhere on page after 2-3-4 seconds but this code does not open the popup and when I click manually it works.

What is the difference?

This is the code
https://pastebin.com/jHgqhqke
 
Dude, not everything you find on google will be the right solution for your needs. The code you have right there will not do the job.
Why don't you just set the script to activate itself on body load?

Edit: Just so you may know, sending automated or any kind of traffic where the people will not actually interact with your website (e.g. iFrame traffic) will get your pop accounts banned, sooner or later.
 
Last edited:
@The code you have right there will not do the job.

This is the main problem ;)

@Why don't you just set the script to activate itself on body load?

I can do this but I get the same - this "false click" will not open popup
 
@The code you have right there will not do the job.

This is the main problem ;)

@Why don't you just set the script to activate itself on body load?

I can do this but I get the same - this "false click" will not open popup
I don't know how the code looks like as I have never been using any of those networks/services but I assume the script should be working just fine if called from onLoad.

And are you certain that a simple code like:
Code:
Javascript:
document.getElementById('ID').click();

jQuery:
$('#id').click();

will not trigger the pop?
 
@It wont trigger on iframe because it's cross domain

Yes I think this is problem. It works if I "host" popup code but it won't works if popcash.net host popup code
 
The only thing you might be able to do is extract the url server side and forward visitor client side. But this won't be an option if ads are tailored to visitor or ppc is based on click log on frame and not user forwarded
 
@It wont trigger on iframe because it's cross domain

Yes I think this is problem. It works if I "host" popup code but it won't works if popcash.net host popup code
These scripts will get you banned sooner or later.
 
@These scripts will get you banned sooner or later.

I must try :)
 
Take a look at FindDIY / js-popup on Github. Onclick is required to display the popup window, but the best part is it can close automatically. Just set the timer accordingly.. The code provided actually displays a confirmation box when a page element (like a banner) is clicked. Clicking Yes or No triggers the popup.
 
i dont think you understood. I was asking if you could sync so you can use it twice and avoid the blocker
 
Back
Top