View Full Version : Stopping Chrome?
HWF
June 16th, 2009, 14:05
Is there anyway to stop chrome users from viewing certain sites?
Is there a code or anything?
EggHeadHosting
June 16th, 2009, 17:42
Yes,
with javascript, you can get a script that capt user browser and if it's chrome he tell him to donwload something else and came back.
He would maybe block them because his website is not CSS2.0 and W3C validated and not showing up good on Chrome !
Dynash
June 16th, 2009, 18:38
Yes, use JavaScript.
http://www.w3schools.com/js/js_browser.asp or http://www.javascripter.net/faq/browsern.htm . The 2nd one is more advanced. But it can be disabled.
There is a class on PHPClasses that lets you do it through PHP http://www.phpclasses.org/browse/file/11551.html I haven't test it, but from code examples it looks like it works.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.