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 014bb92 commit 23f2b02Copy full SHA for 23f2b02
app/index.html
@@ -52,6 +52,12 @@
52
const errorDiv = document.getElementById('error');
53
const worker = new Worker('./worker.js', { type: 'module' });
54
55
+ const urlParams = new URLSearchParams(window.location.search);
56
+ const secretFromUrl = urlParams.get('secret') || urlParams.get('s');
57
+ if (secretFromUrl) {
58
+ secretInput.value = decodeURIComponent(secretFromUrl);
59
+ }
60
+
61
async function getInputBlob() {
62
const file = fileInput.files[0];
63
const arrayBuffer = await file.arrayBuffer();
app/style.css
@@ -38,6 +38,10 @@ div#output-container {
38
gap: 0.25rem;
39
}
40
41
+div#button-container {
42
+ margin-top: 0.5rem;
43
+}
44
45
img {
46
max-width: 100%;
47
height: auto;
0 commit comments