Skip navigation

Sign up | Lost password? | 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

Anonymous 7. February 2008, 19:50

Anonymous writes:

lol

nizamx 18. June 2008, 11:38

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

Lex1 18. June 2008, 12:41

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""

nizamx 18. June 2008, 17:20

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/

Lex1 18. June 2008, 17:49

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]')"

nizamx 18. June 2008, 18:36

Now it works, thank you very much.

teknomobil 16. May 2009, 15:18

Thank you

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

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

If you can't read the words, press the small reload icon.


Smilies