Lemmy - Rewrite Links to Home Instance

Ensures that all URLs to Lemmy instances always point to your main/home instance.

Tính đến 23-06-2023. Xem phiên bản mới nhất.

Tác giả
Azzutee
Đánh giá
0 0 0
Phiên bản
1.0.2
Đã tạo
23-06-2023
Đã cập nhật
23-06-2023
Size
40 KB
Giấy phép
GPLv3
Áp dụng cho
Tất cả trang web

Please post issues at the GitLab repository if possible.

Description

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.

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:

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!

Features

  • Rewrite all links of communities or users 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.

  • 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.

Coming soon

  • Post & comment links. Those are a bit harder because the URL has to be requested from the instances.
  • Also rewrite kbin links