01-07-2010 11:44 AM
Hi all,
I have 2 questions:
1) I'm working on a location javascript. How can I enable BlackBerry Browser's JavaScript by program?
2) I don't want that this message appear: "A javascript has requested the physical location of your device. do you whish to provide it to the script?" . How can set it automatically to ok?
thx
Luca
Solved! Go to Solution.
01-11-2010 08:04 PM
Hi Tangen,
You cannot programmatically override the user's selection of the "Enable JavaScript Location Support" feature found within General Properties of Browser Options.
The reason for these security settings is to protect the users online privacy. Otherwise a website would be able to monitor an individual's physical location without their consent using the BlackBerry browser.
The prompt you have described should be displayed only once per domain, confirming the users selection. This behaviour cannot be overridden.
Best regards,
Adam
10-02-2010 01:14 AM
Hi Adam,
This post has been quite a while ago. I'm wondering if this means that users have to always manually enable the 'Javascript' option on the BB browser. I'm developing a web app tailored for Blackberry browser that requires geolocation. It's just that it seems quite troublesome for users to enable the 'Javascript' option everytime they open our web.
Thanks.
10-02-2010 11:49 AM - edited 10-02-2010 11:49 AM
It depends on the OS version. In OS 5.0 and BlackBerry 6 JavaScript is turned on by default.
10-04-2010 01:32 AM
My experience has been that the script will ask every single time, same domain, latest OS v.5.0.0.602
05-30-2011 06:43 AM
05-30-2011 07:37 AM
01-27-2012 02:38 AM
09-26-2012 11:33 AM