Skip to content

Commit

Permalink
Version 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Moebius-Strip committed Apr 6, 2018
1 parent f872c3d commit b8f9472
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ Features
* Fixed sidebar - Fix/stick the sidebar to the left side of the page and prevent it from vertically scrolling out of view.
* Collapsible sidebar - Allow sections of the sidebar to be minimized and expanded.
* Fixed paginator - Fix/stick the paginator to the bottom of the window and prevent it from scrolling out of view.
* Move save search - Move the "save this search" button into the sidebar.
* Hide favorite button - Remove the button below post content.
* Add random link - Allow random post access from each post.
* Add popular link - Allow easier popular post listing access from most post pages.
* Various options for easily modifying status borders to your liking and creating your own secondary custom borders that match images based on your criteria.
* Various options for customizing the majority of notices by either altering or hiding them.
* Several other miscellaneous options:
Expand Down
10 changes: 3 additions & 7 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 8.0.2
// @version 8.1
// @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 @@ -322,7 +322,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: "8.0.2",
bbb_version: "8.1",
add_popular_link: newOption("checkbox", false, "Add Popular Link", "Add a link to the popular listing to the \"posts\" submenu"),
add_random_post_link: newOption("checkbox", false, "Add Random Link", "Add a link to a random post to the post sidebar options menu."),
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."),
Expand Down Expand Up @@ -3366,11 +3366,7 @@ function bbbScript() { // Wrapper for injecting the script into the document.
deleteData("bbb_thumb_cache");
case "8.0":
case "8.0.1":
if (reason !== "backup") {
cleanLocalStorage("autocomplete");
localStorage.bbbSetItem("bbb_settings", JSON.stringify(bbb.user));
bbbNotice("Upon the release of Firefox 57 and the move over to Greasemonkey 4, BBB will not be able to fully support Greasemonkey due to decisions the developers have made about loading and saving data. Greasemonkey users will have to revert back to using an older storage method that will still work while suffering a few disadvantages. Those disadvantages include: 1) A much more limited amount of space for storage. 2) The inability to have your settings persist across all Danbooru subdomains and during private browsing. If you are reading this, a copy of your settings has already been saved using the old method, but it is advised that you create a separate backup before updating to Firefox 57 to collect any new changes and/or guard against any unforeseen problems.", 0);
}
case "8.0.2":
break;
}

Expand Down
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Changelog
----------
* Version 8.1:
* Added a "hide favorite button" layout option for hiding the button underneath post content.
* Added an "add random link" layout option for placing a link to a random post in the sidebar options menu of posts.
* Added an "add popular link" layout option for placing a link to the popular listing in the submenu of the posts section.
* Added the custom pool metatag values ("active", etc.) to tag autocomplete.
* Updated to support Danbooru removing uploader names from thumbnail listings ("user" metatag will no longer work on them).
* Updated to support Danbooru removing description tags from thumbnail listing information.
* Fixed the insertion of description tags into sample post URLs.
* Fixed the operators for the "group" metatag so that both "or" (~) and "exclude" (-) can be used at the same time.
* Version 8.0.2:
* Updated to notify Greasemonkey users about the upcoming changes Firefox 57 and Greasemonkey 4 will bring.
* Version 8.0.1:
Expand Down

0 comments on commit b8f9472

Please sign in to comment.