From b4f75fb8ed95e6e09167fbc614426bccc6d187ed Mon Sep 17 00:00:00 2001 From: Folyd Date: Sun, 14 Aug 2022 22:20:17 +0800 Subject: [PATCH] Migrate to Manifest V3 for Edge --- manifest.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.jsonnet b/manifest.jsonnet index 8b4583d8..201c790f 100644 --- a/manifest.jsonnet +++ b/manifest.jsonnet @@ -14,7 +14,7 @@ local description = 'Rust Search Extension - the ultimate search extension for R local browser = std.extVar('browser'); -local json = if browser == 'chrome' then +local json = if std.member(['chrome', 'edge'], browser) then local manifest_v3 = import 'core/manifest_v3.libsonnet'; manifest_v3.new(name, keyword, description, version, service_worker='service-worker.js') .addWebAccessibleResources(