diff --git a/gc_little_helper_II.user.js b/gc_little_helper_II.user.js index f5597984..c8c1cd99 100644 --- a/gc_little_helper_II.user.js +++ b/gc_little_helper_II.user.js @@ -2,7 +2,7 @@ // @name GC little helper II // @description Some little things to make life easy (on www.geocaching.com). //--> $$000 -// @version 0.15.9 +// @version 0.16 //<-- $$000 // @copyright 2010-2016 Torsten Amshove, 2016-2024 2Abendsegler, 2017-2021 Ruko2010, 2019-2024 capoaira // @author Torsten Amshove; 2Abendsegler; Ruko2010; capoaira @@ -2042,7 +2042,7 @@ var mainGC = function() { nav_list.appendChild(sublink); } } - // Search field. + // Navigation, search field. if (settings_bookmarks_search) { var code = "function gclh_search_logs(){"; code += " var search = document.getElementById('navi_search').value.trim();"; @@ -14972,8 +14972,8 @@ var mainGC = function() { //--> $$002 code += 'Public Profile"; html += "
"; - html += newParameterOn3; html += checkboxy('settings_public_profile_avatar_show_thumbnail', 'Show bigger avatar image while hovering with the mouse') + show_help("This option requires \"Show thumbnails of images\".") + "
"; - html += newParameterVersionSetzen('0.12') + newParameterOff; html += newParameterOn1; html += checkboxy('settings_public_profile_smaller_privacy_btn', 'Show smaller privacy buttons') + show_help("Replace the text and links for privacy with a clickable icon button.") + "
"; html += newParameterVersionSetzen('0.14') + newParameterOff; @@ -16810,9 +16808,7 @@ var mainGC = function() { html += "
"; html += checkboxy('settings_show_cache_type_icons_in_dashboard', 'Show cache/TB type in front of log type in Latest Activity list') + "
"; html += checkboxy('settings_show_edit_links_for_logs', 'Show edit links for your own logs') + show_help("With this option direct edit links are shown in your own logs on your dashboard. If you choose such a link, you are immediately in edit mode in your log.") + "
"; - html += newParameterOn3; html += checkboxy('settings_dashboard_show_logs_in_markdown', 'Show log text in Markdown as it is in cache listing') + "
"; - html += newParameterVersionSetzen('0.12') + newParameterOff; html += newParameterOn2; html += checkboxy('settings_dashboard_hide_tb_activity', 'Hide all TB/Coin logs in the Latest Activity') + "
"; html += newParameterVersionSetzen('0.15') + newParameterOff; @@ -16957,9 +16953,7 @@ var mainGC = function() { html += checkboxy('settings_show_vip_listX0', 'Process VIPs') + show_help(content_settings_show_vip_list + "

You can adjust details about this feature also in the Dashboard topic.") + "
"; html += "  " + checkboxy('settings_show_owner_vip_list', 'Show owner in VIP list') + show_help("If you enable this option, the owner is a VIP for the cache, so you can see, what happened with the cache (disable, maint, enable, ...). Then the owner is shown not only in VIP list but also in VIP logs.")+ "
"; html += "  " + checkboxy('settings_show_reviewer_as_vip', 'Show reviewer/publisher in VIP list') + show_help("If you enable this option, the reviewer or publisher of the cache is a VIP for the cache.") + "
"; - html += newParameterOn3; html += "  " + checkboxy('settings_show_lackey_as_vip', 'Show lackey in VIP list') + show_help("If you enable this option, lackeys which logged the cache are VIPs for the cache. Behind the logs of lackeys are primarily employees of Groundspeak who cache. In addition, administrative logs can also be performed by these lackeys. Administrative user of Groundspeak may also be flagged as lackeys. An example of the latter are the logs for archiving older events.") + "
"; - html += newParameterVersionSetzen('0.12') + newParameterOff; html += "  " + checkboxy('settings_show_long_vip', 'Show long VIP list (one row per log)') + show_help("This is another type of displaying the VIP list. If you disable this option you get the short list, one row per VIP and the logs as icons beside the VIP. If you enable this option, there is a row for every log.") + "
"; html += "  " + checkboxy('settings_vip_show_nofound', 'Show a list of VIPs who have not found the cache') + "
"; html += "  " + checkboxy('settings_make_vip_lists_hideable', 'Make VIP lists in listing hideable') + show_help("With this option you can hide and show the VIP lists \"VIP-List\" and \"VIP-List not found\" in cache listing with one click.") + "
"; @@ -17012,9 +17006,7 @@ var mainGC = function() { html += checkboxy('settings_add_search_in_logs_func', 'Add "Search in logs" feature') + "
"; html += checkboxy('settings_show_all_logs_but', 'Show button \"Show all logs\" above the logs') + "
"; html += checkboxy('settings_show_compact_logbook_but', 'Show button \"Show compact logs\" above the logs') + "
"; - html += newParameterOn3; html += checkboxy('settings_show_who_gave_favorite_but', 'Show button \"Show who favorited\" above the logs') + show_help("With this option you can choose to show a button \"Show who favorited\" above the logs. Pressing this button will add a favorite icon to the logs of users who gave a favorite. Additionally, a filter for those logs will be added above the logs.

