feat: ext http request

This commit is contained in:
Vlad Stan
2026-07-08 11:55:03 +03:00
parent f20bd17321
commit 487af32ccb
6 changed files with 247 additions and 0 deletions
+6
View File
@@ -736,6 +736,12 @@ window.PageExtensions = {
const description = this.$t(key)
return description === key ? permission.description : description
},
permissionPolicyDetails(permission) {
if (permission.id !== 'http.request') return ''
const hosts = permission.policy?.hosts
if (!Array.isArray(hosts) || !hosts.length) return ''
return `${this.$t('extension_permission_http_request_hosts')}: ${hosts.join(', ')}`
},
async selectAllUpdatableExtensionss() {
this.updatableExtensions.forEach(e => (e.selectedForUpdate = true))
},