Very simple UserScript for easier cross instance subscription
cross-posted from: jemmy.jeena.net/post/13205
I wrote a very simple UserScript for the browser which can be used for example with 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 thepopstate
doesn’t get fired when I navigate.
Add comment