Hi all,
I'm currently working on a script that shows a pop-up element of the sidebar subscribe/block button when hovering over the magazine links on the threads page. Click here for the code:
This was done with the help of chatgpt (which variably sucks) so if you want to make a variation of the code go for it! I think this feature would be great if it was implemented in the site itself similar to hovering over usernames. This way it makes it easy to subscribe and block magazines without having to click into the page itself.
Feel free to point out any bugs and I will try and suss it out.
**EDIT: If you are using Violentmonkey and are having issues when clicking subscribe or block, try and use Tampermonkey or a different script add-on. There are some discrepancies on my end with firefox and VM and I'm not completely sure why error codes are thrown. I have read that there have been similar issues before with VM and Firefox due to Firefox CSP issues.
v1.6
Updated it to hide faster once finished interacting with the popup.
v1.7
added boxshadow
v1.8
performance improvement
Make sure to activate "Check for updates" if it isn't already activated.

14 Comments
minnieo@kbin.social · 3 pts · 3y
omg i love this! it's looking really good
Pamasich@kbin.social · 2 pts · 3y
Can you give some examples to test it on? I just tried subscribing and unsubscribing to everything on the frontpage and all of the ones there worked.
Edit: hmm, I watched your example video now, I did try technology@beehaw.org and it worked for me, though I only tried subscribing, not blocking.
Edit: blocking works for me there too.
Pamasich@kbin.social · 1 pts · 3y
Another issue I personally did encounter trying this out though, was that sometimes it would display the wrong popup. Instead of the magazine I'm hovering over, it would bring up the one I hovered over previously.
thesoloist@kbin.social · 2 pts · 3y
Yeah It’s got some bugs I haven’t sussed out yet but only because I’ve been trying to figure out the bad request issue. Curious that you’re not having that issue! What browser and extension are you using? If it is working for you then maybe it’s something on my end. Will do some testing a bit later.
Pamasich@kbin.social · 1 pts · 3y
I'm using Edge version 114.0.1823.58, on Windows 11, with Violentmonkey for the userscripts.
Do you have any others besides technology@beehaw.org I can try to make sure it's really not occuring for me? I feel like one is a bit of a small sample size to be sure.
Pamasich@kbin.social · 1 pts · 3y
I just tried it on my Android phone too, where I'm using the Kiwi browser (mobile chromium with extensions). Violentmonkey too so only the device and browser are different.
I only tried out like three magazines, since it doesn't work well at all on the phone (of course, wasn't expecting it to), with one of them being technology@beehaw.org, and I didn't get the error there either. So I doubt Edge is the reason it works for me.
thesoloist@kbin.social · 1 pts · 3y
I think the issue has to do with Firefox & violentmonkey. I read there's been issues in the past due to websites cps. Don't know much about it, but I'm currently running tamper monkey on firefox and I have no problems. I'll state a warning as an edit. Thanks for letting me know!
fiofiofio@kbin.social · 1 pts · 3y
Oh I like that popup - looks nicer than what I hacked together
ch1cken@kbin.social · 1 pts · 3y
thesoloist@kbin.social · 1 pts · 3y
Yeah there is some weird issue with firefox and VM (at least on my rig) that causes an issue where clicking on subscribe or block opens a link to an error code instead. No idea why but I'm glad it is working for you guys on different platforms! I also pushed an update for the animations to disappear quicker.