What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Opera TidyJS (UserJS)

[Release] Opera TidyJS (UserJS)
Author: Message:
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
O.P. [Release] Opera TidyJS (UserJS)
Not sure exactly where to put this, but this seemed the best place. This is a UserJS script for Opera, NOT MsgPlus. This script will format the [ code ] blocks and attempt to tidy them up. It will fail to organize it if the code has obvious errors(bad if's, bad declares, etc). It will also remove the most common smiley's from the box and replace them with text. One thing that still doesn't work (and I can't make it work) is the preservation of /* multiline */ comments. May also expand the page with really long lines.

Instructions:
1) Setup UserJS if it isn't already.
"To enable user JavaScript, use Tools > Preferences > Advanced > Content > JavaScript options, and select the directory where you will put your User JavaScript files. Opera will load all files in the specified directory whose names end with .js and will use them as User JavaScript files. If a file name ends with .user.js it will be assumed to use Greasemonkey notation."

2) Unzip the file to your UserJS folder.

3) Double click the page to tidy the js.

[Image: comparevh9.th.png]

.zip File Attachment: MsgHelp.zip (1.2 KB)
This file has been downloaded 103 time(s).

This post was edited on 09-06-2006 at 01:55 AM by Silentdragon.
09-06-2006 01:48 AM
Profile E-Mail PM Web Find Quote Report
DarkMe
Full Member
***

Avatar
Thx ins4ne for my av :p

Posts: 471
Reputation: 20
32 / Male / –
Joined: Jun 2006
RE: [Release] Opera TidyJS (UserJS)
Nice work ;)
* DarkMe downloads
[Image: darkme.png]
09-06-2006 01:51 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: [Release] Opera TidyJS (UserJS)
nice script , this is quite like mine except it doesn't syntax highlight the code.

screenshot: http://random.thedt.net/operascripts/highlightdemo.JPG

to install download http://random.thedt.net/operascripts/plussyntaxthighlighter.user.js to your userjs directory (this is exactly the same as the firefox version except i had to remove the e4x section because opera doesnt support that :P)
[Image: dt2.0v2.png]      Happy Birthday, WDZ
09-06-2006 02:04 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