Context Menu Option to Go to "Parent Tab"
-
Added a link to an extension version in the original post. Another benefit of the extension version is a keyboard shortcut.
I just created a basic icon, so feel free to make a pull request if you can come up with a better one.
-
Thanks!
-
@nomadic When you use & you can access the command with the keyboard. So I make a script to simulate context menu and click the letter "g". Then I assign a mnemonic shortcut to the script like "gp" or "gg" (easier and faster). Thank again for the extension.
-
I use the method "all links open in new tab", so your extension is more helpful to me than the Rewind button.
-
@nomadic It seems there is a bug in the extension. I have the script and the extension installed:
-
@barbudo2005 Did you update the script code when I made the edit? I probably should have made a post saying I updated the script as well.
There was an issue with the original code in regard to tabs in reopened sessions. Their saved URLs were
undefined
, so if you click thatGo to parent tab
from the script, it brings you to a new tab with the default Chrome new tab page.I fixed that when I made the extension by disabling the context menu option for tabs from reopened sessions, so I added the change to the script as well. Just changed a few
if
statements.Can you confirm that clicking the script version's
Go to parent tab
doesn't actually bring you to a useful page? -
@nomadic :
I update the script.
I open Vivaldi browser, next open Vivaldi forum. I click in a thread. In this thread the context menu display both disabled. Not OK
But the context menu of the extension display:
If you click "&Go to parent tab" it goes to the parent tab : Vivaldi forum. OK
If you come back to the thread the context menu display :
And both the script and the extension go to the parent tab.
-
@barbudo2005 Ok, I updated the extension and the script. Can you try using them now?
-
@nomadic : Now both performs well. Thank you.
-
This mod has been an excellent substitute for my "Preserve tab history when a link is opened in new tab" feature request as well. It works great, and the multiple tabs bug-fix has been useful in two of my other mods as well. The only change I made was changing
contexts: ["all"],
tocontexts: ["page"],
as I don't think it needs to clutter text selection menu or other context menus, just the page menu is sufficient. Other than that, it's been excellent in every way. -
Ppafflick moved this topic from Modifications on