Mozilla Prism: Disable Popup Blocker
I am developing an application using Mozilla Prism. Unfortunately, Prism has a pop-up blocker activated.
I tried to disable it by inserting a line like
user_pref ("privacy.popups.policy", "1");
or
user_pref("dom.disable_open_during_load", false);
in webapp.js, which is located in the Prism app directory. However it didn't work, popups still don't work. Any ideas?
a source to share
There is a bug about it, you can vote / comment here.
https://bugzilla.mozilla.org/show_bug.cgi?id=503841
Adam
a source to share
I added the following lines inside prefs.js located at
For Win XP: / Documents and Settings / [username] / Application data / Prism / [application name] / Profiles / [prism profile name] /
For Vista: / Users / [username] / AppData / Roaming / Prism / [application name] / Profiles / [prism profile name] /
user_pref("dom.disable_open_during_load", false);
user_pref("capability.policy.default.Window.open", "allAccess");
Make sure Prism is closed before making these changes , because it will overwrite prefs.js on close, destroying your changes.
Finally - I can use the Gmail create event button to create events from my Gmail Prism app.
a source to share