What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » User JavaScript to hide Signatures..?

User JavaScript to hide Signatures..?
Author: Message:
andrey
elite shoutboxer
****

Avatar

Posts: 795
Reputation: 48
– / Male / Flag
Joined: Aug 2004
O.P. User JavaScript to hide Signatures..?
Alright, I recently spotted this userJS (myoperacom-sigremover.js) for Opera on userjs.com.
Now, what it does is removing the users signatures when their usernames are inserted into the script.
My question would be if it is possible to modify this script or if not write a new one that works with msghelp.net :grin:
and as an extra task, a script that hides avatars.
I myself know almost nothing about JavaScript so I thought one of you could try this. :cheesy:
[Image: w2kzw8qp-sq2_dz_b_xmas.png]
07-26-2005 05:58 AM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: User JavaScript to hide Signatures..?
Hmm i have made a greasemonkey scrip  to add classes to posts (see http://blog.thedt.net/ for my scripts)

but I'm pretty sure opera dosnt support xPaths which I use in that , I guess I could remake it to use document.getElementsByTagName (which is SLOW compared to xPaths)

hiding avatars  would be easy with xPaths.....which again opera dosnt support(gar!) I'll see if i can add class names to avatars and sigs for each user using non xPaths for you people.

[Image: msn_tongue.gif] 


edit:

done the sig class adder :P

http://random.thedt.net/messengerplusformsignatu.user.js

for greasemonkey right click and hit install....
for opera install it however you install userJS if it creates any errors please post them i didnt use any xPaths because dodgy opera dosnt support it.

to use:
add custom css for the class
mybb_sig_username

eg
code:

mybb_sig_-dt-{background:pink;}

(btw to hide something in css use display:none; )

spaces in usernames are replaced with _ and so are fullstops.

working on avatar thing now.

This post was edited on 07-26-2005 at 12:47 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-26-2005 09:26 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On