Installation
Powerpack is required.
- Download copyurl.alfredworkflow.
- Open file by double-clicking or dragging into Alfred.
- Open Alfred and type
url
. - Select URL format.
You can change everything at Alfred Preferences > Workflows menu.
Add your own template
- Open
~/Library/Application Support/Alfred 2/Workflow Data/com.fallroot.copyurl/config.json
file. - Edit contents with valid JSON format.
config.json format
config.json
file should be array of object is consist of format
and type
fields.
format
field should be string of combination ${url}
, ${title}
or JavaScript function string like below.
[
{
"format": "${url}",
"title": "URL"
},
{
"format": "${title}",
"title": "Title"
},
{
"format": "<a href=\"${url}\">${title}</a>",
"title": "Anchor"
},
{
"format": "[${title}](${url})",
"title": "Markdown"
},
{
"format": "function({title,url}){return title.toUpperString() + '\\n' + url}",
"title": "Custom"
}
]
Supported Browsers
⚠️ This workflow was made by using OSA(Open Scripting Architecture). You can't use this workflow in browsers which does not support OSA like Firefox.
Chromium
WebKit
License
Icon
Icons made by DinosoftLabs from www.flaticon.com