Page 2 of 2

Re: [Script] Restore closed tabs

Posted: 26 Jul 2018 06:48
by enteleform
jupe wrote:Edit the button actions to match below, or use this snippet instead, follow previous instructions for how.
That worked, thanks :tup:

Not too familiar w/ the scripting language yet so didn't know about the unnamed function syntax. Thought the script was truncated & missing some of the named functions from the initial version.

Re: [Script] Restore closed tabs

Posted: 14 Aug 2026 16:42
by swsfl
This one allows closing of hovered tabs (e.g. if you want to include this with middle click close how the native middle click close works), and is updated to fix a glitch I was getting where v0.1 was only saving a maximum of 2 entries.

You need to find this line and enter the file path of the script inside of the quotes (line 54).
$self = "";

Notes indicate how to change the limit of tabs to restore.
May contain bugs with restoring tab formatting (none found yet but only tested for my normal workflow).

Re: [Script] Restore closed tabs

Posted: 15 Aug 2026 08:53
by RalphM
So, as your first post on this forum you choose to dig up an 8 year old thread and offer a new version of a script with some very vague description? :whistle: :whistle: :whistle:

Re: [Script] Restore closed tabs

Posted: 15 Aug 2026 22:42
by swsfl
Figured it might be helpful but I can just keep my scripts to myself going forward if posting on here by new members is frowned upon.

Re: [Script] Restore closed tabs

Posted: 16 Aug 2026 02:08
by RalphM
Share away but you have to admit that this looked very strange.