For performance reasons this functionality must be restricted to caches with 500 favorites or less.") + "
"; - html += newParameterVersionSetzen(0.12) + newParameterOff; html += checkboxy('settings_show_log_counter_but', 'Show button \"Show log counter\" above the logs') + "
"; html += "  " + checkboxy('settings_show_log_counter', 'Show log counter when opening cache listing') + "
"; html += checkboxy('settings_show_bigger_avatars_but', 'Show button \"Show bigger avatars\" above the logs') + "
"; @@ -17038,9 +17030,9 @@ var mainGC = function() { html += "  " + checkboxy('settings_imgcaption_on_topX0', 'Show caption on top'); html += content_geothumbs; html += "    " + "Spoiler filter " + show_help("If one of these words is found in the caption of the image, there will be no real thumbnail. It is to prevent seeing spoilers. Words have to be divided by |. If the field is empty, no checking is done. Default is \"spoiler|hinweis\".") + "
"; - html += newParameterOn2; + html += newParameterOn3; html += checkboxy('settings_listing_bigger_avatar_with_mouse', 'Show bigger avatar image while hovering with the mouse') + show_help("With this option you can choose if a bigger avatar image will load and shown while hovering with the mouse over the small avatar image.

This option requires \"Show thumbnails of images\".") + "
"; - html += newParameterVersionSetzen('0.15') + newParameterOff; + html += newParameterVersionSetzen('0.16') + newParameterOff; html += content_settings_hide_upvotes.replace("settings_hide_upvotes", "settings_hide_upvotesX0"); html += content_settings_smaller_upvotes_icons.replace("settings_smaller_upvotes_icons", "settings_smaller_upvotes_iconsX0"); html += content_settings_no_wiggle_upvotes_click.replace("settings_no_wiggle_upvotes_click", "settings_no_wiggle_upvotes_clickX0"); @@ -17058,16 +17050,12 @@ var mainGC = function() { var content_settings_after_sending_draft_related_log2 = checkboxy('settings_drafts_after_new_logging_view_log', 'After sending a draft related cache log, automatic view log') + show_help('If it was a draft related cache log, you can enable this option to automatic go to view log page, instead of going to cache listing.') + "
"; var content_settings_after_sending_draft_related_log2_button = "  " + checkboxy('settings_drafts_after_new_logging_view_log_button', 'Show button "Back to Drafts" on view log page') + "
"; html += content_settings_after_sending_draft_related_log1; - html += newParameterOn3; html += content_settings_after_sending_draft_related_log2; - html += newParameterVersionSetzen('0.12') + newParameterOff; - html += newParameterOn2; - html += content_settings_after_sending_draft_related_log2_button; - html += newParameterVersionSetzen('0.15') + newParameterOff; html += newParameterOn3; + html += content_settings_after_sending_draft_related_log2_button; + html += newParameterVersionSetzen('0.16') + newParameterOff; html += checkboxy('settings_drafts_download_show_button', 'Enable draft download feature') + show_help("With this option you can activate the draft download feature. A download button will then appear next to the upload button on the draft page.") + "
"; html += "  " + checkboxy('settings_drafts_download_change_logdate', 'Change log dates of the drafts in download file') + show_help("With this option you can choose whether the log dates in the drafts is reduced by one second. This is necessary if you might want to upload the drafts in the download file later, after deleting the drafts on the drafts page, as uploading with the same log date is not possible.") + "
"; - html += newParameterVersionSetzen('0.12') + newParameterOff; html += "
"; html += "

"+prepareHideable.replace("#id#","logging")+"

"; @@ -17081,15 +17069,11 @@ var mainGC = function() { html += checkboxy('settings_unsaved_log_message', 'Show message in case of unsaved log') + "
"; html += checkboxy('settings_show_add_cache_info_in_log_page', 'Show additional cache info') + show_help("If you enable this option, additional cache information such as the favorite points or the favorite percent are shown in the log form next to the cache name.

