Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox 88.0 popup exception list configuration file

  • 1 отговор
  • 1 има този проблем
  • 7 изгледи
  • Последен отговор от Janis.Abolins

more options

Hello,

Is there a way to create popup exception list configuration file, that allows popups for certain webpages? I want to deploy such a file to our organizations 800 PCs.... I tried to create autoconfig.js file and put it in C:\Program Files (x86)\Mozilla Firefox\defaults\pref location : //Popup Settings Components.utils.import("resource://gre/modules/Services.jsm"); Components.utils.import("resource://gre/modules/NetUtil.jsm"); Services.perms.add(NetUtil.newURI("https://websitehere.com"), "popup", Services.perms.ALLOW_ACTION);

I tried with such a configuration: //Popup Settings Components.utils.import("resource://gre/modules/Services.jsm"); var uri = Services.io.newURI("https://websitehere.com", null, null); Services.perms.add(uri, "popup", 1);

But nothing works... Is there a way to do this?

Hello, Is there a way to create popup exception list configuration file, that allows popups for certain webpages? I want to deploy such a file to our organizations 800 PCs.... I tried to create autoconfig.js file and put it in C:\Program Files (x86)\Mozilla Firefox\defaults\pref location : //Popup Settings Components.utils.import("resource://gre/modules/Services.jsm"); Components.utils.import("resource://gre/modules/NetUtil.jsm"); Services.perms.add(NetUtil.newURI("https://websitehere.com"), "popup", Services.perms.ALLOW_ACTION); I tried with such a configuration: //Popup Settings Components.utils.import("resource://gre/modules/Services.jsm"); var uri = Services.io.newURI("https://websitehere.com", null, null); Services.perms.add(uri, "popup", 1); But nothing works... Is there a way to do this?

Всички отговори (1)

more options

So it looks like there is no help....