Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

JomGenius Browsertype silk

JomGenius Browsertype silk

Can JomGenius detect browsertype silk? I have the following:

if ($core_genius->check("browser_type = omniweb, ipod, iphone, ipad,android, googlebot,mediapartners, yahoo slurp, msnbot, teoma, silk ")) return 393;
else return 432;

But it doesn't seem to detect silk.(Kindle Fire)

cindymoore
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: JomGenius Browsertype silk

Hi Cindy,

no, there is no current detection for the silk browser (Kindle Fire in Silk mode). However it should be easy enough to detect like this:

if ($core_genius->check("browser_type = omniweb, ipod, iphone, ipad,android, googlebot,mediapartners, yahoo slurp, msnbot, teoma ")) return 393;
$agent = $_SERVER['HTTP_USER_AGENT'];
if (stristr($agent,'silk') !== false) return 393;
return 432;

Best regards,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3314 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1691
Total Polls:
6
Total Posts:
5912
Total Posts Today:
6
User Info:
 
Total Users:
11529
Newest User:
jame380003
Members Online:
1
Guests Online:
190

Online: 
jame380003

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked