Skip navigation.

exploreopera

| Help

Sign up | Help

My program for Opera

BBCode.js

, , ,

BBCode.js inserts any BBCode and HTML tags. Install this as UserJS.
Draggable buttons

Sample of buttons:
Button1, "bold"="Go to page, "javascript:ujs_bbcode_tag('[b]')", , , "bb_b""
Button2, "quote"="Go to page, "javascript:ujs_bbcode_tag('[quote]','')", , , "bb_q""
Button3, "url"="Go to page, "javascript:ujs_bbcode_tag('<a href=>')", , , "bb_url""
Button4, "wiki quote"="Go to page, "javascript:ujs_bbcode_tag('```','```')", , , "bb_url""
Button5, "lol"="Go to page, "javascript:ujs_bbcode_tag('',' :lol:')", , , "bb_lol""

oGet Ver 2.3 UserJS

Comments

avatar
Anonymous writes:

<b>lol</b>

By anonymous user, # 7. February 2008, 19:50:27

avatar
Thanks lot. Is it possible to add a toolbar automatically to each dialog text like ospell js also [hide] tag would be very useful.

By nizamx, # 18. June 2008, 11:38:15

avatar
it possible to add a toolbar automatically to each dialog text

No. It will have large problems with universality.

also [hide] tag would be very useful.

Button6, "[hide]"="Go to page, "javascript:ujs_bbcode_tag('[hide]', '[/hide]')", , , "bb_hide""
Or
Button6, "[hide]"="Go to page, "javascript:ujs_bbcode_tag('[hide]')", , , "bb_hide""

By Lex1, # 18. June 2008, 12:41:22

avatar
Buttonmaker says too many commas and both button does not work, please check it. Other code buttons work well by the way.

http://nontroppo.org/tools/buttonmaker/

By nizamx, # 18. June 2008, 17:20:36

avatar
It's copy-past from toolbar.ini.
For buttonmaker:

Choose the button's action: Go to page
Enter the button's title (optional, but recommended): [hide]
Additional parameters (optional): "javascript:ujs_bbcode_tag('[hide]')"

By Lex1, # 18. June 2008, 17:49:05

avatar
Now it works, thank you very much.

By nizamx, # 18. June 2008, 18:36:45

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : dcf9c7

Smilies