Skip to content

Commit

Permalink
fix: text fallback using full tab url when no params is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlogius committed Jul 12, 2024
1 parent 05ab0a5 commit 072cd46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function copyTabsAsHtml(tabs) {
} else {
await navigator.clipboard.write([
new ClipboardItem({
"text/plain": new Blob([tabs.map((t) => t.url).join("\n")], {
"text/plain": new Blob([tabs.map((t) => a.href).join("\n")], {
type: "text/plain",
}),
"text/html": new Blob([div.innerHTML], {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
"description": "__MSG_addonDesc__",
"permissions": ["clipboardWrite", "storage", "menus", "tabs"],
"optional_permissions": ["notifications"],
"version": "1.15.43"
"version": "1.15.44"
}

0 comments on commit 072cd46

Please sign in to comment.