| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #3 (permalink) |
| Hi :) Join Date: Mar 2004 Location: NC
Posts: 9,567
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Well - it depends on what you mean by ads .... If you mean like visiting a sponsored page or ad - It isn't so bad as long as it isn't against a TOS If you mean visiting an actual PPC or CPM ad / uri - It more than likely is against all TOS 's ..... For the top example ^ There are scripts out there in javascript - But not necessarily all Browser set ups will work ... it works kind of like a pop-under , but is not blocked as often as most are. Please clarify your motives here |
| |
| | #5 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() | What I would do instead of forcing them to click the ads would be to have a page with the ads there, and don't show them the link to continue until 25 seconds have passed. Tempt them to click the ads, but don't tell them or force them to.
__________________ ask me about the internet |
| |
| | THREAD STARTER #6 (permalink) | ||||
| Account Closed Join Date: Oct 2005 Location: United Kingdom
Posts: 1,554
![]() ![]() ![]() ![]() |
| ||||
| |
| | #7 (permalink) |
| NamePros Regular Join Date: Sep 2005
Posts: 471
![]() ![]() ![]() | i did that for redz once (timer count down thing) XD
__________________ $2000 dollars worth of products for 2.50!!! http://webtoolsmembership.com http://rmember.tradebit.com |
| |
| | #8 (permalink) |
| NamePros Regular Join Date: Apr 2005
Posts: 263
![]() ![]() | there is a javascript code out there to force click on a link before continue. However effectiveness depends on your sponsors TOS and also on the surfer's end... if your visitor has javascript disable or is using a proxy, the trick will not work. |
| |
| | #9 (permalink) |
| NamePros Regular Join Date: Oct 2005 Location: Milford MA
Posts: 692
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | In header: function ad_click(){ clicked = '1'; } function check(){ if(clicked != '1'){ alert('Click the ads before going on'); } } In your HTML: <div onclick=''ad_click()">Ad code</div> On your link <div onclick='check()'><a href='#'>Woot</a></div> Should work, I just wrote that in this window |
| |
| | #10 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: d3sign3r.com
Posts: 479
![]() ![]() ![]() | it has got some error, kindly check n correct it .. thanks
__________________ Need Killer Graphics? :hmm: d 3 s i g n 3 r . c o m Have a look ! Watch Entourage Online - All Episodes Updated |
| |
| | #11 (permalink) |
| NamePros Regular Join Date: Oct 2005 Location: Milford MA
Posts: 692
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Alright, I'll do it with a real document. I'll post back in an hour. In the header: HTML Code: function ad_click(url, toid){
document.getElementById(toid).href = url;
} HTML Code: <div onclick="ad_click('http://www.msn.com','id')">Ad code</div> ????: NamePros.com http://www.namepros.com/programming/174389-click-ads-to-continue.html HTML Code: <a id="id" href="javascript:alert('You must click the ads first!')">Woot</a>
Last edited by cvxes; 04-06-2006 at 02:22 PM.
|
| |
| | #12 (permalink) |
| Account Closed Join Date: May 2006
Posts: 6
![]() | Complete Click Ads Before Entry ScriptCode: <head>
<script language="JavaScript">
<!--
/*******************************************************/
/* Configuration */
// This is the total number of links you want people to visit INCLUDING the link to your page
var num = 2;
// URL of your page
var mypage = 'http://www.domain.com/demo/105.php';
// What you want people to see when they don't visit the other links first
var pissoff = ' Please click on the adverts to help me show this ';
/*******************************************************/
allow = Array();
allow[num] = 2;
function gotoit(link){
if (link != num){
allow[link] = 2;
} else {
for (i=1;i<=num;i++){
if (allow[i] != 2){
i = num + 1;
lemmeIn = 0;
} else {
lemmeIn = 1;
}
}
if (lemmeIn == 1){
window.location = mypage;
} else {
alert(pissoff);
}
}
}
//--->
</script>
</head>
<BR><BR><BR><BR><Br><br><Br><br><Br><br><Br><br>
<p align="center"><a href="javascript:gotoit(num)" target="_self"><font face="verdana" size="6"><B>WHAT YOU WANT YOUR ENTER TEXT TO SAY</font></a></td>
<p align="center">
<a onClick="gotoit(1)" target="_blank" href="http://YOUADSCRAPHERE"><font size="2" face=verdana></b>PLACE WHATEVER JUNK YOU HAVE TO SAY HERE</a>
<br><br>
<img src="ADVERT CODE HERE" border="0"> |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NEW : Google AdSense(TM) Online Standard Terms and Conditions | Mark | Google Adsense | 3 | 11-04-2005 01:37 PM |
| VirtuosoNetSolutions: $0 Setup | cPanel/Fantastico | 99.99% | 24/7 Support Rated #1 | virtuoso | Web Hosting Offers | 0 | 01-10-2005 07:38 PM |
| 64 Business & Marketing Domains ON SALE - Info US WS - Including NewBusiness.info | Duke | Domains For Sale - Make Offer | 0 | 09-24-2004 10:24 AM |
| Five-Day .INFO SALE - Part Five - 133 Domains Including StockResearch.info | Duke | Domains For Sale - Make Offer | 0 | 03-31-2004 12:49 PM |