From c5dfd631ca57a52e7de09e929e2c062a12b11afd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Mar 2026 09:44:57 +0000 Subject: [PATCH 1/2] Add copy-title.js bookmarklet Agent-Logs-Url: https://github.com/ampcpmgp/ampm-bookmarklets/sessions/453a1ebb-f876-4fe7-b317-b3ea745b736d Co-authored-by: ampcpmgp <13173632+ampcpmgp@users.noreply.github.com> --- bookmarklets/copy-title.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bookmarklets/copy-title.js diff --git a/bookmarklets/copy-title.js b/bookmarklets/copy-title.js new file mode 100644 index 0000000..8d1235f --- /dev/null +++ b/bookmarklets/copy-title.js @@ -0,0 +1,17 @@ +// タイトルをコピー +// 現在のページのタイトルをクリップボードにコピー +// 📝 +// v1 +// 2026-03-28 + +(function() { + try { + var titleElement = document.querySelector("title"); + var title = titleElement ? titleElement.textContent.trim() : document.location.pathname; + navigator.clipboard.writeText(title).catch(function() { + alert('Failed to copy to clipboard'); + }); + } catch (error) { + alert('Error: ' + error.message); + } +})(); From e1c091003e4131b9c048abbaf0e9bb35ac0e93c3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 12:32:25 +0000 Subject: [PATCH 2/2] chore: rebuild index.html [skip ci] --- index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index ce5318f..5d44c19 100644 --- a/index.html +++ b/index.html @@ -144,6 +144,13 @@

Markdownリンクをコピー📋 +
+

タイトルをコピーv1 (2026-03-28)

+

現在のページのタイトルをクリップボードにコピー

+ 📝 タイトルをコピー v1 + 📝 +
+

JSON Viewerv29 (2026-03-14)

複雑にネストされたJSONデータをマークダウン形式で綺麗に表示するビューアー

@@ -167,7 +174,7 @@

翻訳補助v1 (2026-0