- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
As requested by some users: ‘old’ style now accessible via https://old.lemmy.world
Code can be found here: https://github.com/rystaf/mlmym , created by Ryan (Is he here?) (Yes he appears to be! @[email protected] ! Thanks for this awesome front-end!)
I think the only thing that’s really missing for me and not just from old.lemmy.world but from the normal Lemmy UI. The ability to have clicking on links open in a new tab. I don’t know why but I just really like having stuff open in a new tab so I can then come back to exactly where I left off.
Regardless this looks crazy good.
Middle clicking a link (clicking with the mouse wheel) or ctrl clicking, opens links in a new tab.
Middle clicking also closes a tab of you middle click on it.
I knew about Ctrl+click but not about middle mouse click. TIL :)
Unfortunately it only opens in the background and doesn’t open in a new tab and switch to it. I usually use both.
Pssst… Shift + middle click.
Oh cool! Thank you! Now to begin the arduous process of training a new workflow into muscle memory. :)
Oh hey, I’m not alone! So I wrote a script that emulates Reddit’s behavior when you have checked the “open links in a new tab” option in your user settings.
Edit: You can apply the code to a bookmarklet, and when you go to old.lemmy and click the bookmarklet, links will behave like you like. The downside is every time you load a new page, you have to click it again.
If you prefer, you can use the same code as a Tampermonkey userscript and it will apply it to the site automagically. I put both versions of the script at this pastebin link:
https://pastebin.com/hiVJW81G
Awesome! This worked with tamper monkey so it gets applied automatically. Thanks :)
Great! I edited my original post to include a Tampermonkey version. Cheers!
deleted by creator
I am sure you could use tampermonkey/greasemonkey userscript for that
Ooooh that’s a good idea. I’ll give that a shot.