Skip to content

Add copy-title bookmarklet (title only, no URL) - #143

Merged
ampcpmgp merged 2 commits into
mainfrom
copilot/add-copy-title-bookmarklet
Mar 28, 2026
Merged

Add copy-title bookmarklet (title only, no URL)#143
ampcpmgp merged 2 commits into
mainfrom
copilot/add-copy-title-bookmarklet

Conversation

Copilot AI commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Adds a companion bookmarklet to copy-markdown-link.js that copies only the page title to the clipboard — no URL, no Markdown formatting.

Changes

  • bookmarklets/copy-title.js: New bookmarklet mirroring the structure of copy-markdown-link.js, using document.querySelector("title") and navigator.clipboard.writeText(title) with pathname fallback when title is absent

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>
@ampcpmgp
ampcpmgp marked this pull request as ready for review March 28, 2026 12:31
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Build Successful!

🔗 即座に動作確認

以下のリンクから、ダウンロード不要でブックマークレットを確認できます:

👉 PR Preview を開く

このページでブックマークレットをブックマークバーにドラッグ&ドロップして、すぐに動作確認できます。

@ampcpmgp
ampcpmgp merged commit 19be69e into main Mar 28, 2026
@ampcpmgp
ampcpmgp deleted the copilot/add-copy-title-bookmarklet branch March 28, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants