Page 1 of 3
Codefolding for the PBForums
Posted: Wed Jun 04, 2008 3:09 pm
by ts-soft
This isn't written in PB

(if the forum wrong, please move it)
moin, this is a small userscript written by edel (hallodri)
collapse and expand codetags for all pb forums (FireFox with Greasemonkey or Opera 9)
download userscript
For FireFox (with
Greasemonkey) and Opera
Feedback welcome
Thanks
Posted: Wed Jun 04, 2008 3:32 pm
by Progi1984
Very useful tool !
Thanks !
May be three points or an indicator for showing that some code is hiding will be interesting !
Posted: Wed Jun 04, 2008 3:39 pm
by Rook Zimbabwe
I wish it worked in Ieb8
Instead of 3 points... perhaps the + cuold be red and the - be green...

Posted: Wed Jun 04, 2008 6:12 pm
by ts-soft
small Update!
please load the script again.
- ignore small codes (< 5 lines)
- show scrollbars
- show different backcolor for collapsed
Posted: Wed Jun 04, 2008 10:21 pm
by milan1612
That's really great! Thanks

Posted: Wed Jun 04, 2008 10:33 pm
by Psychophanta
hehe, nice!
Posted: Thu Jun 05, 2008 9:58 am
by Num3
Hmmm can't get it to work
What should the install options be?
--EDIT--
Forget it, found it, left click on the javascript file -> open with firefox and greasemonkey installs it

Posted: Thu Jun 05, 2008 10:04 am
by ts-soft
Or simple drop the script on firefox

Posted: Thu Jun 05, 2008 11:38 am
by dige
I'm not able to install / use the script. Drag'n drop on Firefox just shows
the content. Open with Firefox does the same.
Rename to .xpi and install as addon fails too.
So, its no addon or something like that..
Posted: Thu Jun 05, 2008 11:41 am
by ts-soft
dige wrote:I'm not able to install / use the script. Drag'n drop on Firefox just shows
the content. Open with Firefox does the same.
Rename to .xpi and install as addon fails too.
So, its no addon or something like that..
First you have to install "GreaseMonkey", see first post (only for firefox)
Posted: Thu Jun 05, 2008 1:24 pm
by dige
thx TS, now it works ... and its very ql :)
Posted: Thu Jun 05, 2008 2:58 pm
by Trond
You came here for the codes, and now you don't want to see them?

Posted: Fri Jun 06, 2008 7:33 am
by peterb
Posted: Fri Jun 06, 2008 9:08 am
by Mistrel
I personally don't like code folding on forums because it makes it harder to read snippets.
Posted: Fri Jun 06, 2008 2:19 pm
by ts-soft
thanks
