From 4556a6278ccb851adfd5a740892157641c97c635 Mon Sep 17 00:00:00 2001 From: Moebius-Strip Date: Thu, 3 Aug 2017 01:41:59 -0400 Subject: [PATCH] Removed the hidden post options * Removed the hidden post options since the loopholes they used have been fixed (finally). --- README.md | 2 +- better-better-booru.user.js | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6ef002c..d1e24d1 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Links --- Features -------- -* Allows the viewing of hidden/censored tags and automatic control of the number of thumbnails per a page with a basic account or no account. +* Allows the automatic control of the number of thumbnails per a page with a basic account or no account. * Endless pages support for various thumbnail listings with several customization options. * Multiple options and features for improved blacklist functionality: * Session toggle - Make individually disabled blacklist entries persist from page to page. diff --git a/better-better-booru.user.js b/better-better-booru.user.js index f1d397f..38e4944 100644 --- a/better-better-booru.user.js +++ b/better-better-booru.user.js @@ -2,7 +2,7 @@ // @name better_better_booru // @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. Including the viewing of hidden/censored images on non-upgraded accounts and more. +// @description Several changes to make Danbooru much better. // @version 7.4 // @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 @@ -405,14 +405,14 @@ function bbbScript() { // Wrapper for injecting the script into the document. sections: { // Setting sections and ordering. blacklist_options: newSection("general", ["blacklist_session_toggle", "blacklist_post_display", "blacklist_thumb_mark", "blacklist_highlight_color", "blacklist_thumb_controls", "blacklist_smart_view", "blacklist_add_bars", "blacklist_video_playback", "blacklist_ignore_fav"], "Options"), border_options: newSection("general", ["custom_tag_borders", "custom_status_borders", "single_color_borders", "border_width", "border_spacing"], "Options"), - browse: newSection("general", ["show_loli", "show_shota", "show_toddlercon", "show_banned", "show_deleted", "thumbnail_count", "thumb_info", "post_link_new_window"], "Post Browsing"), + browse: newSection("general", ["show_deleted", "thumbnail_count", "thumb_info", "post_link_new_window"], "Post Browsing"), control: newSection("general", ["load_sample_first", "alternate_image_swap", "image_swap_mode", "post_resize", "post_resize_mode", "post_drag_scroll", "autoscroll_post", "disable_embedded_notes", "video_volume"], "Post Control"), endless: newSection("general", ["endless_default", "endless_session_toggle", "endless_separator", "endless_scroll_limit", "endless_remove_dup", "endless_pause_interval", "endless_fill", "endless_preload"], "Endless Pages"), notices: newSection("general", ["show_resized_notice", "minimize_status_notices", "hide_sign_up_notice", "hide_upgrade_notice", "hide_hidden_notice", "hide_tos_notice", "hide_comment_notice", "hide_tag_notice", "hide_upload_notice", "hide_pool_notice", "hide_ban_notice"], "Notices"), sidebar: newSection("general", ["remove_tag_headers", "post_tag_scrollbars", "search_tag_scrollbars", "autohide_sidebar", "fixed_sidebar", "collapse_sidebar"], "Tag Sidebar"), misc: newSection("general", ["direct_downloads", "track_new", "clean_links", "arrow_nav", "post_tag_titles", "search_add", "page_counter", "comment_score", "quick_search"], "Misc."), misc_layout: newSection("general", ["fixed_paginator"], "Misc."), - script_settings: newSection("general", ["bypass_api", "manage_cookies", "enable_status_message", "resize_link_style", "override_blacklist", "override_resize", "override_sample", "disable_tagged_filenames", "thumbnail_count_default", "thumb_cache_limit"], "Script Settings"), + script_settings: newSection("general", ["bypass_api", "manage_cookies", "enable_status_message", "resize_link_style", "override_blacklist", "override_resize", "override_sample", "disable_tagged_filenames", "thumbnail_count_default"], "Script Settings"), status_borders: newSection("border", "status_borders", "Custom Status Borders", "When using custom status borders, the borders can be edited here. For easy color selection, use one of the many free tools on the internet like this one."), tag_borders: newSection("border", "tag_borders", "Custom Tag Borders", "When using custom tag borders, the borders can be edited here. For easy color selection, use one of the many free tools on the internet like this one.") }, @@ -434,10 +434,10 @@ function bbbScript() { // Wrapper for injecting the script into the document. // Script variables. // Global - var show_loli = bbb.user.show_loli; - var show_shota = bbb.user.show_shota; - var show_toddlercon = bbb.user.show_toddlercon; - var show_banned = bbb.user.show_banned; + var show_loli = false; + var show_shota = false; + var show_toddlercon = false; + var show_banned = false; var deleted_shown = (gLoc === "search" && /^(?:any|deleted)$/i.test(getTagVar("status"))); // Check whether deleted posts are shown by default. var show_deleted = deleted_shown || bbb.user.show_deleted; var direct_downloads = bbb.user.direct_downloads; @@ -3334,6 +3334,9 @@ function bbbScript() { // Wrapper for injecting the script into the document. case "7.2.4": case "7.2.5": case "7.3": + case "7.4": + if (reason !== "backup") + bbbNotice("As of version 7.4.1, the options related to hidden/censored posts have been removed due to Danbooru finally fixing their loopholes.", 0); break; }