Zotero is a citation manager, with a firefox extension to save an article (but really, a tab) with one click.
It also has fulltext search. You can search snapshots of everything you save.
“But I can’t save all my tabs at once”
(There are some solutions, but nothIng official)
Save as you go. Computers simply don’t have enough ram for 2000 tabs.
Anyway, it also seems to be able to run javascript plugins, and I saw you have some experience with that.
It also has support for folders, so you can organize it a bit better than tabs work for that.
Fun fact: you don’t need to add the nixpkgs channel for the determinate systems installer, even when using channel commands or other things since it adds an option to your nix.conf to reference the nix flake for nixpkgs.
I don’t know how to update this flake though.