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?

0


a source to share


2 answers


There is a bug about it, you can vote / comment here.

https://bugzilla.mozilla.org/show_bug.cgi?id=503841



Adam

+1


a source


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.

0


a source







All Articles