The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 22, 2019, 04:50:24 AM

Login with username, password and session length


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

Posts: 585



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
*****
Offline Offline

Posts: 10096



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

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


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

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



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

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


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

legitimate is such a restrictive word...
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
thedarkness
Lifer
*****
Offline Offline

Posts: 585



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: 1669



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

hai
SEOidiot
Journeyman
***
Offline Offline

Posts: 84


^ 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>
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 564


Where does this show?


View Profile
« Reply #8 on: November 04, 2011, 04:34:42 PM »

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>


4th year anniversary bump LOL


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




Anyways, I am playing with this to help my grandson with his nursery school
project, (he is 3 and has his own f'g iPad from his father).  His project is too
create a "auto" navigation menu.  Cheesy

Forcing a click should change the referer, correct?  I tried, but it did not change.
Maybe I am doing something wrong?


Bompa


« Last Edit: November 04, 2011, 04:39:10 PM by Bompa » Logged

"The most beautiful and profound emotion we can experience is the sensation of the mystical..." - Albert Einstein
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 564


Where does this show?


View Profile
« Reply #9 on: November 04, 2011, 08:30:27 PM »

nm, my grandson fixed it.  Cheesy
Logged

"The most beautiful and profound emotion we can experience is the sensation of the mystical..." - Albert Einstein
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!