It is a browser extension in WebExtension format.
You can install it from the following site.
CopyTabTitleUrl β Add-ons for Firefox
https://addons.mozilla.org/firefox/addon/copytabtitleurl/
CopyTabTitleUrl - Chrome Web Store
https://chrome.google.com/webstore/detail/copytabtitleurl/lmgbdjfoaihhgdphombpgjpaohjfeapp
You can customize the extension from setting options.
You can perform actions the following.
- Copy the title and URL
- Copy the title
- Copy the URL
- Copy the format (Example: Markdown, Hyperlink, etc)
You can perform actions on the following tabs.
- Current tab
- Multiple selected tabs
- Current window tabs
- All tabs
You can perform actions from the following operations.
- Context menu (all, page, selection, link, image, browser action, tab)
- Browser action (popup, click)
- Keyboard shortcuts
You can perform actions in combination with the following auxiliary functions.
- Decode the URL
- Decode the punycode
- Copy in HTML format
format | description | version |
---|---|---|
${title} | Page title | v0.0.7 |
${url} | Page URL | v0.0.7 |
${enter} | Newline characters (Windows:\r\n, Mac/Linux:\n) | v0.0.9 |
|
$ | v1.5.4 |
β»Non-standard features will not work unless "Extended mode" is enabled.
format | description | version |
---|---|---|
${title} | Page title | v0.0.7 |
${url} | Page URL | v0.0.7 |
${markdown} | ${title} markdown escapes | v2.1.0 π§ͺ |
${text} | Selected text or page title (β»1) | v1.5.2 |
${linkText} | Link text or page title (β»2) | v2.1.0 (Firefox only) |
${linkUrl}, ${link} | Link URL or page URL (β»2) | v2.1.0 |
${src} | "src" URL or page URL (β»3) | v2.1.0 |
${linkSelectionTitle} | Link text or selected text or page title (β»1,2,3) | v2.2.0 π§ͺ |
${selectionLinkTitle} | Selected text or link text or page title (β»1,2,3) | v2.2.0 π§ͺ |
${linkSrcUrl} | Link URL or "src" URL or page URL (β»1,2,3) | v2.2.0 π§ͺ |
${srcLinkUrl} | "src" URL or link URL or page URL (β»1,2,3) | v2.2.0 π§ͺ |
${index} | Serial number from 0 per window | v1.5.2 |
|
Tab ID | v2.1.0 π§ͺ, v1.5.2 |
${windowId} | Tab host window ID | v2.1.0 π§ͺ |
${favIconUrl} | Favicon URL (β»4) | v1.6.0 π§ͺ |
β»1: Used in the selection context menus.
β»2: Used in the link context menu.
β»3: Used in the image context menu.
β»4: If it does not exist, output undefined
.
format | description | version |
---|---|---|
${enter} | Newline characters (Windows:\r\n, Mac/Linux:\n) | v0.0.9 |
${CR}, ${r} | Carriage Return (\r) | v1.1.1, v1.5.2 |
${LF}, ${n} | Line Feed (\n) | v1.1.1, v1.5.2 |
${tab}, ${t} | Horizontal Tab (\t) | v0.0.9, v1.5.2 |
|
$ | v1.5.4 |
${xXX} | Specify the character code in hexadecimal of "XX". | --- π§ͺ |
format | description | version |
---|---|---|
${yyyy}, ${yy} | year | v1.5.4 |
${MM}, ${M} | month | v1.5.4 |
${dd}, ${d} | day | v1.5.4 |
${HH}, ${H} | hours (24 hours) | v1.5.4 |
${hh}, ${h} | hours (12 hours) | v1.5.4 |
${mm}, ${m} | minutes | v1.5.4 |
${ss}, ${s} | seconds | v1.5.4 |
${SSS}, ${S} | milliseconds | v1.5.4 |
β»${yyyy}-${MM}-${dd}T${HH}:${mm}:${ss}.${SSS}
γ2020-04-03T00:48:23.456
format | description | version |
---|---|---|
${protocol} | protocol: | v1.5.6 |
${host} | hostname(:port) | v1.5.6 |
${hostname} | hostname | v1.5.6 |
${port} | (port) | v1.5.6 |
${:port} | (:port) | v1.5.6 |
${pathname} | /pathname | v1.5.6 |
${search} | (?param) | v1.5.6 |
${hash} | (#hash) | v1.5.6 |
${origin} | URL origin | v1.5.6 |
${href} | URL | v1.5.6 |
β»If (data)
does not exist, it is treated as an empty string.
β»${protocol}//${hostname}${:port}${pathname}${search}${hash}
γhttps://example.com:80/path/file?param1=data1¶m2=data2#hash
β»window.URL - Web API | MDN