this post was submitted on 28 Jun 2023
6 points (100.0% liked)

Lemmy

12575 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

I wrote a very simple UserScript for the browser which can be used for example with https://www.tampermonkey.net/ to be injected in all the pages where there is the sidebar telling you you're not logged in but can subscribe by copy and pasting this string.

A replace this string with a link to the search of my instance so I then can easily subscribe to it.

It has one flaw though, it needs to run once a second for all the time because I couldn't figure out how to trigger it when you move around on the instance, DOMContentLoaded only triggers once and then the rest happens with XHR requests, but the popstate doesn't get fired when I navigate.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here