/copy-selected-tabs-to-clipboard

Provides ability to copy title and URL of selected tabs to the clipboard for Firefox 63 and later.

Primary LanguageJavaScriptOtherNOASSERTION

Copy Selected Tabs to Clipboard

Build Status

Development builds for each commit are available at "Artifacts" of the CI/CD action: https://github.com/piroor/copy-selected-tabs-to-clipboard/actions?query=workflow%3ACI%2FCD

Example copy formats

type format string
Only URL %URL%
Title and URL %TITLE%%EOL%%URL%
HTML Link <a title="%TITLE_HTML%" href="%URL_HTML%">%TITLE_HTML%</a>
HTML Link (Rich Text) %RT%<a title="%TITLE_HTML%" href="%URL_HTML%">%TITLE_HTML%</a>
Markdown Link [%TITLE%](%URL% "%TITLE%")
Markdown Link List %TST_INDENT( )%* [%TITLE%](%URL% "%TITLE%")
URL without query %REPLACE("%URL%", "\?.*$", "")%
URL without query except Google %REPLACE("%URL%", "^(?!\w+://[^/]*\.google\.[^/]*/.*)\?.*$", "$1")
Org Mode Link List *%TST_INDENT(*)% [[%URL%][%TITLE%]]
Firefox container Org Mode [[%CONTAINER_URL%][%CONTAINER_NAME("", ": ")%%TITLE%]]

%CONTAINER_URL% will be filled with a URL for Open external links in a container, if it is non-default container tab.