For basic members, no data is displayed for premium member only caches.") + "
"; html += content_settings_after_sending_draft_related_log1.replace("settings_drafts_go_automatic_back", "settings_drafts_go_automatic_backX0"); - html += newParameterOn3; html += content_settings_after_sending_draft_related_log2.replace("settings_drafts_after_new_logging_view_log", "settings_drafts_after_new_logging_view_logX0"); - html += newParameterVersionSetzen('0.12') + newParameterOff; - html += newParameterOn2; - html += content_settings_after_sending_draft_related_log2_button.replace("settings_drafts_after_new_logging_view_log_button", "settings_drafts_after_new_logging_view_log_buttonX0"); - html += newParameterVersionSetzen('0.15') + newParameterOff; html += newParameterOn3; + html += content_settings_after_sending_draft_related_log2_button.replace("settings_drafts_after_new_logging_view_log_button", "settings_drafts_after_new_logging_view_log_buttonX0"); + html += newParameterVersionSetzen('0.16') + newParameterOff; html += checkboxy('settings_after_new_logging_view_log', 'After sending or edit a non draft related cache log, automatic view log') + show_help('If it was not a draft related cache log or it was an edit of a cache log, you can enable this option to automatic go to view log page, instead of going to cache listing.') + "
"; - html += newParameterVersionSetzen('0.12') + newParameterOff; var placeholderDescription = "Possible placeholders:
  #Found# : Your founds + 1 (reduce it with a minus followed by a number)
  #Found_no# : Your founds (reduce it with a minus followed by a number)
  #Me# : Your username
  #Owner# : Username of the owner
  #Date# : Actual date
  #Time# : Actual time in format hh:mm
  #DateTime# : Actual date actual time
  #GCTBName# : GC or TB name
  #GCTBLink# : GC or TB link
  #GCTBNameLink# : GC or TB name as a link
  #LogDate# : Content of field \"Date Logged\"
(Upper and lower case is not required in the placeholders name.)"; html += newParameterOn2; html += checkboxy('settings_hide_locked_tbs_log_form', 'Hide locked trackables from trackable inventory') + show_help("A trackable can be marked as locked in the trackable listing. Locked trackables cannot be logged. With this option you can hide such trackables from trackable inventory.") + "
"; @@ -17173,7 +17157,7 @@ var mainGC = function() { html += " " + checkboxy('remove_navi_play', 'Play') + "
"; html += " " + checkboxy('remove_navi_community', 'Community') + "
"; html += " " + checkboxy('remove_navi_shop', 'Shop') + "
"; - html += checkboxy('settings_bookmarks_search', 'Show searchfield. Default value ') + "" + show_help("If you enable this option, there will be a searchfield on the top of all GC pages. In this field you can search for GC Ids, TB Ids, tracking numbers, coordinates, ... . Also you can define a default value if you want (like GC ...).

This option requires \"Show Linklist on top\".") + "
"; + html += checkboxy('settings_bookmarks_search', 'Show navigation/search field. Default value ') + "" + show_help("If you enable this option, there will be a navigation/search field on the top of all GC pages. In this field you can navigate respectively search to respectively for geocaches (GC), trackables (TB), geotours (GT), bookmark lists (BM), User codes (PR), geocache logs (GL), tracking code of trackables (6 digits), coordinates, ... .

Also you can define a default value like for example \"GC\" if you want.

This option requires \"Show Linklist on top\".") + "
"; html += checkboxy('settings_show_draft_indicator', 'Show draft indicator') + "
"; html += "" + show_help("With this option your Linklist will be shown at the navigation menu as a dropdown list beside the others.") + "
"; @@ -18551,12 +18535,12 @@ var mainGC = function() { var d = "
"; var s = ""; //--> $$001 - newParameterOn1 = d.replace("#", "06"); - newParameterOn2 = d.replace("#", "10"); - newParameterOn3 = d.replace("#", "03"); - newParameterLL1 = s.replace("#", "06"); - newParameterLL2 = s.replace("#", "10"); - newParameterLL3 = s.replace("#", "03"); + newParameterOn1 = d.replace("#", "03"); + newParameterOn2 = d.replace("#", "06"); + newParameterOn3 = d.replace("#", "10"); + newParameterLL1 = s.replace("#", "03"); + newParameterLL2 = s.replace("#", "06"); + newParameterLL3 = s.replace("#", "10"); //<-- $$001 function newParameterVersionSetzen(version) { var newParameterVers = "