1) Click the extension icon
2) Click the setting icon
3) Specify your shortcuts in JSON
4) Click Save button
5) Reopen the extension
Tabs structure:
[
{
"title": "tab title",
"icon": "mdi icon class",
"contentCallBack": "buildCards",
"contentArgs": {
"default": [
],
"pageSpecific": [
{
"matchPattern": "",
"matchFlag": "",
"cards": [
]
}
]
}
}
]
Card structure:
{
"title": "card title",
"icon": "mdi icon class mdi-48px",
"action": "action name",
"args": [
"action args"
]
}
Aviable actions:
name: redirect
"action": "redirect",
"args": [
string:url to redirect to *
]
* "~" = root url of current page
name: tabOpenThenClose
"action": "redirect",
"args": [
string:url to redirect to *
bool:reload current page on after load
]
* "~" = root url of current page
Working Setting:
[
{
"title": "",
"icon": "mdi-heart",
"contentCallBack": "buildCards",
"contentArgs": {
"default": [
{
"title": "Admin",
"icon": "mdi-upload mdi-48px",
"action": "redirect",
"args": [
"~/wp-admin"
]
},
{
"title": "ClearCache",
"icon": "mdi-refresh mdi-48px",
"action": "tabOpenThenClose",
"args": [
"~/",
false
]
}
],
"pageSpecific": [
{
"matchPattern": ".*",
"matchFlag": "gid",
"cards": [
{
"title": "View",
"icon": "mdi-view-list mdi-48px",
"action": "redirect",
"args": [
"~/"
]
}
]
}
]
}
},
{
"title": "",
"icon": "mdi-download",
"contentCallBack": "buildCards",
"contentArgs": {
"default": [
],
"pageSpecific": [
]
}
}
]
- License: MIT License
- Weekly downloads: 1
- Average daily users: 1
- Rating: 0/5 of 0 ratings
- Created: 2023-07-16 13:18:55
- Last updated: 2023-07-17 06:45:36
- Homepage:
- Support site and email
- Orig: https://addons.mozilla.org/en-US/firefox/addon/dynamic-links/
- API: dynmiclinks@danielsasek.cz