Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For middle click on hyperlink, open new tab as a sibling of the current tab. #452

Closed
Balfa opened this issue Jan 23, 2013 · 5 comments
Closed

Comments

@Balfa
Copy link

Balfa commented Jan 23, 2013

I think the New Tabs options screen should have a setting called:
"For middle click on hyperlink, open new tab as [DropDown]", with the usual choices in the dropdown.
With "hyperlink" being any link on a page

It may seem like this is removing the core functionality of Tree Style Tab altogether, but I prefer to use the tree 100% manually. I.e., if there are tabs I want grouped under another, I'll group them myself, otherwise, everything should be a sibling.

Thanks for the great addon!

piroor added a commit that referenced this issue Mar 5, 2013
…" to control new tab position from the current tab (#452)
@piroor
Copy link
Owner

piroor commented Mar 5, 2013

I've added a new secret preference "extensions.treestyletab.autoAttach.fromCurrent" for this purpose. You'll be able to open new related tab from links as next sibling tab, when you set the value to "3".

However, because I believe such behavior is not reasonable for new tabs "from" the current tab, I won't add configuration UI for the preference to the dialog.

@piroor
Copy link
Owner

piroor commented Mar 5, 2013

You can try it with the latest development build. http://piro.sakura.ne.jp/xul/xpi/nightly/

@trismarck
Copy link

After switching "extensions.treestyletab.autoAttach.fromCurrent" to 3, now, upon Ctrl+clicking on the link, that link opens as next sibling tab. But is there now a way to open the link as the child tab? I think it would be beneficial if the user could pick, at what exact location in the tree the link should be opened:

  • child
  • next sibling
  • last sibling?
  • independent tab
  • other

... and possibly, whether to switch to that tab or not.

Also, currently, there is no easy way to specify, at what location in the tree the clicked link should open at (~ per one particular click). But, for some reason, there are three separate configuration options for where to open a new tab (see New Tab tab in Options). Supposing one would click on a link 90% of the time (vs create a new tab and paste the URL of the link there), one would rather expect more configuration options for the clicked link and not for the new tab.

@piroor
Copy link
Owner

piroor commented Feb 12, 2016

For now I have no plan to add more options for this situation, sorry. If you want to open the link in new sibling tab, please do it by dragging a link and drop it onto a tab or between tabs.

@piroor
Copy link
Owner

piroor commented Feb 12, 2016

I close this for triage.

@piroor piroor closed this as completed Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants