You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,19 @@
1
1
2
2
# TST Tab Search -- filter Tree Style Tab's sidebar
3
3
4
-
This is an extension for the browser extension [Tree Style Tabs](https://github.com/piroor/treestyletab#readme) (TST). It adds a search box at the bottom of TST's sidebar, allowing to search the titles of the tabs in the current window/sidebar, optionally case sensitive, as whole word, or by regular expression.
5
-
Matching tabs will be highlighted in the tree, and/or non-matches will be suppressed.
4
+
This is an extension for the browser extension [Tree Style Tabs](https://github.com/piroor/treestyletab#readme) (TST). It adds a search box at the bottom of TST's sidebar, allowing to search the titles and URLs (or whatever) of the tabs in the current window/sidebar, optionally case sensitive, as whole word, or by regular expression.
5
+
Matching tabs will be highlighted in the tree, and/or non-matches will be suppressed (see extension preferences).
6
+
Should the search bar not show up after installing this extension, then have a look at `about:addons` > "Extensions" > "TST Tab Search".
6
7
7
8

8
9
9
-
Thats pretty much all there is to say. Might add a few more highlight options.
10
-
Many thanks to TST's author [piroor](https://github.com/piroor), who has not only developed TST as a great standalone extension, but also designed a very good API for other extensions to interact and integrate with TST. With that, writing the initial version of this extension from scratch took only about to long afternoons.
10
+
Thats pretty much all there is to say.
11
+
Many thanks to TST's author [piroor](https://github.com/piroor), who has not only developed TST as a great standalone extension, but also designed a very good API for other extensions to interact and integrate with TST. With that, writing the initial version of this extension from scratch took only about two long afternoons.
11
12
12
13
<b>Permissions used</b>:
13
14
15
+
- "Access to browser tabs": Get titles of tabs to be searched.
14
16
- "Display notifications to you": Tell you when something goes wrong, (so you should never see this ;) ).
15
-
- "Access to browser tabs" (manually granted via TST): Search titles of tabs.
16
17
17
18
<!-- NOTE: AMO keeps line breaks within paragraphs ... -->
description: String.raw`By default ${manifest.name} will look for the search term, according to the flags set, in the tab's title (the text displayed in the tooltip when holding the mouse cursor the tab) and the URL (the web address displayed at the center top of the window when the tab is active). This should do for most users most of the time.<br>
112
+
<details><summary>Most users? Go on ...</summary>
113
+
With this option active, the search term can be prefixed with a pipe separated list of tab property names, followed by a colon and an optional space (i.e. matching <code>/^\w+([|]\w+)*: ?/</code>). If such a prefix is found, it is removed from the search term, and the listed properties (converted to strings: empty if <code>null</code>ish, otherwise as JSON (w/o spaces) if not a <code>string</code>) are searched, instead of the default <code>title</code> and <code>url</code>.<br>
114
+
This is probably mostly useful for developers. But if one knows what to search for, there is some interesting stuff to be found:<ul>
115
+
<li>tabs playing audio: <code>audible: true</code></li>
<li>tabs by ID: <code>id: ^42$</code> (<code>.*</code>)</li>
121
+
</ul>
122
+
</details>`,
123
+
default: false,
124
+
input: {type: 'boolean',suffix: `enable field prefixes`,},
125
+
},
126
+
},
127
+
},
128
+
advanced: {
129
+
title: 'Experimental/Advanced Options',
130
+
expanded: false,
131
+
description: `Advanced and/or experimental options, that may break and/or disappear at any time. These may also require a reload of TST, this extension or the sidebars to apply.`,
132
+
default: true,children: {
133
+
hideHeader: {
134
+
title: 'Hide Header',
135
+
description: `Hides the header above the search, that says something like "${manifest.name}".<br>NOTE: That header is not part of this extension, but of TST itself, and from a UX perspective, should absolutely be there (by default). It may (in the future?) also be used to switch sub panels or do any number of other things. Please DO NOT raise issues about anything loke that with TST while this option is active!`,
136
+
default: '',
137
+
input: {type: 'boolInt',suffix: `I vow to have read the above and not to annoy TST's authors about it.`,off: '',on: `
0 commit comments