1
[UserScript] Lemmy Universal Link Switcher now rewrites post/comment links! 1.2.0 Release! - lemm.ee
lemm.ee#### Please report issues with this version either here or at the issue tracker
[https://gitlab.com/azzurite/lemmy-universal-link-switcher/-/issues]. ###
Changelog v1.2.0 * Add rewrite support for posts/comments
Your browser does not support playing HTML5 video. You can download a copy of
the video file
[https://images.azzurite.tv/uploads/original/66/12/bfd69d133cf48bdf438b23638150.mp4]
instead. * Try to not rewrite federation links ---- ### Description Lemmy
Universal Link Switcher, or LULs for short, scans all links on all websites, and
if any link points to a Lemmy instance that is not your main/home instance, it
rewrites the link so that it instead points to your main instance. Currently
only works for community/user links. Also works on Firefox Android with the
Tampermonkey extension! ### Features * Rewrite links to Lemmy posts/comments to
point to your home instance. Only after hovering over them, because getting home
posts/comments links require communicating with the Lemmy servers, and we don’t
want to spam the servers.
Your browser does not support playing HTML5 video. You can download a copy of
the video file
[https://images.azzurite.tv/uploads/original/66/12/bfd69d133cf48bdf438b23638150.mp4]
instead. * Instantly rewrite all links of communities or users
to Lemmy/kbin on all websites everywhere to your new instance! The rewritten
links will have an icon next to it, and hovering/touching the icon will show you
the original link, allowing you to go there if you want to.
[https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNHUxQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--ab4ca68d48f3174ff9fe6cfd7820c66fa4c08ee9/2023-06-23%2006_00_01.png?locale=en]https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNHUxQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--ab4ca68d48f3174ff9fe6cfd7820c66fa4c08ee9/2023-06-23%2006_00_01.png?locale=en
* If you are already on a page that has a corresponding page on your home
instance, a link will automatically be added to the page header.
[https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeGEyQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--e824ea55c69b88fb392b9ab0cfd093746ad255a0/2023-06-25%2004_58_33.webp?locale=en]https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeGEyQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--e824ea55c69b88fb392b9ab0cfd093746ad255a0/2023-06-25%2004_58_33.webp?locale=en
### Home Instance Setup Simply visit the Lemmy instance you want to set as your
home while the script is active. You will be asked if you want to set this
instance to your home instance:
[https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNW0xQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--7ff60350e91d895b6c5f91bbd8b198e46494efb3/2023-06-23%2006_15_41--pn.png?locale=en]https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNW0xQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--7ff60350e91d895b6c5f91bbd8b198e46494efb3/2023-06-23%2006_15_41--pn.png?locale=en
If you initially set your home instance wrong or just want to change it, no
worries - simply go to your settings on your new home instance and press the
button for it!
[https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNDIxQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--ef9561d216033a3afe2175dca219f85e3560d321/2023-06-23%2006_00_03.png?locale=en]https://greasyfork.org/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNDIxQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--ef9561d216033a3afe2175dca219f85e3560d321/2023-06-23%2006_00_03.png?locale=en
### Coming soon * Rewrite kbin post/comment links * Better rewriting support for
kbin community/user urls (e.g. sort options are currently ignored) * Nicer
tooltip styling (fit into page theme) * Signify that “Show at home” button is
loading for posts/comments
very useful imo
You must log in or # to comment.