rename to qr-clip
This commit is contained in:
+2
-2
@@ -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
@@ -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>
|
||||
|
||||
@@ -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 : "";
|
||||
|
||||
Reference in New Issue
Block a user