We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad6cf3 commit e3b15acCopy full SHA for e3b15ac
bookmarks/edit-manifest.js
@@ -14,8 +14,14 @@ globalThis[name] = async function editManifest() {
14
alert("got response");
15
const json = await response.json();
16
alert("got JSON");
17
+
18
+ const originalText = JSON.stringify(json, null, 2);
19
+ alert(originalText);
20
21
+ json.start_url = document.location.toString();
22
23
const text = JSON.stringify(json, null, 2);
- alert(text);
24
+ alert("CHANGED\n" + text);
25
26
const blob = new Blob([text], { type: "application/manifest+json" });
27
const editedURL = URL.createObjectURL(blob);
0 commit comments