marcos.placona
Senior Member
Hi guys, I used the "fruity" title to draw your attention, as I've just built a small tool that will probably help everybody here.
It's a greasemonkey user defined script that will resize all the code boxes (those wrapped between
It's a greasemonkey user defined script that will resize all the code boxes (those wrapped between
Code:
).
I've seen some people complaining about this in the past, and recently some [URL="http://www.picaxeforum.co.uk/showthread.php?t=9832"]more people[/URL] also complaining about it.
It's a vary simple user script, but helps a lot, as you won't need to scroll through code anymore, as it'll fully display the code (still with the nice formatting) on the appropriate box.
In the future I'll make some changes to it, so it shows a button that you can click to expand/collapse the box (as soon as I have more time)
The basic idea is:[LIST=1]
[*]Install [URL="https://addons.mozilla.org/en-US/firefox/addon/748"]Greasemonkey[/URL] (Just for FireFox users and probably Opera Users)
[*]Install my [URL="http://www.placona.co.uk/blog/enclosures/bigger_code.user.js"]user script[/URL][/LIST]And enjoy it. It's only configured to work on this forums, so if you feel that you need the same functionality for other forums using vBulletin System, just let me know, and I'll gladly change it for you.
If you find any bugs (I've tested and couldn't see anything wrong) just let me know.
I've been helped a lot in this forum, and thought I could help some people with the best of my knowledges (web development). :rolleyes:
Well I guess this is it, mods feel free to delete/change this topic in case it goes against any of the rules, but I just intend to help some people out here.
===============================================
[COLOR=Red][B]UPDATE:
[/B][COLOR=Black]
I've just worked on a much improved version (0.2) that let's you toggle between show and hide full code. It's really handy, and that way you can just display the codes you want in full length.
It's also much more user friendly.
The steps to update to version 0.2 (if you already have the first version installed) are:
[/COLOR][/COLOR][LIST=1]
[*][COLOR=Red][COLOR=Black]Right click on the smiley monkey at the right side of your browser[/COLOR][/COLOR]
[*][COLOR=Red][COLOR=Black]Select the option manage user scripts[/COLOR][/COLOR]
[*][COLOR=Red][COLOR=Black]Select the option [B]Bigger_Code [/B]that is displayed on the right hand side of the screen that has just opened.[/COLOR][/COLOR]
[*][COLOR=Red][COLOR=Black]Click the button [B]uninstall[/B][/COLOR][/COLOR]
[*][COLOR=Red][COLOR=Black]Close the screen[/COLOR][/COLOR]
[*][COLOR=Red][COLOR=Black]Click on this [URL="http://www.placona.co.uk/blog/enclosures/bigger_code.user.js"]URL[/URL][/COLOR][/COLOR]
[*][COLOR=Red][COLOR=Black]Install the new script and refresh your page[/COLOR][/COLOR][/LIST]If you don't have the first version installed, just follow this steps:[LIST=1]
[*]Install [URL="https://addons.mozilla.org/en-US/firefox/addon/748"]Greasemonkey[/URL] if not already installed (Just for FireFox users and probably Opera Users)
[*]Install my [URL="http://www.placona.co.uk/blog/enclosures/bigger_code.user.js"]user script[/URL][/LIST]===============================================
[COLOR=Red][B]UPDATE 2:[/B][/COLOR]
[COLOR=Black]Ok, so I decided to follow Hippy's [/COLOR]ideas, I'm providing the scripts for [B]version 1 (automatic resize)[/B] and [B]version 2 (click & toggle just the ones you want)[/B]
I've also used better names, so you can install both versions and just enable/disable the one you like.
N.B: Both versions won't work together.
When enabling / disabling, a refresh on the page is necessary, so the selected script takes place.
I'd suggest you remove the old version, by following my guide on the first update here and install the new versions, as the name has changed now.
[URL="http://www.placona.co.uk/blog/enclosures/bigger_code_v0.1.user.js"]Version 1[/URL]
[URL="http://www.placona.co.uk/blog/enclosures/bigger_code_v0.2.user.js"]Version 2[/URL]
===============================================
[B][COLOR=Red]UPDATE 3:[/COLOR][/B]
[COLOR=Black]So here's another one. Now, it removes the nasty grey wasted space on the right and on the left, giving you even more Picaxe Forum :D
The script name is Bigger Table V0.1 using the same standard of the other versions, and can also be used together with Bigger Code V1 or V2. Instructions for installation are still the same.
[URL="http://www.placona.co.uk/blog/enclosures/bigger_table.user.js"]Version 1[/URL]
[B]DONATION:
[/B][/COLOR]If you feel like this plug-in is all you've ever wanted and are feeling like donating, you can always send it to my paypal account marcos[dot]placona[at]gmail[dot]com, and the money will all be converted into picaxes :D
Last edited: