rename to qr-clip

This commit is contained in:
2026-06-09 22:06:58 -04:00
parent a9e07c51c7
commit 5a563a32d3
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
"name": "QR Clipboard",
"name": "QR Clip",
"version": "1.0.0",
"description": "Screenshot the visible tab, decode any QR codes, and copy the result to the clipboard.",
@@ -17,7 +17,7 @@
"browser_specific_settings": {
"gecko": {
"id": "qr-clipboard@timothykim",
"id": "qr-clip@timothykim",
"strict_min_version": "115.0"
}
}
+1 -1
View File
@@ -71,7 +71,7 @@
</head>
<body>
<header>
<h1>QR Clipboard</h1>
<h1>QR Clip</h1>
<button id="scan">Scan</button>
<button id="clear">Clear All</button>
</header>
+3 -3
View File
@@ -1,4 +1,4 @@
// QR Clipboard
// QR Clip
//
// The popup shows a persistent log of every QR code ever decoded.
// Clicking "Scan visible tab" captures the viewport, decodes all QR codes,
@@ -187,12 +187,12 @@ async function scan() {
const codes = decodeAll(imageData);
if (codes.length === 0) {
console.log("[QR Clipboard] No QR codes found.");
console.log("[QR Clip] No QR codes found.");
setStatus("No QR codes found in the visible area.", "muted");
return;
}
console.log(`[QR Clipboard] Decoded ${codes.length} code(s):`, codes);
console.log(`[QR Clip] Decoded ${codes.length} code(s):`, codes);
const now = new Date().toISOString();
const url = tab ? tab.url : "";