Hack Forums
[Userscript] HF Profile Image and Signature Blocker - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Computing Lounge (https://hackforums.net/forumdisplay.php?fid=8)
+---- Thread: [Userscript] HF Profile Image and Signature Blocker (/showthread.php?tid=4647201)



[Userscript] HF Profile Image and Signature Blocker - TyrantKingBen - Jan 20, 2015

What this script does is allows you to block profile images and/or thread signatures for when you view threads, private messages, or profiles. It also allow setting custom blocked profile images/signatures. Make sure to put in your custom blocked profile image dimensions.

I made this because I found a profile image to be disturbing and I wanted to block it easily. Then, I added the ability to add a custom block image/signature so if you wanted to block, for example, scammers and set a custom "This person is a scammer" image/signature. It allows you to have NSFW feature of http://hackforums.net without blocking every image/signature, as well. NSFW has been removed.

This will automatically block the profile images/signatures to the members your block when you load a thread.

Images:
Spoiler (Click to View)

Do not PM staff or moderators about issues about or caused by this script. This is not an official HF plugin


Some credit goes to Emylbus for his configuration panel CSS design and he allowed me to use @require dependencies directly from his server, but GreasyFork disallows this.

Features: Spoiler (Click to View)

"Reset to default" in the control panel will completely reset the script variables. This means it will wipe your blocked user profile images/signatures as well as reset the control panel.





* - 'Snorlax - Jan 21, 2015

(Jan 21, 2015 12:25 AM)xadamxk Wrote:  Get Snorlax or Emy to approve this script and I'll add it to my userscript compilation.

You noob and all your security 🤣

It's clean and very nicely coded. I didn't expect the code to be this nice actually. Well written, good functions (same as I use for most of my scripts), and nothing malicious.


* - 'Snorlax - Jan 21, 2015

(Jan 21, 2015 05:29 AM)xadamxk Wrote:  MY USERSCRIPT COMPILATION IS FOR TEH MOST ELITE USERSCRIPTS AND IS NOT TO BE TAKEN AS A JOKE.

Your userscripts barely made it on there Snorlax, it was just hard to allow it after seeing how similar yours were to mine.

Get outta here, ya copycat 🤣 Stop copying my shizznit!


* - TyrantKingBen - Aug 10, 2015

Just updated this to fix a bug and make it run only on the pages necessary.


Just updated again to fix a bug where you couldn't click links/objects in user signatures.


* - TyrantKingBen - Aug 22, 2017

Just updated this to a working status again. Don't think it was being used, but received a question about it so pushed an update out so that it will work again.


Updated it so now it works on profile views, too.