Auto-Clicking a link in an Iframe

Sniper

Regular Member
Joined
Dec 30, 2008
Messages
472
Reaction score
218
I am looking to find a way to automatically click a link in an iframe when a page loads. I have tried a variety of these:

<frame src ="http://urlhere.com" width="100%" height="300" name="test">
<p>Your browser does not support iframes.</p>
</iframe>
<script type="javascript">
document.test.links[0].click(); //I have tried a variety of these
</script>

I can't seem to get it to work. there is only one link in the page.

Also, it doesn't have to be in an iframe. I just want the page with my link to load, then a click sent to that link. This is not for cheating adsense or anything else of that nature.

Can anyone help?
 
I am lookin for that as well

ps. who cares it you were adjacking:)
 
Actually, this is so I can win a radio contest for my nephew. It was about getting votes for the profile, and cookie stuffing worked for one day, then they introduced some javascript that prevented that. Instead there is a security token that creates a hidden post form upon the click of the link. I almost got a workaround figured out for it..
 
ahh i see. couldnt you just iframe it under a youtube video and send traffic to it on one of your sites.
 
Pretty sure you cannot click a link on a 3rd party site in an iframe when someone views the page. It blocks that action for security reasons, if it was a page on your own site it would be a different matter. If you could I would think people on here would def be abusing that.
 
You cant access iframes that way.. I've tried many, many times. Just send traffic to the link that is being clicked on with a fake referrer. :]
 
Yah i gave up on it.. i wasted too much time trying to figure it out.
 
Back
Top