Skip to content

Commit

Permalink
Version 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Moebius-Strip committed Oct 31, 2017
1 parent 104eabe commit b45060a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -47,15 +50,14 @@ 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.
* Comment scores - Make the score rating for comments visible.
* 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.

---
Expand Down
6 changes: 3 additions & 3 deletions better-better-booru.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down Expand Up @@ -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. <tiphead>Note</tiphead>Notes 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.<tiphead>Tips</tiphead>By using Danbooru's hotkey for the letter \"Q\" to place focus on the search box, you can unhide the sidebar.<br><br>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. <tipdesc>Below Header:</tipdesc> Scroll the window down until the header is no longer visible or scrolling is no longer possible. <tipdesc>Post Content:</tipdesc> 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"]}),
Expand Down Expand Up @@ -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";
Expand Down
14 changes: 14 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit b45060a

Please sign in to comment.