![]() |
Add Google Chrome to the is_browser() function
About the is_browser() function
This modification will allow you to insert into templates code specific for Google Chrome (useful for correcting CSS issues that it has with box-shadow and opacity). It obviously needs file edits, as there is no hook in there. Should work for vB versions from 3.7.3 and below, although in very old versions, the code to find might slightly be different. File: includes/functions.php 1. Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
I think this will eventually be put into an official release, (hopes), but until then thank you for the tweak ;) I will try to update my sites soon so chrome users can enjoy it to the fullest.
|
Thanks.. my site looked wierd.. things at the top were listed at the buttom :)
|
Tagged for later. Thank you!
|
How to block chrome-browser users completly from accessing the site?
|
works nice .... thanks
|
Quote:
PHP Code:
However, imho its an extremely bad idea to do such a thing. If you want to shut a browser out of your site, do it to IE6, you would benefit the web more :P |
just what the doctor ordered thx
i love the new browser... |
Quote:
;) |
thx man installed. :)
|
All times are GMT. The time now is 04:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|