From b45060ab510de8eee1e4e208c1188781beb4b236 Mon Sep 17 00:00:00 2001 From: Moebius-Strip Date: Mon, 30 Oct 2017 21:15:14 -0400 Subject: [PATCH] Version 8.0 --- README.md | 6 ++++-- better-better-booru.user.js | 6 +++--- changelog.md | 14 ++++++++++++++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d1e24d1..53a70bc 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,9 @@ Features * Auto-scroll image - Automatically scroll the post content into view upon browsing a post. * Disable embedded notes - Force notes to display with the original style when viewing a post. * Video volume - Set the default volume of videos or remember your volume settings across videos. + * Video autoplay - Choose whether videos automatically play. + * Video looping - Choose whether videos automatically repeat by default. + * Video controls - Choose whether video controls display by default. * Improved image resizing that works on flash content and also allows resizing by width, height, or both. * Improved ugoira functionality that includes note viewing on sample video versions, an additional "view sample" link for swapping from the original version, and support for swapping between the sample and original with Danbooru's hotkey. * Multiple options for altering the layout: @@ -47,7 +50,6 @@ Features * Direct downloads - Let download managers download all the images currently displayed as thumbnails. * Track new posts - Create a specialized link focused on tracking and browsing new images. * Clean links - Remove extra information from post links in order to reduce history clutter/problems. - * Arrow navigation - Allow the use of the arrow keys to navigate pages. * Post tag titles - Give posts a page title consisting of all of their tags. * Search add - Add/remove links to/from the sidebar tags that allow the easy inclusion or exclusion of additional search tags. * Page counter - Add an indicator near the top of listings that displays the page number information and allows for easy jumping to specific pages. @@ -55,7 +57,7 @@ Features * Quick search - Filter the current thumbnails for specific posts that match your search. * Improved accessibility for logged out users via several options and features: * Control over the blacklist, post sample setting, post resizing setting, and tagged filenames setting. - * Adds back the missing sidebar options section with all the options accessible to logged out users. + * Adds back missing options to the sidebar options section. * Re-enables post to post hotkey navigation for searches. --- diff --git a/better-better-booru.user.js b/better-better-booru.user.js index facf0a6..85251e2 100644 --- a/better-better-booru.user.js +++ b/better-better-booru.user.js @@ -3,7 +3,7 @@ // @namespace https://greasyfork.org/scripts/3575-better-better-booru // @author otani, modified by Jawertae, A Pseudonymous Coder & Moebius Strip. // @description Several changes to make Danbooru much better. -// @version 7.4.1 +// @version 8.0 // @updateURL https://greasyfork.org/scripts/3575-better-better-booru/code/better_better_booru.meta.js // @downloadURL https://greasyfork.org/scripts/3575-better-better-booru/code/better_better_booru.user.js // @match *://*.donmai.us/* @@ -315,7 +315,7 @@ function bbbScript() { // Wrapper for injecting the script into the document. swapped: false // Whether the post content has been changed between the original and sample versions. }, options: { // Setting options and data. - bbb_version: "7.4.1", + bbb_version: "8.0", alternate_image_swap: newOption("checkbox", false, "Alternate Image Swap", "Switch between the sample and original image by clicking the image. NoteNotes can be toggled by using the link in the sidebar options section."), autohide_sidebar: newOption("dropdown", "none", "Auto-hide Sidebar", "Hide the sidebar for posts, favorites listings, and/or searches until the mouse comes close to the left side of the window or the sidebar gains focus.TipsBy using Danbooru's hotkey for the letter \"Q\" to place focus on the search box, you can unhide the sidebar.

Use the \"thumbnail count\" option to get the most out of this feature on search listings.", {txtOptions:["Disabled:none", "Favorites:favorites", "Posts:post", "Searches:search", "Favorites & Posts:favorites post", "Favorites & Searches:favorites search", "Posts & Searches:post search", "All:favorites post search"]}), autoscroll_post: newOption("dropdown", "none", "Auto-scroll Post", "Automatically scroll a post to a particular point. Below Header: Scroll the window down until the header is no longer visible or scrolling is no longer possible. Post Content: Position the post content as close as possible to the left and top edges of the window viewport when initially loading a post. Using this option will also scroll past any notices above the content.", {txtOptions:["Disabled:none", "Below Header:header", "Post Content:post"]}), @@ -8611,7 +8611,7 @@ function bbbScript() { // Wrapper for injecting the script into the document. var sidebarHeight = sidebarRect.height; content.style.minHeight = sidebarHeight - 1 + "px"; - + // There are some cases where text overflows. sidebar.style.overflow = "hidden"; sidebar.style.wordWrap = "break-word"; diff --git a/changelog.md b/changelog.md index 64d405d..6f2073d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,19 @@ Changelog ---------- +* Version 8.0: + * Added thumbnail placeholder options for censored/hidden content. + * Added video options for changing autoplay, looping, and control display behavior. + * Added autocomplete support to the BBB menu. + * Added an "enable menu autocomplete" preferences option. + * Added a negate/invert toggle button to the quick search. + * Added a "group" metatag to the thumbnail matching rules. + * Added a group tab to the BBB menu for creating groups for use with the "group" metatag. + * Removed the "arrow navigation" option since Danbooru supports it. + * Updated tag nesting/grouping to use parentheses without percent signs since percent signs are now allowed in tags. + * Fixed the sidebar search compatibility with the autohide and fixed sidebar options by limiting its width. + * Fixed the page counter option not grabbing the correct current page. + * Fixed the options section displaying twice for logged out users. + * Fixed compatibility with gold level and above accounts. * Version 7.4.1: * Removed the "show loli", "show shota", "shot toddlercon", "show banned", and "thumbnail info cache limit" options in response to changes on Danbooru that render them useless. * Version 7.4: