[img]http://www.imgdumper.nl/uploads3/4cb484aa88307/4cb484aa8409d-lua_tags.png[/img]
As you are all probably aware of now, the new [lua] tags suck. Because the old ones were extremely useful and it'll probably take a while before they are added back, I wrote a small Greasemonkey script that brings them back.
[b]Requirements[/b]
[list][*]Common sense
[*][url=https://addons.mozilla.org/en-US/firefox/addon/748/][u]Greasemonkey plugin for Firefox[/u][/url] or Google Chrome[/list]
[b]Script[/b]
[url]http://userscripts.org/scripts/show/88436[/url]
Tell me if you run into any issues.
Oh snap, it works for Chrome too. Only problem is that there's no syntax highlighting :frown:
Oh cool, had no idea these scripts worked on chrome. It's still better than nothing.
I'm fixing them once I get home in a few hours, they got left out of SVN but it's all set up. Sorry to waste your time Overv.
Handy.
Unfortunately, it doesn't work in Chrome.
It should be looking for "postbody" rather than "postcontent restore".
It's not checking if content == null (which it does occaisionally in Chrome, for whatever reason).
And shBrushLua.js can't see shCore.js (dp = ?).
needs more compatiblity with chrome
[quote]
[img]http://cold.netburst.co.uk/img/SS-2010-10-12_18.46.20.png[/img][/quote]
[QUOTE=ColdFusion;25360339]needs more compatiblity with chrome[/QUOTE]
Working on that as we speak.
[b]Edit:[/b] Done, it's now compatible with Chrome.
Woohoo i can now see lua tags thanks OverV.
Yes you don't need to tell everyone.
[QUOTE=Cubar;25363358]Yes you don't need to tell everyone.[/QUOTE]
[img]http://dl.dropbox.com/u/244444/youdontneedtotelleveryone.jpg[/img]
:laugh:
Cubar needs to be banished from the Lua section.
[QUOTE=blackops7799;25363501]Cubar needs to be banished from the Lua section.[/QUOTE]
Harsh idiot, Let me see stupid as well a dumb. :v:
Capsadmin you're not even remotely funny you're stupid, you just don't know it.
[highlight](User was banned for this post ("Doesn't want to be here" - grea$emonkey))[/highlight]
Point proven.
[QUOTE=Cubar;25363526][highlight](User was banned for this post ("Doesn't want to be here" - grea$emonkey))[/highlight][/QUOTE]
Thank god, a week break.
Yeah, Cubar is definitely an annoying troll that thinks he's better than everyone (when in reality he knows little-to-none) and needs to be gone.
Stuff like this makes me wish greasemonkey worked with Firefox 4.0b6
Now that it's been added back, you could improve this by making it use the one you're using on luabin. That one is nicer than this one. You can highlight the text and copy without copying all the numbers and all that.
Yeah, I probably will. On a sidenote, [lua] might have been added to the SVN, but it's not active yet.
[QUOTE=Toneo;25364845]Stuff like this makes me wish greasemonkey worked with Firefox 4.0b6[/QUOTE]
[url]https://arantius.com/misc/gm-nightly/[/url]
[QUOTE=Overv;25365425]Yeah, I probably will. On a sidenote, [lua] might have been added to the SVN, but it's not active yet.[/QUOTE]
It's back on now.
[lua]var hi = 'If only I knew lua';[/lua]
[editline]12th October 2010[/editline]
Or is it...
[QUOTE=blackops7799;25363644]Thank god, a week break.[/QUOTE]
[img_thumb]http://i53.tinypic.com/14sfneb.png[/img_thumb]
lol
also not exactly on-topic but I think I'll finally record the shit I've been making the past few months, tomorrow
I was wondering why I saw a bunch of people using [lua] [/lua] even though it didn't work.
This works perfect in Chrome. Thanks!
Lord Overv :D
[QUOTE=thelinx;25365759][url]https://arantius.com/misc/gm-nightly/[/url][/QUOTE]
I love you
[QUOTE=Toneo;25380217]I love you[/QUOTE]
I love me too.
Good work i see :3.
This works in Opera too as long as the userscript is saved as a .user.js extension. (Opera doesn't parse greasemonkey commands if a userscript has just a .js extension)
Sorry, you need to Log In to post a reply to this thread.