WhutBBCode? Overview
Dark Theme
Install and Source
Install it from Greasy Fork . . . https://greasyfork.org/en/scripts/1024-whutbbcode
Check out the source . . . https://github.com/hateradio/wbb
As of version 3.0, "WhutBBCode?" has been renamed, so you might have to uninstall previous versions of "WhutBBCode? for What.CD and Waffles.fm" from your user scripts in Greasemonkey/Tampermonkey.
Compatibility
Most Gazelle sites are also compatible; however, they have to be included manually. If you want me to add a site, please send me a message or pull request!
Sites
- Waffles
- Indietorrents
- Cinemageddon
- PTP
- RED, GG, nWCD, BS, bs, and more . . .
-
Apollo
-
What (Archived in the code)
Note that you have to save your settings on every site.
Browsers
- Firefox 4+
- Opera 11+
- Chrome 10+
- Safari 5+
The script is known to work with the Tampermonkey extension.
Shortcut Keys
Shortcut keys were only tested in the above-mentioned browsers.
-
Ctrl + b = [b][/b]
(Bold)
-
Ctrl + i = [i][/i]
(Italic)
-
Ctrl + u = [u][/u]
(Underline)
-
Ctrl + s = [s][/s]
(Strike)
-
Ctrl + k = [#]
(Ordered List Item - What.CD only)
-
Ctrl + l = [*]
(List Item)
-
Ctrl + h = [url=][/url]
(Link)
-
Ctrl + m = [img][/img]
(Image)
-
Ctrl + d = {Delete}
(Erases your message!)
There are several more depending on the site.
Updates
8.3.1
8.3
8.2
- Replace className and set/getAttribute with classList and dataset
- Fix a margin issue for some stylesheets
8.1.1
- Add support for torrentday.com, passthepopcorn.me, myanonamouse.net, broadcasthe.net
8.1
- Enhancement: Edit button now re-creates the WhutBBCode instance instead of overwriting it
8
- New Bootstrap icons
- New button layouts
- New button text (for option with no icons)
- Use icon names from Bootstrap
- New blueprint for orph
7
- removes IE code
- fixes icons for
[hr]
and [pad]
6.6
- replaces
keypress
with keydown
in Firefox
6.5
- fixes preview in inbox
- adds
hr
button
6
5.3
- adds new BB code tags for RED (
[pad]
, [php]
)
- adds a line break before list item tags
- makes sure to only add unique emoticons
5.2
- changes JSON version from string to int
5.1.1
- checks that site configuration exists
- adds grunt and node package files
5.1
- removes unnecessary site configurations
5
- simplifies Gazelle site inclusion, only requires to use @include
4.9.4
- adds support for secret-cinema.pw, fixes efectodoppler
4.9.3
- adds support for efectodoppler.pw
4.9.2
- adds support for reportsv2.php
4.9.1
- adds update check with github json link (cors support)
4.9
- fix width when in sidebar
- adds tehconnection, oppaitime, morethan.tv, alpharatio
- remove update check
- remove bwtm, nostream
4.8
- force button container width and text centering
- shortcut information on button title
- mac shortcut keys
- red <=> pth
4.7
- code and emoticon refactor
- pth emoticon
- adds hidra.zone support
4.6
- edit boxes should now work in Chrome
4.5
- adds support for PTH, GG, nWCD, Nostream, BWTM, BS, bs
- changes some styling for shortcut information
4
- adds apollo support
- enabled all possible BBCode tags, thanks inverness
- fixes emoticons, thanks toy
3.1
- Replaces Waffles.fm for ch
- Fixes Waffles emoticons
- Fixes .gz with .gazelle property
3.0.1 - 3.0.2
- Resolves Chrome errors
- Removes extraneous gray text CSS
- Adds mature tag
3
- Brand new, completely rewritten code base
- Brand new Glyph icons from the Bootstrap source
- More customizable, just read the source comments!
- Same great functionality
2
- WhutBBCode? 2.0 looks a bit different for What.CD because of some new buttons. Overall, the align button has been separated for each individual type.
Newer Gazelle Versions
- Use
[code][/code]
when you want to make an item within a line mono-spaced, like I did just now. Use it for functions, (X)HTML, or any other code snippets.
- Use
[important][/important]
to mark something urgent.
- Use
[#]
to make ordered lists.
For reference, the list above is an unordered list; the list below is an ordered list. You don't use 1, 2, 3. They are included automatically.
- This is the first item.
- This is the second item.
- This is the third item.
Excluding Textareas from WhutBBCode?
Note: If you add "noWhutBB" to the class attribute of a textarea, WhutBBCode? will not do anything to to that text box. It will get ignored.
Example
<textarea class="noWhutBB"></textarea>