From 7c8c97f92ca4e4d58e2b1b875badd23fa84816db Mon Sep 17 00:00:00 2001 From: Abdullah Alfaraj Date: Fri, 17 Feb 2023 12:29:59 +0300 Subject: [PATCH] add a webview for online poser --- index.html | 10 ++++++++++ manifest.json | 22 +++++++++++++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 9d27bab..5b5b444 100644 --- a/index.html +++ b/index.html @@ -519,6 +519,15 @@ + + + +
@@ -646,6 +655,7 @@ src="https://source.unsplash.com/random" />
+
diff --git a/manifest.json b/manifest.json index af20e70..5e37960 100644 --- a/manifest.json +++ b/manifest.json @@ -11,12 +11,28 @@ "main": "index.html", "manifestVersion": 5, "requiredPermissions": { + "webview": { + "allow": "yes", + "domains": [ + "https://*.adobe.com", + "https://*.google.com", + "https://webapp.magicposer.com/" + ] + }, "network": { "domains": "all" }, "launchProcess": { - "schemes": ["http", "https", "mailto"], - "extensions": [".png", ".jpg", ".pdf"] + "schemes": [ + "http", + "https", + "mailto" + ], + "extensions": [ + ".png", + ".jpg", + ".pdf" + ] }, "clipboard": "readAndWrite", "localFileSystem": "request", @@ -129,4 +145,4 @@ ] } ] -} +} \ No newline at end of file