Skip to content

Commit

Permalink
disable erroneous post type tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Jun 18, 2024
1 parent c42b816 commit 8fbd6a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Extensions/auto_tagger.js
Original file line number Diff line number Diff line change
@@ -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. **//
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -370,7 +374,7 @@ XKit.extensions.auto_tagger = new Object({
}
return "";

*/
},

return_tags_for_queue: function() {
Expand Down
1 change: 1 addition & 0 deletions Extensions/xkit_preferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion Extensions/xkit_preferences.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//* TITLE XKit Preferences **//
//* VERSION 7.7.0 **//
//* VERSION 7.7.1 **//
//* DESCRIPTION Lets you customize XKit **//
//* DEVELOPER new-xkit **//

Expand Down

0 comments on commit 8fbd6a4

Please sign in to comment.