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

How to access Components.utils from web extension?

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

more options

Hi, Is there any way to access the Components.utils XPCOM from webextension ? I want to call Components.utils.forceGC() programmatically.

Thanks

Hi, Is there any way to access the Components.utils XPCOM from webextension ? I want to call Components.utils.forceGC() programmatically. Thanks

All Replies (1)

more options

That is XUL code and WebExtensions can't use XUL code. Only Legacy extensions could do this, so what you want is impossible.