Insane in the Membrane
05-24-2007, 10:47 PM
Hi there,
I was following what this guy did at http://www.captain.at/howto-ajax-permission-denied-xmlhttprequest.php to get around the AJAX security restriction imposed by default by Opera and Firefox.
It works on a normal Firefox or Opera browser, but not on the default browser on my N770 (version 3.2006.49-2)
In the code, I would do :
try {
netscape.security.PrivilegeManager.enablePrivilege ("UniversalBrowserRead");
} catch (e) {
alert("Permission UniversalBrowserRead denied.");
}
When I try running that code on my N770, I get the "Permission UniversalBrowserRead denied" message
All I need to for my AJAX app is to be able to connect to a server running locally on the machine. I have tested the same server code(written in Python) and AJAX app on a desktop and it runs perfectly fine.
Anyone has gotten AJAX working for a local app on the N770?
I have tried to install the Minimo but ran into that x11-common dependency problem and I posted what I have done so far to try that resolve that here : http://www.internettablettalk.com/forums/showthread.php?t=6478
Please help, thanks
I was following what this guy did at http://www.captain.at/howto-ajax-permission-denied-xmlhttprequest.php to get around the AJAX security restriction imposed by default by Opera and Firefox.
It works on a normal Firefox or Opera browser, but not on the default browser on my N770 (version 3.2006.49-2)
In the code, I would do :
try {
netscape.security.PrivilegeManager.enablePrivilege ("UniversalBrowserRead");
} catch (e) {
alert("Permission UniversalBrowserRead denied.");
}
When I try running that code on my N770, I get the "Permission UniversalBrowserRead denied" message
All I need to for my AJAX app is to be able to connect to a server running locally on the machine. I have tested the same server code(written in Python) and AJAX app on a desktop and it runs perfectly fine.
Anyone has gotten AJAX working for a local app on the N770?
I have tried to install the Minimo but ran into that x11-common dependency problem and I posted what I have done so far to try that resolve that here : http://www.internettablettalk.com/forums/showthread.php?t=6478
Please help, thanks