Open tabs as children, from the "search by" in the context menu. (#655)
It worked in old versions, but killed by changes of Firefox itself.
This commit is contained in:
parent
c68d85c617
commit
2f51f15265
@ -159,14 +159,23 @@ var TreeStyleTabWindowHelper = {
|
||||
)
|
||||
);
|
||||
|
||||
if ('BrowserSearch' in window &&
|
||||
'loadSearch' in BrowserSearch) {
|
||||
eval('BrowserSearch.loadSearch = '+
|
||||
BrowserSearch.loadSearch.toSource().replace(
|
||||
'openLinkIn(',
|
||||
'TreeStyleTabService.onBeforeBrowserSearch(arguments[0], useNewTab); $&'
|
||||
)
|
||||
);
|
||||
if ('BrowserSearch' in window) {
|
||||
if ('_loadSearch' in BrowserSearch) {
|
||||
eval('BrowserSearch._loadSearch = '+
|
||||
BrowserSearch._loadSearch.toSource().replace(
|
||||
'openLinkIn(',
|
||||
'TreeStyleTabService.onBeforeBrowserSearch(arguments[0], useNewTab); $&'
|
||||
)
|
||||
);
|
||||
}
|
||||
else if ('loadSearch' in BrowserSearch) { // Firefox 24 and olders
|
||||
eval('BrowserSearch.loadSearch = '+
|
||||
BrowserSearch.loadSearch.toSource().replace(
|
||||
'openLinkIn(',
|
||||
'TreeStyleTabService.onBeforeBrowserSearch(arguments[0], useNewTab); $&'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
let (functions = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user