Giter Club home page Giter Club logo

copytabtitleurl's Introduction

CopyTabTitleUrl

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

Features

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

Standard

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.

Basic

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
${selectedText} Selected text or blank text (β€»1) v2.2.1 πŸ§ͺ
${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) v2.2.0 πŸ§ͺ
${selectionLinkTitle} Selected text or link text or page title (β€»1,2) 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
${tabId}, $(id} 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.

Character code

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". v----- πŸ§ͺ

Date

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
${AA}, ${aa} AM/PM, am/pm v2.2.2 πŸ§ͺ
${AAAA}, ${aaaa} A.M./P.M., a.m./p.m. v2.2.2 πŸ§ͺ
${W} Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday v2.2.2 πŸ§ͺ
${WWW} Sun/Mon/Tue/Wed/Thu/Fri/Sat v2.2.2 πŸ§ͺ

β€»${yyyy}-${MM}-${dd}T${HH}:${mm}:${ss}.${SSS}
γ€€2020-04-03T00:48:23.456

URL

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?key=value&query#fragment
β€»window.URL - Web API | MDN

License

MIT

Author

toshi

copytabtitleurl's People

Contributors

k08045kk avatar m-hayabusa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.