Hi, I want to know how to block Google Ads in an office where people use different Web Browsers? Any help will be appreciated. Regards WM
hello, can you show us an code snippet for hiding the ads on a particular ip? Have you used it already? Thanks for the help in advance..
the ip will be in php variable $_SERVER['REMOTE_ADDR'] so if your office ip is 234.234.234.234 you could do a simple: <?php $ip=$_SERVER['REMOTE_ADDR']; if ($ip != '234.234.234.234') { ?> YOUR ADSENSE CODE HERE <?php } ?> Code (markup): and no I've never used it because I'm not in an office and I don't click my own ads (and rarely others) and have become expert at spotting them in webpages
USe firefox latest version. go to tools--->options--->content and there unmark the "Enable javascript Tab".. This is as simple like this!!..And as far as various browsers concerned, instead of trying php codings, install firefox in all computers ( more secure,more safe and more fast )