this post was submitted on 01 Jul 2023
11 points (100.0% liked)

Kbin Userstyles and Userscripts

15 readers
1 users here now

Custom CSS and JS to help improve your Kbin experience! ### Userscripts Greasy Fork ### Stylesheets UserStyles.world ### Userscript managers

founded 1 year ago
11
Magazine Pop-up v0.1.8 (media.kbin.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

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.