Tree Tabs
-
@hien4990
treetabs2-vivaldi-2.0.9.zip
https://yadi.sk/d/hoJ3b6o3ZQfSUQ -
anyone have error that cannot change color of this extension?
-
After updating to the latest version of V (3.3.2022.45) the extension fails to run.
Any ideas on how it could be fixed?
BTW, it's quite sad that V team breaks this plugin almost every release. -
@Hellaren
Just rollback to the previous version of Vivaldi. -
@Hellaren The answer to this is pretty simple...
#1
In the plugin folder, findglobal.js
#2
change line 4let browserId = navigator.userAgent.match('Opera|OPR') !== null ? 'O' : (navigator.userAgent.match('Firefox') !== null ? 'F' : 'V');
to this:
let browserId = "V";
#3
Reload Extension. Either restart browser, or remove web panel and add again, or in the extensions page click the reload icon. One or all of those should do the trickExplanation:
Something changed a few versions back about this function
navigator.userAgent.match
that is causing the error. If you force the extension to only work for Vivaldi it fixes the issue.I do not understand why this happens since if I ask the browser the same question in the console I get the correct outcome. It may have something to do with timing, and that when this variable is created the function is unavailable. But unclear.
All I know is this.
I had this issue months ago with TreeTabs, and I just had this issue with TreeTabs2 from the link above and I fixed it the same way.
-
@inanis, it did the trick!
I was even thinking about moving to Firefox (where treetab is supported) since it's pretty hard for me to work with a flat tab structure, but you saved me from itThanks a lot for your help!
-
I still hope for a native TST solution as well, but a while ago somewhere on the front page I was told by a few VV insiders that it was not going to happen because not enough people want it. So I guess we'll have to wait for another solution like this one...
-
I was told by a few VV insiders that it was not going to happen because not enough people want it.
Someone is trying to pull the wool over your eyes. Currently, 83 user have upvoted to Implement Tree Style Tabs, making it one of the most popular feature requests — not quite in the top twenty by votes.
However, two level tab stacking may satisfy many users who wanted tree style tabs.
-
@Pesala It's definetely nice to see that developers finaly made some shifts in this direction. However, the provided solution is far from close to tree-style-tabs in terms of usability.
- Second panel takes up a lot of screen space
- Navigating with a lot of trees becomes really frustrating, as there's no visual connection between stack tabs and it's parent in the main tree - stack tabs always appear on top of second panel
- 'Virtual tree' created by second panel is actually limited by only one child node, which is not near as close to tab nesting possibilities of tree-style-tabs
My question is - why not just to take the already-built tree-style-extension, fix it's bugs and include it in the Vivaldi as an additional sidebar panel? What are the reasons preventing from this?
-
klopenshtok said in Tree Tabs:
@hien4990
treetabs2-vivaldi-2.0.9.zip
https://yadi.sk/d/hoJ3b6o3ZQfSUQuse this or the og treetab by
inanis said in Tree Tabs:
Hellaren The answer to this is pretty simple...
#1
In the plugin folder, findglobal.js
#2
change line 4let browserId = navigator.userAgent.match('Opera|OPR') !== null ? 'O' : (navigator.userAgent.match('Firefox') !== null ? 'F' : 'V');
to this:
let browserId = "V";
#3
Reload Extension. Either restart browser, or remove web panel and add again, or in the extensions page click the reload icon. One or all of those should do the trickExplanation:
Something changed a few versions back about this function
navigator.userAgent.match
that is causing the error. If you force the extension to only work for Vivaldi it fixes the issue.I do not understand why this happens since if I ask the browser the same question in the console I get the correct outcome. It may have something to do with timing, and that when this variable is created the function is unavailable. But unclear.
All I know is this.
I had this issue months ago with TreeTabs, and I just had this issue with TreeTabs2 from the link above and I fixed it the same way.
-
I downloaded v1.9.2 from the Stable release linked on the first post.
I applied the fix to the plugins\global.js as described by inanis in this post.
This got things installed and working.
However I had a problem when it came to adjusting the themes. The color picker would never show up.So here is a change I made that is working for me in case anyone needs it.
In the 'options' folder you will need to edit 'options.html'
Change line 880 FROM:<input type="color" id="color_picker" style="position:absolute; top:-1000px; width:1px; height:1px; overflow:hidden;">
Change line 880 TO:
<input type="color" id="color_picker" style="position: absolute; left:349px; top:2948px; width:1px; height:1px; ">
After the above options\options.html changes for me that put the color picker below the theme area.
Then I could modify the Dark Fox theme as shown in this screenshot with Manager Window open set to Saved Sessions, the right-click menu displayed and hovered, an example set of tabs pushed out to 15 child tabs deep, and the color picker:Keen observers might note the panel has a title which was added in sidebar.html.
To get a named session as show:
- Save Session
- Select Save To Disk for that Saved Session
- Name file how you want session to appear.
- Import Session and it will have named you gave Save file.
-
You might edit your post with images of the extension working.
-
I know this is the vivaldi forum, but I am having an issue on Firefox where the tree tabs sidebar will flash white every second or so. Have any of you run into that problem? Updating to the latest Firefox doesn't help (unsurprisingly, as it's probably something that changed in firefox's code) I haven't tried reverting to previous versions, but I would rather just edit the source code of the plugin if I knew where this issue is.
-
@aboppy Or, at the very least, use our https://forum.vivaldi.net/topic/59536/i-cheat-on-vivaldi-with-firefox/369
-
I don't know if anyone is still reading this forum, but if so, it appears that Vivaldi version 5.3.2679.36 has broken this extension. If anyone knows how it could be fixed, I, for one, would really appreciate it.
-
-
@greywolfnz said in Tree Tabs:
if anyone is still reading this forum
Yeah, prolly.
Heh. Fair cop, there. Thread - better.
Good alternatives welcome, too.
-
-
@greywolfnz i just checked and lik you said it is broken, it like this day will come sooner or later because tree tabs is a dead project.
-
@greywolfnz
Maybe this is fine.
https://gist.github.com/slimymars/dc3cfac3106623094c6fa8a7a8700e06( thanks https://twitter.com/veigr/status/1532758514137190400 )