From 8fbd6a4c73d898ddf26dec2ca2f99c55f2d67db2 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 18 Jun 2024 07:42:59 -0700 Subject: [PATCH] disable erroneous post type tagging --- Extensions/auto_tagger.js | 8 ++++++-- Extensions/xkit_preferences.css | 1 + Extensions/xkit_preferences.js | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Extensions/auto_tagger.js b/Extensions/auto_tagger.js index fd304a4be..6ca73f709 100644 --- a/Extensions/auto_tagger.js +++ b/Extensions/auto_tagger.js @@ -1,5 +1,5 @@ //* TITLE Auto Tagger **// -//* VERSION 0.7.5 **// +//* VERSION 0.7.6 **// //* DESCRIPTION Tags posts automatically. **// //* DEVELOPER new-xkit **// //* DETAILS This extension allows you to automatically add tags to posts based on state (reblogged, original, queued) or post type (audio, video, etc) and keeping original tags while reblogging a post. **// @@ -333,6 +333,10 @@ XKit.extensions.auto_tagger = new Object({ return_tag_based_on_type: function(obj) { + // disabled due to lack of NPF type parsing + return ""; + + /* if ((obj.type === "regular" || obj.type === "text") && XKit.extensions.auto_tagger.preferences.tag_for_text.value !== "") { return XKit.extensions.auto_tagger.preferences.tag_for_text.value; } @@ -370,7 +374,7 @@ XKit.extensions.auto_tagger = new Object({ } return ""; - + */ }, return_tags_for_queue: function() { diff --git a/Extensions/xkit_preferences.css b/Extensions/xkit_preferences.css index 35a741a7b..e854f9b4d 100644 --- a/Extensions/xkit_preferences.css +++ b/Extensions/xkit_preferences.css @@ -1521,6 +1521,7 @@ } .xkit--react .xkit-extension[data-extension-id="people_notifier"], +.xkit--react .xkit-extension[data-extension-id="auto_tagger"], .xkit--react .xkit-extension[data-extension-id="bookmarker"], .xkit--react .xkit-extension[data-extension-id="cleanfeed"], .xkit--react .xkit-extension[data-extension-id="dont_stretch_photosets"], diff --git a/Extensions/xkit_preferences.js b/Extensions/xkit_preferences.js index 10ee64819..cc65256dd 100644 --- a/Extensions/xkit_preferences.js +++ b/Extensions/xkit_preferences.js @@ -1,5 +1,5 @@ //* TITLE XKit Preferences **// -//* VERSION 7.7.0 **// +//* VERSION 7.7.1 **// //* DESCRIPTION Lets you customize XKit **// //* DEVELOPER new-xkit **//