FrameAddScriptTagOptions 接口
🌐 FrameAddScriptTagOptions interface
语法
🌐 Signature
export interface FrameAddScriptTagOptions
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description | 默认 🌐 Default |
|---|---|---|---|---|
| content |
| string | 要注入到框架中的 JavaScript。 🌐 JavaScript to be injected into the frame. | |
| id |
| string | 设置脚本的 🌐 Sets the | |
| path |
| string | 要注入到框架中的 JavaScript 文件的路径。 🌐 Path to a JavaScript file to be injected into the frame. 附注 如果 🌐 If | |
| type |
| string | 设置脚本的 🌐 Sets the | |
| url |
| string | 要添加的脚本的 URL。 🌐 URL of the script to be added. |