Script Summary: Booru On Rails Extension for Derpibooru: Various Little UI Tweaks and Gismos
This little userscript includes few UI tweaks for the still-developing Booru-On-Rails application, as used at Derpibooru. This aims to add a few frontend doodads and tweaks while the site continues to be developed.
This script is very beta but has been tested on Firefox+Greasemonkey. Your mileage may vary. Here's what it can do at the moment:
- Zoom-in/out cursor for image viewing
- WYSIWYM editing, powered by the markItUp! library
- Refresh/unload-resistant message drafts
- Image preview for manually uploaded images
- Moved "Watched" link (as requested on a support thread)
- Reverse Google Image Search link
- Comment image hiding
- Random image button
Caveat lector! This script will break if the developers make significant changes or introduce these features (a good thing!). There might be a new version up here at that point, however.
No browser compatibility matrix has been made, yet, but it should be compatible with an HTML5-capable browser that supports userscripts. This includes up-to-date copies of Firefox and Chrome.
2013/1/29 jQuery 1.9 update compatibility fixes. If you have not already updated, please do so!
2012/11/24 0.2.5 released to keep things moving. Draft saving has been added. By default, it will automatically save your comment should you leave or refresh a page. You can also save by clicking the draft icon when using the editor widget. A random button is now available for browsing images (FUN FUN FUN FUN), and bug fixes are included.
Update #1 From a suggestion on IRC, the random link has been moved to the top navigation row.
2012/9/12 0.2.4a released with some backend touch-ups kindly done by BigMax. This is a backend update that replaces the cookie-based configuration saving code with DOM Storage. You can now safely remove the "BORED"-prefixed cookies if you wish. It also uses ECMA5's
Array.forEach() in place of jQuery's
$.each() helper function and applies some JSLint suggestions. Thanks!
Draft saving is being developed by BigMax, and I'm probably going to start on user blacklisting or something once I've made more time for this.
2012/8/31 We're now on GitHub! 0.2.3 now released with comment image hiding and some changes to Textile parsing.
2012/8/22 Fixed a few parsing issues due to lack of converted-over HTML tokens. Also making first meta post about this script at Derpibooru.
2012/8/20 #2 Whoops, forgot to add >>x image link support and to trim out HTML-token-like strings (as Derpibooru's parser currently does).
2012/8/20 Downtime from developing this (actually a delayed update deployment) has now concluded. A previewer has finally been implemented! I need to do further edge tests, so please report major bugs with it to me. Obviously, Textile features unsupported by Derpibooru are not supported here.
Fixes for markItUp! loading in the first place are also pushed out. You may want to grab this even if you don't plan to use previewing.