Forum Moderators: martinibuster

Message Too Old, No Replies

Safe notebooks for family members

How to make AdSense safe family notebooks

         

jetteroheller

8:15 am on Sep 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



3 notebooks are connected to one WLAN router.

The ISP assigns dynamic IP addresses.
All have the same IP, but I have some times to see what ads appear.

Cookies are not reliable enough, also I would have to set them for all my domains.

So my solution was the post platform string of the user agent. I added after the "Alexa Toolbar" the birth date.

My SSI checks now for

if ( index ( $ENV { 'REQUEST_URI'},'.htm?as=no') > 0) { noad ( "REQUEST_URI with .htm?as=no") }
if ( index ( $ENV { 'HTTP_REFERER'},'.htm?as=no') > 0) { noad ( "HTTP_REFERER with .htm?as=no") }
if ( index ( $ENV { 'HTTP_USER_AGENT' },'Alexa Toolbar YYYYMMDD') > 0) { noad ( "my wife YYYYMMDD visits") }
if ( index ( $ENV { 'HTTP_USER_AGENT' },'Alexa Toolbar YYYYMMDD') > 0) { noad ( "my older doughter YYYYMMDD visits") }

YYYYMMDD stands for year month date

bloke in a box

8:21 am on Sep 16, 2005 (gmt 0)

10+ Year Member



Excellent post, I've been meaning to do similar with my LAN at home.

Thanks!

jetteroheller

9:00 am on Sep 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



BTW

the sub "noad"
inserts an Amazon code instead of the AdSense code.

Otherwise, the page would look strange with the big empty spaces.

the sub "noad" sends me an email

The?as=no method is to have a save method to show web design clients my own page.

Imagine I create a web site about
"expensive industry widgets" for a client.

I show them their site and I mention, that I have also a web site about "expensive industry widgets"
They want to see them!
And when they see them, they see all their competitors
in the AdSense ads...
So I enter my-domain.com/expensive-industry-widgets/index.htm?as=no

And only Amazon ads appear.

MyGen

10:43 am on Sep 16, 2005 (gmt 0)

10+ Year Member



Wouldn't it be easier to edit the HOSTS files on the notebooks you don't want seeing google ads?

ddogg

5:33 pm on Sep 16, 2005 (gmt 0)

10+ Year Member



If they are using IE, just go into the restricted sites settings and block [pagead2.googlesyndication.com...] That way all the ads will show up like normal but you won't be able to click on them.

incrediBILL

5:43 pm on Sep 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Interesting, my entire family, in-laws and all know about the ads and know not to click them.

Some have even started putting up AdSense sites of their own ;)

Trust vs. technology, what a concept.