🐕🦺💨 Lemmy Chaser: bookmarklet to open foreign community on your native instance
🐕🦺💨 Lemmy Chaser: bookmarklet to open foreign community on your native instance
![](https://beehaw.org/pictrs/image/32e87b77-c07b-4e2d-bae0-f2f0bb4b4ba2.jpeg?thumbnail=1024&format=webp)
With just a click, this bookmarklet will redirect you to a foreign community on your native Lemmy instance
> It brings your favourite lemmy back home!
If you don’t know what it is, it’s a bookmark that runs a small piece of code that works in all desktop or even mobile browsers
javascript:(function(){ var url = new URL(document.URL); var baseURL = url.hostname; var pathname = url.pathname; window.location.href="https://slrpnk.net" + pathname + "@" + baseURL; })();
Usage
- Copy the code, replace "https://slrpnk.net" in the code to URL of your native instance (for example to "https://lemmy.ca")
- Create a new bookmark, paste the code from previous step into URL field
- Go to a non native lemmy community
- Click the bookmarklet in your bookmarks bar to activate it.
Limitations
- it doesn't work on pages of foreign posts: only main pages of communities
0
comments