Hosting Geared For
your CMSMS needs
Hosting Starting at $15
- • Hosted Mail
- • Personal Control Panel
- • CMSMS 1.8.1 tested
- • Lightly packed servers
- • Intrusion Detection
- • URL monitored
- • Custom solutions available
CP Blogs
Announcement: New plug-in browsertools
Posted by: Jeremy Bass
on Jul 22, 2010
Category:
New Plug-in, SEO, Coding, Basics, Smarty, Presentation, CSS, Browsers - Compatibilities and Inconsistencies, HTML, CMS Made Simple
Plugins Used
browsertools
Summary:
Hello, thou this is not a "new" plug-in
http://dev.cmsmadesimple.org/projects/browsertools
as it's had a few release already. but here is the new version and this is the pre-release...
http://dev.cmsmadesimple.org/projects/browsertools
as it's had a few release already. but here is the new version and this is the pre-release...
Ad Space
Hello, thou this is not a "new" plug-in
http://dev.cmsmadesimple.org/projects/browsertools
as it's had a few release already. but here is the new version and this is the pre-release...
find the pre release here.
So some information on it? Detecting the user’s browser type and version is helpful in web applications that can help harness some of the newer tricks in web development. With the browser type and version you can notify users about challenges they may experience and suggest they upgrade before using such application. What you want is to redirect if they are a mobile device? What you want is to have some browser specific CSS without have to hack your file? This plug-in, browsertools is what you need.
One of the strongest browser detection scripts for cms made simple, you can hook in to almost anything. Use in ScriptDeploy directly in a CSS script get bullet proof scripts.
So to the question "what if the user is masked?" Well I would say this, if the user’s browser and browser version is hidden and if your visitor is echoing a false user agent, then they have the where about’s to use a browser you don’t need browsertools to overcome. They know the risks and they are a .% of your target market. So with that, I say to heck with them :) ..
Try it out.. it'll let you get a very accurate outputs.. unlike the older version you can do very powerful mobi test..
EX:
Code:
{browsertools output="browser"}
{browsertools output="version"}
{browsertools output="full"}
{browsertools output="platform"}
{browsertools output="full" dot_replace='-' strip_space=true}
{browsertools output="full" strip_space=true strip_dot=true}
{browsertools action="isMobile"}
{browsertools output="version"}
{browsertools output="full"}
{browsertools output="platform"}
{browsertools output="full" dot_replace='-' strip_space=true}
{browsertools output="full" strip_space=true strip_dot=true}
{browsertools action="isMobile"}
Firefox
3.6.7
Firefox 3.6.7
Windows
Firefox3-6-7
Firefox367
false
Also you can test with action=test and the param against=foo
Live test
unknownunknown
unknown unknown
unknown
unknownunknown
unknownunknown
false
Please test and let me know.. I'll be releasing the new version here shortly.. Cheers -Jeremy
Ad Space



Get Social With It
[+]Add A Comment
[+]