Log in

View Full Version : Habbox-hacks : some pointless but fun client side hacks



Mentor
18-07-2009, 07:44 PM
I was talking to someone about the few "stylish" hacks i'm using on habbox, and though i may as well make a thread about it.

The hacks are userside are require you to have stylish installed in a firefox browser, there formed of some ***** css, but work well. At least on the default skin (not tested on others). Just remember these were written as quick hacks and are not great examples of code.

remember stuff u wana apply in a new sheet needs to be wrapped with

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("habboxforum.com") {

stuff here

}

First off, custom habbox banner, dont like the banner they use, have your own or use one that wasn't meant for that skin


body table[align='center'] tr td[align='center'] a[href='index.php'] img[src='images/forum_banners/classic.gif']{
display:none;
}
body table[align='center'] tr td[align='center'] a[href='index.php'] {
background-image: url(http://www.habboxforum.com/images/forum_banners/old/hxfdarkbanner3.png) !important;
width:730px !important;
height:120px !important;
display:block !important;
}
Just change the url to the banner image you want to use - change widths and height if needed too.

Another one i did, so i could see gommeincs avatar as his facebook photo instead, can be used for any account u want to see with a custom avatar on too :)


a[href='member.php?u=2339'] img {
display:none !important;
}
td[class='alt2'] table tr td[class='alt2'] a[href='member.php?u=2339']{
background-image: url( IMAGE_URL ) !important;
display:block !important;
width:200px !important;
height:241px !important;
}

2339 is just gommeincs user id, change it to the id of the user you want the custom avitar on :P

Just remember you can only see these hacks effects on the browser u add them too. no one else will see them.

Have fun, enjoy useless tips from a 20 second post

iDenning
18-07-2009, 08:22 PM
hmm.... nice?

BoyBetterKnow
18-07-2009, 08:37 PM
hahhahaha random post mentor. Will entertain alot of people I'm sure ;)

Mentor
18-07-2009, 09:03 PM
If anyone else has any ideas for nice little visual hacks, just suggest em to me. Pitty is css only though since js access to the dom would make these kinda hacks far easier and simpler to do :)

Agnostic Bear
19-07-2009, 12:18 AM
If anyone else has any ideas for nice little visual hacks, just suggest em to me. Pitty is css only though since js access to the dom would make these kinda hacks far easier and simpler to do :)

Use greasemonkey.



@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("www.habboxforum.com") {
*, html, body, div, table, td, tr, thead {
font-family: "Arial"!important;
}

pre {
font-family: consolas!important;
}
}


Makes the forum look so much better.

Want to hide these adverts? Register an account for free!