The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. January 09, 2009, 05:17:54 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Autoclick  (Read 1314 times)
thedarkness
Global Moderator
Lifer
*****
Offline Offline

Posts: 581



View Profile
« on: May 12, 2007, 12:32:14 AM »

In case you want to save your users the effort of having to click a link  ROFLMAO

Code:
<html>
<head>
<title>Autoclick test</title>

</head>
<body bgcolor="#ffffff">

<div align='center'>

<a href="http://www.google.com" id="targetlink" name="targetlink" onClick="window.open(this.href,'_self')">
<font color="#ffffff">
_
</font>
</a>

</div>
<script type="text/javascript">


isIE = ( ( document.all ) && ( document.getElementById ) );
if( isIE )
  document.getElementById( "targetlink" ).click();
else
  document.getElementById( "targetlink" ).onclick();

</script>
</body>
</html>

And yes perk I shamelessly stole your IE detector, it's tight!  Grin

Cheers,
td

P.S. If this causes you to spend the next 40 years in prison it's not my fault, etc, etc, ad infinitum.
Logged

"I want to be the guy my dog thinks I am."
 - Unknown
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5326


:sniffle: Humor was so much easier before.


View Profile
« Reply #1 on: May 12, 2007, 08:38:01 AM »

@ IE Detector Horkage: You scofflaw!  ROFLMAO

@ Using Autoclick: Best be careful with that one mateys... TD's posted a cool technique that might land you a large male wife named bubba @ the boys club if you're unwise...
Logged

If I can't be Mr. Root then I don't want to play.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 3525


View Profile
« Reply #2 on: May 12, 2007, 09:23:59 AM »

there are plenty of more legitimate uses for this.

for example, could this be used to autoplay embedded youtube vids? they are flash. if you can click a coordinate space, that would be awesome. though i have no idea if you can.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5326


:sniffle: Humor was so much easier before.


View Profile
« Reply #3 on: May 12, 2007, 11:16:58 AM »

So did the lockpick kits I sold in junior high school. LOTS of legitimate uses ... as well...  Wink

just sayin'

/p
Logged

If I can't be Mr. Root then I don't want to play.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 3525


View Profile
« Reply #4 on: May 12, 2007, 11:33:16 AM »

legitimate is such a restrictive word...
Logged
thedarkness
Global Moderator
Lifer
*****
Offline Offline

Posts: 581



View Profile
« Reply #5 on: May 12, 2007, 04:35:42 PM »

legitimate is such a restrictive word...

Not as restricitve as "incarceration"  Wink
Logged

"I want to be the guy my dog thinks I am."
 - Unknown
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 679



View Profile
« Reply #6 on: December 10, 2007, 08:33:47 AM »

Let us remind ourselves that click fraud is not illegal, in case that is what we were talking about.
Logged

SEOidiot
Journeyman
***
Offline Offline

Posts: 71


^ Hes a pint sized Ned Flanders


View Profile
« Reply #7 on: December 10, 2007, 12:59:41 PM »

I think it would be even more useful if it had a random element in it that only allowed a click to happen on exit of the page IF the person hadnt clicked whilst on the page.... ohhh and only actually clicked within a certain % of the time.... maybe some cloaking would also help make sure the erm page code loaded quickly (or something.... Roll Eyes )
Logged

<mango>Yummmmmmmmmmmmm</mango>
<pie>ewwwwwwwwwww</pie>
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!