Mozilla サポートの検索

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 件の返信
  • 1 人がこの問題に困っています
  • 9 回表示
  • 最後の返信者: 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?

すべての返信 (1)

more options

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