Searched refs:scriptRules (Results 1 – 3 of 3) sorted by relevance
4917 std::vector<std::string> scriptRules; in ParseScriptItems() local4932 scriptRules.clear(); in ParseScriptItems()4933 if (!JSViewAbstract::ParseJsStrArray(jsScriptRules, scriptRules)) { in ParseScriptItems()4937 scriptItems.insert(std::make_pair(script, scriptRules)); in ParseScriptItems()
1813 将JavaScript脚本注入到Web组件中,当指定页面或者文档开始加载时,该脚本将在其来源与scriptRules匹配的任何页面中执行。1842 { script: this.localStorage, scriptRules: ["*"] }1887 将JavaScript脚本注入到Web组件中,当指定页面或者文档加载完成时,该脚本将在其来源与scriptRules匹配的任何页面中执行。1914 { script: this.jsStr, scriptRules: ["*"] }9103 | scriptRules | Array\<string> | 是 | 一组允许来源的匹配规则。<br>1.如果需要允许所有来源的网址,使用通配符“ * ”。<br>2.如果需要精确匹配,则描…
1813 …ument starts to be loaded, the script is executed on any page whose source matches **scriptRules**.1842 { script: this.localStorage, scriptRules: ["*"] }1887 … document has been loaded, the script is executed on any page whose source matches **scriptRules**.1914 { script: this.jsStr, scriptRules: ["*"] }9099 …scriptRules | Array\<string> | Yes | Matching rules for allowed sources.<br>1. To allow URLs from…