Neat Chrome Extension for Automation — Helps with BBCode

Author Topic: Neat Chrome Extension for Automation — Helps with BBCode  (Read 1372 times)

Basically it's an extension that allows you to automate stuff, where it will automatically replace certain keystrokes with phrases of your choice.  Works very well for managing BBCode here.

For instance, if I wanted to create url tags, all I have to say is [ur, and I get [url=][/url].

Works for other things as well.  For example, I made a set of Cyrillic characters have simple shortcuts. Дд is typed ;d,d in my shortcuts, for instance.


I hope you find it useful.



Links:
BBCode Usage & Greentext Shortcut
« Last Edit: April 24, 2016, 11:37:58 PM by SWAT One »

you don't need to use the url tags to link them tho :V




Hey guys, if you want a list of the ones I made, you can import this.

{
  "['cod": "[code=TEXT][/code]",
  "['col": "[color=#HEX][/color]",
  "['iu": "[iurl=#][/iurl]",
  "['q": "[quote author=TEXT][/quote]",
  "[en": "[email=EMAILNAME]TEXT[/email]",
  "[a'l": "\n[list][li][/li][/list]",
  "[ab": "[abbr=TEXT][/abbr]",
  "[ac": "[center][/center]",
  "[al": "[left][/left]",
  "[an": "[anchor=NAME]",
  "[ar": "[right][/right]",
  "[b": "[b][/b]",
  "[b'l": "[list][/list]",
  "[gc": "[img height=VAL1 width=VAL2][/img]",
  "[c'l": "[list]\n[list][li][/li][/list]\n[list][li][/li][/list]\n[/list]",
  "[cod": "[code][/code]",
  "[col": "[color=COLORNAME][/color]",
  "[em": "[email][/email]",
  "[fo": "[font=NAME][/font]",
  "[g": "[img]http://[/img]",
  "[h": "\n\n[hr]\n\n",
  "[gh": "[img height=VAL]http://[/img]",
  "[i": "[i][/i]",
  "[iu": "[iurl=http://][/iurl]",
  "[n": "[nobbc][/nobbc]",
  "[q": "[quote][/quote]",
  "[s": "[s][/s]",
  "[si": "[size=VALpt][/size]",
  "[sub": "[sub][/sub]",
  "[sup": "[sup][/sup]",
  "[ta": "[table][tr][td][/table]",
  "[td": "[table][tr][td][/td][/tr][/table]",
  "[tr": "[table][tr][td][/td][/tr][/table]",
  "[tt": "[tt][/tt]",
  "[un": "[u][/u]",
  "[ur": "[url=http://][/url]",
  "[gw": "[img width=VAL][/img]",
  "pm1": "[url=https://forum.blockland.us/index.php?action=pm;sa=send;u=YOUR_FORUM_ID][b]PM[/b] me[/url]",
  "pmhere": "[url=https://forum.blockland.us/index.php?action=pm;sa=send;u=YOUR_FORUM_ID][b]HERE[/b][/url]"
}
« Last Edit: April 21, 2016, 07:36:02 PM by SWAT One »

  "pm1": "[url=https://forum.blockland.us/index.php?action=pm;sa=send;u=YOURBL_ID][b]PM[/b] me[/url]",
  "pmhere": "[url=https://forum.blockland.us/index.php?action=pm;sa=send;u=YOURBL_ID][b]HERE[/b][/url]"


Forum ID =/= Blockland ID.
« Last Edit: April 21, 2016, 07:35:13 PM by dargereldren »


Bump.  Seriously this is getting to be really useful for typing small messages for easy shortcuts.  Best par is that it occurs almost immediately.

Reaction images might be easily-retrieved and resized perhaps.  By using different strings, typing out format might be really neat for auto-filling.  I use "G" [img][/img] because I am already using "I" for [i][/i].

Parts:
12345
Shortcut:
[gg:h400g:w600]ri:badassg]
Full Text:
Spaces marked
with underscores
[img_height=400_width=600]http://i.imgur.com/e0BfH9R.jpg[/img]

Which then becomes:





Greentext Shortcut
Set [color=greentext] to [color=#789922]
« Last Edit: April 24, 2016, 11:44:09 PM by SWAT One »