Forums
Toggle Search
Club CrackBerry
BlackBerry Forums
Club CrackBerry
BlackBerry Forums
Other Categories
Answer / Ask a Question
Reviews
Deals
Contests
Newsletter
Help & How To
News & Rumors
Log in
or
Sign up
t
f
p
i
r
Brightness
Light Mode
Dark Mode
© Cage Michaels, Inc.
Terms & Conditions
Privacy Policy
CREATE
YOUR
ACCOUNT
ASK A QUESTION
TRENDING:
App "Weather" stopped working correctly on BB Pasport 29 jan 2023
414
Android apps will no longer open
217
9320 mic very quiet
140
Weird battery icon
16
Forum
Popular at CrackBerry
General BlackBerry News, Discussion & Rumors
blackberry userAgent detection code
10-09-09 09:43 AM
tools
Advanced Search
Show Printable Version
3
https://forums.crackberry.com/showthread.php?t=332767&s=df20d56da6511103e2301a5f90dae39e&p=3774379&viewfull=1#post3774379
pissoffyoubugga
Here is the userAgent detection code for the blackberry:
if((navigator.userAgent.match(/blackberry.*/)))
{
location.replace("insertmobilesiteaddresshere");
}
10-08-09 05:08 PM
Like
0
3
https://forums.crackberry.com/showthread.php?t=332767&s=df20d56da6511103e2301a5f90dae39e&p=3774394&viewfull=1#post3774394
pissoffyoubugga
Iphone/Ipod as well:
(navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))
10-08-09 05:09 PM
Like
0
3
https://forums.crackberry.com/showthread.php?t=332767&s=df20d56da6511103e2301a5f90dae39e&p=3774407&viewfull=1#post3774407
pissoffyoubugga
But does anyone have the palm, google phone..? or better yet one single code for all phones that can't read flash?
10-08-09 05:10 PM
Like
0
40
https://forums.crackberry.com/showthread.php?t=332767&s=df20d56da6511103e2301a5f90dae39e&p=3774465&viewfull=1#post3774465
JSClark
What does this code do?
Where do you put this?
Posted from my CrackBerry at wapforums.crackberry.com
10-08-09 05:18 PM
Like
0
294
https://forums.crackberry.com/showthread.php?t=332767&s=df20d56da6511103e2301a5f90dae39e&p=3779534&viewfull=1#post3779534
t_d_harvey31
Can we get a little more explanation as to what this does?
10-09-09 09:43 AM
Like
0
Forum
Popular at CrackBerry
General BlackBerry News, Discussion & Rumors
blackberry userAgent detection code
«
Missing unread indicator icon ind in theme.
|
iphone texting theme?
»
LINK TO POST COPIED TO CLIPBOARD