PDA

View Full Version : [Blocking our Pops] Let's fight back [Solution]


Pages : [1] 2

Dave1
07-27-2001, 01:28 PM
I have had enough of people surfing my site using ad-blocking software so I have turned to APACHE to help me out however I am only half way there

I am using .htaccess directives to stop people bnrowsing my site using this type of software and have got some (from this forum) but I want more software to block

Heres what I have sofar



# block offline browsers
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT** ^Offline* [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebZIP* [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebReaper* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Anarchie* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Mass\ Down* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Slurp* [OR]
RewriteCond %{HTTP_USER_AGENT** ^BlackWidow* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Web********* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Wget* [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebHook* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Teleport*
# adblocking software
RewriteCond %{HTTP_USER_AGENT** ^.*Ad.*Muncher.*v4.*.* [NC,OR]
RewriteCond %{HTTP_USER_AGENT** ^.*NetCaptor.* [NC,OR]
RewriteCond %{HTTP_USER_AGENT** ^.*WebWasher.* [NC]
RewriteCond %{HTTP_USER_AGENT** ^.*adsubtract.*$ [NC,OR]
# Send leeches to denied page
RewriteRule ^.*$ /docs/robots_denied.html [L]


Can anyone add any ad-blocking sotware's HTTP_USER_AGENT to this list?

gethosted
07-27-2001, 01:35 PM
I would recommend blocking anything with the words "popup", "banner", "killer", or "ad" in the user agent field. Sure you may lose traffic from a legitimate browser named "popup killer" but I really doubt it :).

Manos
07-27-2001, 05:15 PM
Hey Dave1, thanks for those rules. I like to collect Apache rules... hehehehe.

You may try searching google... I haven't checked in awhile, but last time I went looking I found these rules to block bulk email collecting software.

#Block email collectors
RewriteCond %{HTTP_USER_AGENT** ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT** ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT** ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT** ^Mozilla.*NEWT [OR]
RewriteCond %{HTTP_USER_AGENT** ^Crescent [OR]
RewriteCond %{HTTP_USER_AGENT** ^CherryPicker [OR]
RewriteCond %{HTTP_USER_AGENT** ^[Ww]eb[Bb]andit [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebEMailExtrac.* [OR]
RewriteCond %{HTTP_USER_AGENT** ^NICErsPRO [OR]
RewriteCond %{HTTP_USER_AGENT** ^Telesoft [OR]
RewriteCond %{HTTP_USER_AGENT** ^Zeus.*Webster [OR]
RewriteCond %{HTTP_USER_AGENT** ^Microsoft.URL [OR]
#RewriteCond %{HTTP_USER_AGENT** ^Mozilla/3.Mozilla/2.01 [OR]
RewriteCond %{HTTP_USER_AGENT** ^EmailCollector
RewriteRule ^.*$ /we_hate_filthy_spammers.html [L]

I've commented out the Mozilla one, since it
could block, as far as I remember from the comments on the web page, any browser based on Mozilla that's created using some specific Visual Basic libraries. It was some seemingly low percentage of traffic, but I decided not to take a chance with it. I wish I could remember the page, but that was a while ago.

Also, people should check this thread out for more helpful ad-blocking discussion: http://66.33.83.213/forums/showthread.php?threadid=9915

mcsebraindumps
07-27-2001, 06:30 PM
Web ********, Offline Explorer, WebZIP, and some of the others you have there are actually spiders. They are more descructive in my opinion than anyone blocking ads from your site because they spider your entire site which inflate your page views and gets you banned from programs. I can't use search boxes on my site for this reason, been booted from two places. I would definitely put Teleport Pro in your list as it's the most common spider. I've gone a step further than you and had an entire collection of scripts written to handle this problem. I don't use htaccess because my list would be too long :) Fortunately I have a dedicated server and have root so I use ipchains which completely bans an IP. I have one script to parse the log file looking for those agents and ban them on sight. I then have another script to ban any IP accessing more than 40 files (not including .gif and .jpg) in 60 seconds. I then have a hidden tag in my site pointing to /cgi-bin/mustdie.pl which bans any IP hitting that :) I think I catch about 99% of unwanted spiders. My scripts also allow me to tell it certain domains not to ban such as search engines. Last but not least, my script unbans each IP after 24 hours. After about a month of doing this I think I finally have the problem under control. Anyway, here's my list of agents to ban:

Teleport|Offline Explorer
DISCO Pump
WebZIP
HTTrack
MSIECrawler
FlashGet
libwww
Web********
WebCopier
ia_archiver
WebCapture
Downloader
GetRight
Fetch
NetAnts
SuperBot
Wget

If you have large files on your site I suggest allowing GetRight and NetAnts since they can also be used solely as download agents. The problem is, they can also be used to grab your entire site.

harry
07-27-2001, 07:55 PM
Hi Folks

Just wish to ask whether its possible to write a program in JavaScript to be instaled on html pages and can block the mentioned ad-blocking software or just to display a blank page if the surfer is using such software?

Thanks!

Harith
http://www.danex-exm.dk

demae
07-27-2001, 08:12 PM
You mean the ad blocking software actually gives a real USER_AGENT string? How sloppy of them. ^_^

Jan
07-27-2001, 09:43 PM
At the risk of being shot down in flames, I would like to ask what is more important? Surfers or bucks?

What you are doing is interfering with people's wishes to not view ads. That is their choice. If you force them to view them with these scripts, you are going to lose them and lose possible referrals to their friends who maybe don't have adblockers.

This is almost like cheating, but you are cheating the surfers. If I was using adblockers and I was still forced to view ads, I most certainly wouldn't return to that site.

If those unscrupulous ad companies hadn't come up with the 5-40 spawned popups maybe not so many people would be looking for alternatives.

WildComputer
07-27-2001, 09:57 PM
Bucks are more important if you're running a business based on banners, etc. (incidentally this isn't really me - but I understand the issue)

Why would you want to spend bandwidth, CPU resources etc on accommodating people who generate zero revenue?

Why would you want repeat use of your bandwidth, CPU resources, etc. for these people? If they don't come back - so much the better

Czar
07-28-2001, 12:21 AM
What you are doing is interfering with people's wishes to not view ads. That is their choice. If you force them to view them with these scripts, you are going to lose them and lose possible referrals to their friends who maybe don't have adblockers.
It's mainly an educational issue. My understanding of the intent of this subject header is not "let's fight back against our cheap surfers", but rather "let's fight back against the greedy and unethical manufacturers of ad blocking software".

I'd be willing to bet that most of the users of such software do not realise that what they're doing is wrong, and a threat to the free internet that we've all come to love. By directing such users to a page explaining that the site in question cannot survive unless they agree to view the ads (ie radio, free-to-air TV), or pay for the right to access the site (ie cable, press), one may win the user's empathy or, at the very least, understanding.

If you view the sites promoting ad-blocking software, you'll find that they're so full of propagander and false claims inferrring that ad blocking doesn't hurt anyone, but allows users to avoid an unnecessary evil of the net. As publishers, we have a vested interest in ensuring that users don't believe this to be true.

Let's face it, the media giants will be able to endure small threats such as this, but the indies who add real flavor to the web are at risk when this is compounded with what is already a weak ad market.

adland
07-28-2001, 12:37 AM
If you want to fight back, attack x-10. They more than any other advertiser are responsible for the increase in people using ad-blocking software.

ref
07-28-2001, 01:04 AM
If they want to use it [the ad blocking software] so be it. My opinion, your or somebody else does not matter. Is a company shooting 50 linked popups? Their choice. You or me want to employ one method or another …who cares. At the end only the equilibrium [between the blocking software, spiders, robots, popups, your nerves, my nerves, your pockets, my pockets] matters. A web site is a private property. If I want to block all countries, but say Eritrea, is my choice [go stick a finger in your … if you don’t like it]. Do you want a supper authority looking over your shoulder when you type .. Don’t worry will come in a near future. They will wisely decides what ad blocking software is proper to use, ads that are safer for you [say based on your age in seconds – if they are sloppy]. So enjoy the net now

Manos
07-28-2001, 01:21 AM
Jan - your comments are definitely a point of view to consider. I agree with what you say about the abusive advertising sites. However, we're not "forcing" surfers to view ads - we just refuse to let them see our website if they're not going to view them. The problem with ad blocking is that if it becomes prominent, the internet will be forced to become a pay-for-use model, as site owners can't afford to allow users to **** up the bandwidth without making any money to cover it. It's like going to a museum that exists on donations - if everyone keeps coming to see the exhibits but nobody donates, they're going to have to start charging admission.

funtoon
07-28-2001, 04:10 AM
Hi I just wrote this code its in ASP to block users using ad-blocking softwares and offline browsers, feel free to use it


<%
agent=lcase(Request.ServerVariables("HTTP_USER_AGENT"))

banned_agents="offline,webzip,webreaper,anarchie,mass \ down,blackwindow,web********,teleport,webwasher,ad subtract,offline explorer,superbot,wget,ia_archiver,libwww,httrack, fetch,muncher"
b_agents=split(banned_agents,",")

for cnt=0 to ubound(b_agents)
if instr(agent,b_agents(cnt)) > 0 then
Response.Write "<font face=verdana size=2><B><center>Sorry you are not allowd to view this page</b></center><P>"
Response.Write "We have determined that you are using some sort of ad-blocking software or using a browser that downloads our site to your machine.<P> Please understand that we are able to provide this content free because of our Sponsors (ads) and if you choose to block them, we will be unable to display the pages, if people continue to block our sponsors ads using ad-blocking softwares then we will be forced to charge for the content and we do not wish to do this so Please shut of your ad-blocking software and revisit our site."
Response.Write "<P>Thanks,<BR> Editor <BR> http://www.funtoosh.com [ <a href=mailto:webmaster@funtoosh.com>webmaster@funtoosh.com </a> ]"
Response.Write "</font></body></html> "
Response.End
end if

NEXT
%>


I hope this help you all

Thanks,
Ranjit Editor Funtoosh Network

Jan
07-28-2001, 04:28 AM
This at least gives the surfer an option :)

"We have determined that you are using some sort of ad-blocking software or using a browser that downloads our site to your machine.<P> Please understand that we are able to provide this content free because of our Sponsors (ads) and if you choose to block them, we will be unable to display the pages, if people continue to block our sponsors ads using ad-blocking softwares then we will be forced to charge for the content and we do not wish to do this so Please shut of your ad-blocking software and revisit our site."

If you are going to do this (anti adblockers) and maybe retain a few visitors, then put something like this in. That way there is a choice - to enter or not to enter.

Just be nice :angel:

Ralph Slate
07-28-2001, 10:37 AM
Here's a tip on a program that I first read about here, but haven't seen mentioned in a while.

I bought a program called "Botbuster". Their URL is http://www.botbuster.com . It's a set of scripts that detects when a non-search engine is spidering your site, and blocks them using .htaccess.

It's been working great for me -- I block 10-20 bots per day. You have the option to block permanently, or for a specified time period.

They're working on enhancements to it where it will actually tell someone that they've been banned (instead of just blocking access), so that it will educate your users instead of just punishing them.

Try it out on my site -- hit me with a Spider and you'll see that you'll be blocked.

If you decide to buy it, mention my name so I get some brownie points!

Ralph

Marty Winston
07-28-2001, 11:09 AM
I don't know of any ad servers that skip counting ads that don't display. If your site has the HTML call to the server, that gets counted, whether or not the user sees it.

Which addresses CPM income.

Certainly that doesn't help the CTR or CPA/CPS income.

So what?

When you turn a geek away, you also turn away his value as a smart-@ss advice giver to those who aren't AR enough to block ads.

If you do enough volume, you can serve those ads yourself, which thwarts the blockers, and still send the appropriate info back to the payment processors - low volume, you're not worth the bother.

I have to say, though, overall this is sounding like a really cheapskate approach, and I feel uncomfortable on sites that treat people that way - even though I'm not blocking ads.

Are there more out there like me?

If so, you're plotting a dangerous course.

Manos
07-28-2001, 07:43 PM
Jan - your last post is exactly what I show my ad-blocking visitors. Check it out:
http://www.drinknation.com/noads.html

:)

Robert from SI
07-28-2001, 07:51 PM
Manos,

Excellent.

Marty Winston
07-28-2001, 08:03 PM
Not, of course, that Robert might have an even more intense self-interest than just about anybody else here...

Robert from SI
07-28-2001, 08:21 PM
Actually, no Marty.

We don't sell banner ads. And they don't generally work on our popups.

I think ad blockers are wrong, and I don't think that publishers should sit idly by and tolerate them. If the surfer refuses to view your ads, you should refuse to allow him to view your site. Whats wrong with that?



I think he has a well written, polite, and informative note.

:D

Marty Winston
07-28-2001, 08:24 PM
Try it on from the viewpoint of the customer - and don't assume any ill will because there's an ad blocker they might not have themselves installed on the system they use.

It's unnecessarily rude and simultaneously self-destructive to the site's ultimate interests.

Steve_S
07-28-2001, 09:02 PM
Some interesting reading in these old posts:

http://www.geekvillage.com/forums/showthread.php?s=&threadid=9830&highlight=block%2A


http://www.geekvillage.com/forums/showthread.php?s=&threadid=9856&highlight=block%2A

http://www.geekvillage.com/forums/showthread.php?s=&threadid=9915&perpage=15&pagenumber=1

Manos, why not consider instructions in your noads page to help your visitors remove the ad blocker from their system AND to tell their friends to do the same :) Along with the technical issue it helps "paint" "you" as a really nice person who wants them to return and want's them to view your great site. :)

Manos
07-29-2001, 02:26 PM
Steve that's a really good idea. And assuming my Apache rules work correctly, I could even customize the instructions for whichever brand of blocker they were using....

darnell
07-29-2001, 04:42 PM
This is great. We must keep this updated and let everyone know that leeches and spammers are not allowed.

darnell
07-29-2001, 06:47 PM
I've tried a .htaccess file with the following

--------------------------------------
# block offline browsers
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT** ^Offline* [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebZIP* [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebReaper* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Anarchie* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Mass\ Down* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Slurp* [OR]
RewriteCond %{HTTP_USER_AGENT** ^BlackWidow* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Web********* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Wget* [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebHook* [OR]
RewriteCond %{HTTP_USER_AGENT** ^Teleport*
# adblocking software
RewriteCond %{HTTP_USER_AGENT** ^.*Ad.*Muncher.*v4.*.* [NC,OR]
RewriteCond %{HTTP_USER_AGENT** ^.*NetCaptor.* [NC,OR]
RewriteCond %{HTTP_USER_AGENT** ^.*WebWasher.* [NC]
RewriteCond %{HTTP_USER_AGENT** ^.*adsubtract.*$ [NC,OR]
#Block email collectors
RewriteCond %{HTTP_USER_AGENT** ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT** ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT** ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT** ^Mozilla.*NEWT [OR]
RewriteCond %{HTTP_USER_AGENT** ^Crescent [OR]
RewriteCond %{HTTP_USER_AGENT** ^CherryPicker [OR]
RewriteCond %{HTTP_USER_AGENT** ^[Ww]eb[Bb]andit [OR]
RewriteCond %{HTTP_USER_AGENT** ^WebEMailExtrac.* [OR]
RewriteCond %{HTTP_USER_AGENT** ^NICErsPRO [OR]
RewriteCond %{HTTP_USER_AGENT** ^Telesoft [OR]
RewriteCond %{HTTP_USER_AGENT** ^Zeus.*Webster [OR]
RewriteCond %{HTTP_USER_AGENT** ^Microsoft.URL [OR]
#RewriteCond %{HTTP_USER_AGENT** ^Mozilla/3.Mozilla/2.01 [OR]
RewriteCond %{HTTP_USER_AGENT** ^EmailCollector
# Send leeches and spammers to denied page
RewriteRule ^.*$ /html/access_denied.html [L]
--------------------------------------

I'm not very experienced with .htaccess files, so maybe I'm doing something wrong.

After loading this file to my web server, I installed Ad Muncher 4.21. I was able to go to my site and my access was not blocked. Am I doing something wrong? I have other .htaccess files in subdirectories on my site for other uses that work fine. So I'm not sure why this one is not working.

When I filled out a web form on my site to see if Ad Muncher was the HTTP_USER_AGENT I got the following:
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

So maybe my .htaccess file is OK and Ad Muncher is some how hiding it's self from showing up as HTTP_USER_AGENT?

Has any one else tried testing this with the latest version of Ad Muncher?

UPDATE: I just went to Manos's site and was not blocked. So I know it must not be my .htaccess file. The Ad Muncher folk have found a work around to prevent .htaccess from blocking them.... :eek:

mcsebraindumps
07-30-2001, 01:03 AM
Here's a nice little php command for those of you wanting to use it:
<?php $user_agents = array('Flashget', 'Offline', 'Teleport', 'Downloader', 'reaper', 'WebZIP', 'Website Quester',
'MSIECrawler', 'FAST-WebCrawler', 'Gulliver', 'WebCapture', 'HTTrack', 'Fetch API Request', 'NetAnts', 'SuperBot',
'WebCopier', 'Web********'); foreach ($user_agents as $usr_agt) if (preg_match("/$usr_agt/i", $HTTP_USER_AGENT)) die("Sorry,
these bots destroy our bandwidth and webserver, please refrain from using them on our site"); ?>

It doesn't work 100%, but rather about 75%. Still a nice way to keep your bandwidth down.

darnell
07-31-2001, 01:21 PM
Slurp is Hotbot's spider. You may not want to block that one if using the examples on this thread.

Taz
08-01-2001, 05:06 AM
Originally posted by Jan
This at least gives the surfer an option :)

"We have determined that you are using some sort of ad-blocking software or using a browser that downloads our site to your machine.<P> Please understand that we are able to provide this content free because of our Sponsors (ads) and if you choose to block them, we will be unable to display the pages, if people continue to block our sponsors ads using ad-blocking softwares then we will be forced to charge for the content and we do not wish to do this so Please shut of your ad-blocking software and revisit our site."

If you are going to do this (anti adblockers) and maybe retain a few visitors, then put something like this in. That way there is a choice - to enter or not to enter.

Just be nice :angel:
i was thinkong something upon that line redirect them to a page to sign up for a ad-free serivce as in they pay to not see ads... that way they turn their anti ad ware off and login ( or cookied already read login from yesturday) and they browse site ... other users get it free with ads.. and can always opt for a ad free option .. this only works if the ad option is still making you money otherwise you may have to switch totaly pay for contaent subscription.....
also as ALWAYS the adult wolrd is a head of us.. hmm i don't know if this will get edited since doesn;t want to mention hm mthat stuff rules hmm how can i say this well adult targeted sites have system where like related sites share a login subscri9ption site.. for example adult check.. if your site fits into a category of other pop ular sites for this sort of system that might be wanted by the user maybe a buy subscription toout site for $ but if you buy this subscription you get these sites for less $ then you would nromal pay for each that way they get a nice deal if they want to see 12 sites addfree ....

a lot of sites are going to paid subscrptions goofball for one.. napster... just hope your site doensl;t depend on your vistors for content like napster and such or with the paid services ( if you choose to go that route) will cut the content ;[

anyways back to the main thing if they use a adware i say give them a option send them to a page with text ads and also a thing about how much the are leeching and they can get the adfree solution they want for a small fee... don't get to imutional like my kids ar starving to death but you can push a little on that point.. rather push on how good your content is and for a small 5 cents a day you can get it ad free and support us

Steve_S
12-11-2002, 07:00 PM
I'm bumping this thread up with this series of questions:

1. Does anyone have a current list of user agents?

2. Who uses this technique and could you please share your results?

<Note: A duplicate of this thread appears in our archive of best posts.>

Please note the date of the first post in this thread :)

darnell
12-11-2002, 07:08 PM
I would like a current list of just bots to block. I don't want stop ad blockers, but I do want to stop spam bots and other bots not associated with Search Engines.

washjob
12-12-2002, 07:47 AM
I don't have my own server. My web site is hosted on Verio. Is there any way I can install software to block the ad blockers with a Verio web server?

Thanks
Jerry
Washington Employment Web

anile8
01-01-2003, 12:06 AM
That heavy regex you guys are using for Apache will kill any webserver that's remotely popular.

qball0213
01-01-2003, 03:55 AM
What about showing one of those invue ads instead of a pop under when you detect a user using a popup blocker?

OC
01-01-2003, 11:01 AM
BIG WARNING.

I just noticed the post that started this thread disallowed "Slurp" ... that's Inktomi's spider's name.

Do not block Inktomi... they give results to at least MSN, Looksmart, HotBot and iWon. ;)



Edit:
http://www.inktomi.com/slurp.html

You might want to thoroughly Google the rest of the bot names before banning them

PinkyandtheBrain
01-02-2003, 10:57 AM
Does anyone know if the pop-up blockers block layer ads like the type used by www.toplayerads.com? Thanks

SGA
01-14-2003, 06:09 PM
Originally posted by mcsebraindumps
Here's a nice little php command for those of you wanting to use it:
<?php $user_agents = array('Flashget', 'Offline', 'Teleport', 'Downloader', 'reaper', 'WebZIP', 'Website Quester',
'MSIECrawler', 'FAST-WebCrawler', 'Gulliver', 'WebCapture', 'HTTrack', 'Fetch API Request', 'NetAnts', 'SuperBot',
'WebCopier', 'Web********'); foreach ($user_agents as $usr_agt) if (preg_match("/$usr_agt/i", $HTTP_USER_AGENT)) die("Sorry,
these bots destroy our bandwidth and webserver, please refrain from using them on our site"); ?>


mcsebraindumps or anybody
Does this php script block people with Ad blockers installed from reading your pages?

Do I need to put this in the header or just below the body tag?

I would prefer to use a simple script like this added to my individual pages instead of needing to install something on my webserver.

keavin
01-21-2003, 02:11 PM
I've noticed a pretty drastic decline in popups being shown lately. So it does appear that more people are adapting blockers. One option that might be worth looking into is using a javascript that actually launches the main content of your site in a popup window. Shouldn't be too hard to write.

Has anyone tried this yet? If so how well has it worked for you. This might be a viable option that doesn't have a high server overhead. I know if I used regex the server would be overloaded in no time due to traffic levels.

But in the end we might be fighting a losing battle and have to start looking for options to popups.

JFS
01-21-2003, 10:18 PM
hmmm i read this thread about 4 times now...and i reached to some conclusions:

1) yes if the visitor doesn't want to view the ads (popups or not, don't forget that opera can cancel the pics downloading...another kind of ad blocking) we should be able to stop them from entering our site, all my corrent income is from popuptraffic, i had about 400 pop's a day with about 800 uniques, now i have 200 pop's and about 1200 uniques, my income is falling, fortunally i already receive enought money to build another site :D

2) it's almost impossivel to block all the ad-blokers without afecting the speed of our site , due the time that scripts take to check the browser and so on.

Personally i use a php script to protect my pages from those mass downloaders, it's a scriple script but so far have show very good results, cause i use frames:

<?



/* Anti-leech bandwidth protecter by Corey Milner, http://www.odey.com.

Turn the refererring URL into a variable */

$from = getenv("HTTP_REFERER");



/* Check to see if the URL in the variable is a valid referrer. Add the page URL which you would like people to arrive from here. */

if ($from != "http://referral.menu.htm")



/* If the URL is valid, page loads now */



/* If URL is invalid the following error message and proper link appears, enter your custom error message and a hyperlink to the valid URL you entered above here*/

{print(" Sorry you have tried to link to a page which does not accept visitors directly. <br>

<a href=http://your.url.com>CLICK HERE</a> to visit us!");



/* Prevent the rest of the page from loading */

exit;**



?>


as u can see the script is way simple.
i tried with many offline browsers and the page wheren't saved :D
used this instead of using htacess to block the offline browsers and downloaders, it's faster and more reliable.

hope this helps anyone.

wsz
02-14-2003, 10:02 PM
My 2 cents...

There might be situations where blocking could be counter-productive.

One of my sites has a fairly active forum (50+ posts/day.) Those people might never click on an ad, but they contribute lots and lots of content, which gets onto search engines, which draws more visitors (who might click the ads, or contribute more content.)

Much of my income is from CPA/affiliate text links. So totally diverting/blocking someone with a graphic-size-based blocker could also prevent them from reaching and clicking "informative" text link ads. (Although text-link blockers definately present a danger - if they got too popular, I would implement a click-redirect script.)


SpamBots/Harvesters should, of course, go right to the bit-bucket. Some spammers are not smart enough to cover it - I recall once getting hammered all day by something clearly identified as, "EmailSiphon."

So my concern is, let the banner-blockers come, but shut out the spambots. Just my opinion.

If anybody has (or can refer me to) a spambot list, I will be happy to confirm the listings and then repost/link-to it on my anti-spam site - http://www.MinistryOfPrivacy.com/

dwergs
02-16-2003, 06:57 AM
Here's an idea:

- Add a pop-up [eg. as default] that shows exclusive (inside) information -or- a link to a secret part of your site -or- something else your visitors would be interested in.

- Tell them about it on the homepage and try to motivate to "look for the secret pop-up".

Hopefully, this will increase exposure to your advertisers (no 1 milisecond window-closing) and decrease the use of blockers, all depending on the type of visitors you get.

SGA
02-16-2003, 09:47 AM
JFS,

Where do you add this? between the head tags? Just after the body?

JFS
02-16-2003, 01:22 PM
well u can add that anywhere, and it will just load untill the script after it isn't loaded, i use that after the <body> for eg.

<html>



<head>

<meta http-equiv="Content-Language" content="pt">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<title>Games Section</title>

<style type=text/css>

<!--HTML

{scrollbar-DarkShadow-Color:#000000;

scrollbar-Track-Color:#000000;

scrollbar-Face-Color:#000000;

scrollbar-Shadow-Color:#ffffff;

scrollbar-Highlight-Color:#ffffff;

scrollbar-3dLight-Color:#000000;

scrollbar-Arrow-Color:#ffffff **

-->

A:link {color: #ffffff; text-decoration: none;**

A:Visited { color : #ffffff; text-decoration: none; **

A:Active { color : #ffffff; text-decoration: none; **

</style>



<base target="_blank">



</head>



<body oncontextmenu="return false" bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" background="backgroundweb.jpg" bgproperties=fixed>

<SCRIPT LANGUAGE="JavaScript" src="http://www.popuptraffic.com popup code "></script>

<?



/* Anti-leech bandwidth protecter by Corey Milner, http://www.odey.com.

Turn the refererring URL into a variable */

$from = getenv("HTTP_REFERER");



/* Check to see if the URL in the variable is a valid referrer. Add the page URL which you would like people to arrive from here. */

if ($from != "http://www.fateless.f2s.com/main_menu.htm")



/* If the URL is valid, page loads now */



/* If URL is invalid the following error message and proper link appears, enter your custom error message and a hyperlink to the valid URL you entered above here*/

{print(" Sorry you have tried to link to a page which does not accept visitors directly. <br>

<a href=http://www.warez2live.f2s.com>CLICK HERE</a> to visit us!");



/* Prevent the rest of the page from loading */

exit;**



?>

just don't forget to rename the extension to *.php

1lit
03-02-2003, 01:56 PM
Originally posted by mcsebraindumps
Here's a nice little php command for those of you wanting to use it:
<?php $user_agents = array('Flashget', 'Offline', 'Teleport', 'Downloader', 'reaper', 'WebZIP', 'Website Quester',
'MSIECrawler', 'FAST-WebCrawler', 'Gulliver', 'WebCapture', 'HTTrack', 'Fetch API Request', 'NetAnts', 'SuperBot',
'WebCopier', 'Web********'); foreach ($user_agents as $usr_agt) if (preg_match("/$usr_agt/i", $HTTP_USER_AGENT)) die("Sorry,
these bots destroy our bandwidth and webserver, please refrain from using them on our site"); ?>


You said that is works about 75% of the time. I'm not an expert with these things, but what exactly does it block please?

Is there any script that is more effective?

Thinking of adding it to all our pages, but just want to make sure what it does before we start...

Thank you :)

SGA
03-29-2003, 10:10 AM
Bump. Ralph will botbuster block popup-blockers also?

hammer
04-27-2003, 06:30 PM
Add another blocker to the growing list..
ALEXA has added a free pop-up blocker to their toolbar, which will probably mean a whole lot more less pop revenue.

jiminsd
06-01-2003, 08:53 PM
I just got through looking at my Fastclick stats and noticed that income from pop-unders is now dropping a little each month (about 10%) since January. The other two campaigns (468x60 & SkyScraper) that I run from them have grown during this time making up for the loss.

Wow... this is happening faster than I thought it would. I wonder what the ad companies like Fastclick are going to come up with to counter this? I'm sure this must have a major impact on their bottom line.

My problem is that I actually make most of my income from text links that I run so it would be foolish to block out the visitors that stop my pop-under ads.

I don't run the InVue ads but that may be my only alternative.

Owen
06-26-2003, 11:48 PM
Originally posted by dwergs
Here's an idea:
- Add a pop-up [eg. as default] that shows exclusive (inside) information -or- a link to a secret part of your site -or- something else your visitors would be interested in.


Have the popup set a variable on the main page (using parent.document.whatever inside the popup). If it's not set when a link is clicked on, go to a "turn off the blocker please" page. I think it would work nearly perfectly if you run your own popups.

One possible future problem, of course. If many sites start doing this, then popup blockers will actually download and execute the code but not show the popup. This is 10 times worse than not showing at all because it totally screws up the stats--now you have no idea how many people have viewed your ad. Actually, this may be the way all popup blockers may go so watch out.

Owen

ebrake
07-01-2003, 03:39 PM
I know some popup blockers prevent automatically spawning windows but allow user-driven clickthroughs on links and forms to open a new window.
Maybe we could find ways to fool these popup blockers.

Catalyst
07-18-2003, 12:06 PM
WARNING,

A lot of these blockers won't let ANYthing load in a new window, even if the surfer clicks a link. It's killing a lot of affiliate commissions IMHO.

photocartoonist
07-22-2003, 10:15 PM
A lot of these blockers won't let ANYthing load in a new window, even if the surfer clicks a link.

Is that even legal?

I guess the cure will prove to be even worse that the dis-ease.

Kat