Skip to content

Commit

Permalink
Allow to open options page with anchor via ext+treestyletab shorthand…
Browse files Browse the repository at this point in the history
… URL
  • Loading branch information
piroor committed Nov 3, 2022
1 parent dc8f053 commit 5f0c75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webextensions/common/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export const kDEFAULT_MIN_INDENT = 3;
export const kGROUP_TAB_URI = browser.runtime.getURL('resources/group-tab.html');
export const kGROUP_TAB_DEFAULT_TITLE_MATCHER = new RegExp(`^${browser.i18n.getMessage('groupTab_label', '.+')}$`);
export const kGROUP_TAB_FROM_PINNED_DEFAULT_TITLE_MATCHER = new RegExp(`^${browser.i18n.getMessage('groupTab_fromPinnedTab_label', '.+')}$`);
export const kSHORTHAND_CUSTOM_URI = /^ext\+treestyletab:([^:?]+)(?:[:?](.*))?(#.*)?$/;
export const kSHORTHAND_CUSTOM_URI = /^ext\+treestyletab:([^:?#]+)(?:[:?]([^#]*))?(#.*)?$/;
export const kSHORTHAND_ABOUT_URI = /^about:treestyletab-([^?]+)/;
export const kSHORTHAND_URIS = {
tabbar: browser.runtime.getURL('sidebar/sidebar.html'),
Expand Down

0 comments on commit 5f0c75f

Please sign in to comment.