Skip to main content
Version: 25.3.0

Page.extensionRealms() 方法

🌐 Page.extensionRealms() method

检索页面主框架中扩展执行域的列表。这些域对应于在页面上运行的扩展内容脚本。

🌐 Retrieves the list of extension execution realms in the main frame of the page. These realms correspond to extension content scripts running on the page.

mainFrame().extensionRealms() 的快捷方式。

🌐 Shortcut for mainFrame().extensionRealms().

语法

🌐 Signature

class Page {
abstract extensionRealms(): Realm[];
}

返回:

境界[]