![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||
Add Google Chrome to the is_browser() function
![]() Developer Last Online: Jul 2012 ![]() ![]() ![]() This modification is in the archives.
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:
add above:
2. Find:
Add below:
3. Find:
Change to:
Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
|||
|
|||
I think this will eventually be put into an official release, (hopes), but until then thank you for the tweak
![]()
__________________
My community; http://wetalknation.net No members have liked this post.
|
#3
|
||||
|
||||
Thanks.. my site looked wierd.. things at the top were listed at the buttom
![]() No members have liked this post.
|
#4
|
|||
|
|||
Tagged for later. Thank you!
No members have liked this post.
|
#5
|
|||
|
|||
How to block chrome-browser users completly from accessing the site?
No members have liked this post.
|
#6
|
||||
|
||||
works nice .... thanks
__________________
مسلمـ من أمة محمد ... No members have liked this post.
|
#7
|
||||
|
||||
You could create a plugin with the code:
and play a bit with the hooks (2 possible candidates are global_start and global_complete) as I can't think of the right one atm. 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 No members have liked this post.
|
#8
|
|||
|
|||
just what the doctor ordered thx
i love the new browser... No members have liked this post.
|
#9
|
||||
|
||||
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 148.000 downloads!): ibProArcade 2.7.6+ download here | Click here to enter the ibProArcade-Support-Section Don't miss the new Google Analytics Integration (GDPR/DSGVO) for vB4.x ![]() No members have liked this post.
|
#10
|
|||
|
|||
thx man installed.
![]() No members have liked this post.
|
#11
|
||||
|
||||
Thanks!
Was allready searching for this ![]()
__________________
Resistance is futile...... [email protected] - BlackBiker Namefield was a bit too short :laugh: No members have liked this post.
|
#12
|
|||
|
|||
top mod
__________________
![]() No members have liked this post.
|
#13
|
||||
|
||||
Installed: But have not noticed any difference with Opacity ( perhaps Chrome just doesnt linke Reflections )
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#14
|
|||
|
|||
Originally Posted by TimberFloorAu
What do you mean?![]()
This mod just lets you detect Chrome, its not a fix for any particular issue with it, but rather something you'll definately need when making such a fix. No members have liked this post.
|
#15
|
||||
|
||||
Originally Posted by Michelle
Your Initial Post:![]()
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:10.