Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

Is it possible to ask for users permission to execute codes such as "Components.utils.forceGC()" through "<script>" tag?

  • 1 cavab
  • 1 has this problem
  • 9 views
  • Last reply by cor-el

more options

In case it's not possible, can users manually give a specific "Tab" the permission to execute such codes?

In case it's not possible, can users manually give a specific "Tab" the permission to execute such codes?

All Replies (1)

more options

No, that is not possible. You can only run such privileged JavaScript via the Browser Console.