Hack Forums
[Userscript] HF Logo Replacer - 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 Logo Replacer (/showthread.php?tid=5230654)



HF Logo Replacer - Ƥeeka - Apr 8, 2016

Link to script here

Preview: (Click to View)

What does this do?
  • Changes the HF logo with specified logo

  • Checks logo size to make sure it is below required dimensions

  • Logo can't be bigger then 600x70



Why is it slow?
You can make it faster by going to here and encoding the image with base 64.
Once you get the long string, paste it in replace of the direct image.

Where do I set the logo?
To change the logo, please visit your option under CP, near bottom.


* - $lick - Apr 9, 2016

Maybe I'm just reading it wrong, but you're settings the value before checking if it's acceptable and if it's not you change it again?


* - Ƥeeka - Apr 9, 2016

(Apr 9, 2016 07:57 AM)Nexus™  Wrote:  Maybe I'm just reading it wrong, but you're settings the value before checking if it's acceptable and if it's not you change it again?

You are reading it correctly. I did that because there is a function inside of another, so I can't just return false out of it. If you know what to do for it, feel free to let me know. I only know how to do it in PHP.


* - BLURRYFΛCE - Apr 10, 2016

This is actually extremely useful, no more having people walk past you thinking you're some fucking elitist hacker.


* - Ƥeeka - Apr 10, 2016

(Apr 10, 2016 12:12 PM)Riley Wrote:  This is actually extremely useful, no more having people walk past you thinking you're some fucking elitist hacker.

I replaced mine with some other random forums that blends in well.


* - drugs - Apr 10, 2016

(Apr 10, 2016 12:12 PM)Riley Wrote:  This is actually extremely useful, no more having people walk past you thinking you're some fucking elitist hacker.

Or just hide the logo?


* - BLURRYFΛCE - Apr 11, 2016

(Apr 10, 2016 07:47 PM)Mаjestic Wrote:  Or just hide the logo?

Yes, that's also an option, not that it makes this script any less useful.


* - Niko - Apr 11, 2016

This would have been useful if I knew about it before I spent 20 min figuring out how to do it when making my 1/2 custom theme (Based off of HF Dark Theme)

Spoiler (Click to View)


* - ✔ Soufian ✔ - Apr 11, 2016

Honestly I don't think there's a need for this hehe, the only reason I find this useful is the script, because you can use the script for many more things. 🤝


* - Cʜᴀᴏs - Apr 11, 2016

(Apr 11, 2016 02:50 AM)Niko Wrote:  This would have been useful if I knew about it before I spent 20 min figuring out how to do it when making my 1/2 custom theme (Based off of HF Dark Theme)

Spoiler (Click to View)

That theme is so good man, good job!


* - Ƥeeka - Apr 11, 2016

(Apr 11, 2016 02:50 AM)✔ Soufian ✔ Wrote:  Honestly I don't think there's a need for this hehe, the only reason I find this useful is the script, because you can use the script for many more things. 🤝

Haha, im not suggesting a new HF feature.. Anyways, check you pm's. Want to talk to you.