This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Allowed Popups: enter a list of allowed sites?

  • 1 èsì
  • 0 ní àwọn ìṣòro yìí
  • Èsì tí ó kẹ́hìn lọ́wọ́ cor-el

more options

I save a list of >20 sites on which I allow popups. What is the most efficient way to enter those sites?

==> I would like to avoid entering each one individually.

TYVM.

I save a list of >20 sites on which I allow popups. What is the most efficient way to enter those sites? ==> I would like to avoid entering each one individually. TYVM.

All Replies (1)

more options

You can possibly do this via the Browser Console (not the Web Console).

You can enable the command-line in the Console via the Settings page of the Web Developer Tools.


You can add the origins to the ORIGINS array.

var ORIGINS = ["https://example.com"];
var i, origin;
for (i=0; origin=ORIGINS[i]; i++){
 Services.perms.addFromPrincipal(
  Services.scriptSecurityManager.createContentPrincipalFromOrigin(origin),
  "popup", SitePermissions.ALLOW
 );
}

Helpful?

Béèrè ìbéèrè

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.