PDA

View Full Version : blocking access from google chrome


JuniorWU
11-29-2010, 03:25 PM
good many of my forum users complain, that does not have a good view in google chrome, the display is distorted way, you can not straighten out, then decided to block the chrome, below is the code I want to use to lock the browser, but it has to be inserted into page after page, wondering if it would have an easier way to block it

if (strstr($_SERVER["HTTP_USER_AGENT"], "Chrome")) {
header("Location: chrome.php");
exit;
}

Lynne
11-29-2010, 04:04 PM
Did you try to just add it as a plugin like the global_start location?

JuniorWU
11-29-2010, 08:04 PM
thanks ^^
did not know about it

BirdOPrey5
12-02-2010, 01:24 PM
Are you going to provide some sort of message to Google Chrome users?

Have you checked Firefox and Opera as well?

JuniorWU
12-06-2010, 02:46 PM
redirects the user to a page where it says you can not access the site, the problem is only in google chrome and internet explorer, the others work perfectly