XenForum Ignore Members / Threads / Everything

  • Thread starter Thread starter xXxLunaxXx
  • Start date Start date
  • Replies Replies 28
  • Views Views 622
0.00 star(s) No ratings yet
Man, if you actually made an ignore tag, I might actually die of happiness.

Also, thanks for all the work that you do. I swear I see you everywhere putting in amazing work.
If you can, yes, please
You can update the script also here



Exclude an unlimited number of tags

1. Added ignore Tags for LC LU 1 & 2

http://lewdcorner.com/latest-updates.php

https://lewdcorner.com/latest-updatesv2

2. Added ignore Tags for LU of F95



3. Added Ignore Tags support for all other sections

4. Added support for F95, LC, AC, ULMF, and ATF

What is New?

You’re all familiar with the problem of being able to exclude only a limited number of tags... And the inability to filter by tags like DAZ, Koikatsu, Active, Other, Hand-Drawn, and so on. That’s all been resolved now; from this point on, you can use all the tags you already know from LU, as well as tags like DAZ, Koikatsu, and so on.


For user this line is important

Code:
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];

Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      3.8
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;


// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html.trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("div.userBanner."+ element + ".message-userBanner");
});

var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

if (ignoreLCDonationBanners) {
    GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble { display: none !important; }", "12");
}

if (addIgnoreButton) {
window.addEventListener("load", function() {
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element !== undefined) {
               $(this).append("<a href=\"" + element + "ignore\"> Ignore " + author + "</a><br>");
               if (useSameId) {
                  $(this).append("<a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\"> Hide " + author + "</a><br>");
                  $(this).append("<a class=\"reset_custom_member\" href=\"#\"> Reset All</a>");
               }
            }
       });
       if (useSameId) {
          $(userItem).on('click', 'section.message-user .ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', 'section.message-user .reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
         });
       }
    });
});
}
}
 
Last edited:
Fixed:

You must be registered to see attachments


You can also update it here




Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      4.0
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;


// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html.trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("div.userBanner."+ element + ".message-userBanner");
});

var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

if (ignoreLCDonationBanners) {
    GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble { display: none !important; }", "12");
}

if (addIgnoreButton) {
GM_addStyle(".ignore_custom_member,reset_custom_member { display: block !important; }", "12");
window.addEventListener("load", function() {
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element !== undefined) {
               $(this).append("<a href=\"" + element + "ignore\"> Ignore " + author + "</a>");
               if (useSameId) {
                  $(this).append("<a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\"> Hide " + author + "</a>");
                  $(this).append("<a class=\"reset_custom_member\" href=\"#\"> Reset All</a>");
               }
            }
       });
       if (useSameId) {
          $(userItem).on('click', 'section.message-user .ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', 'section.message-user .reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
         });
       }
    });
});
}
}
 

Attachments

You must be registered for see attachments list
Last edited:
Added:

You must be registered to see attachments


You can also update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      4.1
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;


// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var ignoreTagsOriginal = [...ignoreTags];

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html.trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("div.userBanner."+ element + ".message-userBanner");
});

var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

if (ignoreLCDonationBanners) {
    GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble { display: none !important; }", "12");
}

if (addIgnoreButton) {
GM_addStyle(".ignore_custom_member,.reset_custom_member,.add_tags { display: block !important; }", "12");
window.addEventListener("load", function() {
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element !== undefined) {
               $(this).append("<a href=\"" + element + "ignore\"> Ignore " + author + "</a>");
               if (useSameId) {
                  $(this).append("<a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\"> Hide " + author + "</a>");
                  $(this).append("<a class=\"reset_custom_member\" href=\"#\"> Reset All</a>");
                  $(this).append("<a class=\"add_tags\" href=\"#\"> Add Ignore Tags</a>");
               }
            }
       });
       if (useSameId) {
          $(userItem).on('click', 'section.message-user .ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', 'section.message-user .reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            ignoreTags = [...ignoreTagsOriginal];
            window.location.reload();
         });
         $(userItem).on('click', 'section.message-user .add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):");
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreTags = [...itemsArray];
             alert("Ignored Tags are : " + ignoreTags);
         });
       }
    });
});
}
}
 

Attachments

You must be registered for see attachments list
Last edited:
Added:

You must be registered to see attachments


You can update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      4.4
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;


// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var ignoreTagsOriginal = [...ignoreTags];

ignoreTags = GM_getValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
ignoreTags = JSON.parse(ignoreTags);

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html.trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("div.userBanner."+ element + ".message-userBanner");
});

var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

if (ignoreLCDonationBanners) {
    GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble { display: none !important; }", "12");
}

if (addIgnoreButton) {
GM_addStyle(".ignore_custom_member,.reset_custom_member,.add_tags,.show_tags,.reset_tags { display: block !important; }", "12");
window.addEventListener("load", function() {
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element !== undefined) {
               $(this).append("<a href=\"" + element + "ignore\"> Ignore " + author + "</a>");
               if (useSameId) {
                  $(this).append("<a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\"> Hide " + author + "</a>");
                  $(this).append("<a class=\"reset_custom_member\" href=\"#\"> Reset Ignore Users</a>");
                  $(this).append("<a class=\"add_tags\" href=\"#\"> Set Ignore Tags</a>");
                  $(this).append("<a class=\"show_tags\" href=\"#\"> Show Ignore Tags</a>");
                  $(this).append("<a class=\"reset_tags\" href=\"#\"> Reset Ignore Tags</a>");
               }
            }
       });
       if (useSameId) {
          $(userItem).on('click', 'section.message-user .ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', 'section.message-user .reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            window.location.reload();
         });
         $(userItem).on('click', 'section.message-user .add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):");
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreTags = [...itemsArray];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
             alert("Ignored Tags are : " + ignoreTags);
         });
         $(userItem).on('click', 'section.message-user .show_tags', function(event) {
             alert("Ignored Tags are : " + ignoreTags);
         });
         $(userItem).on('click', 'section.message-user .reset_tags', function(event) {
             ignoreTags = [...ignoreTagsOriginal];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
             alert("Ignored Tags are : " + ignoreTags);
         });
       }
    });
});
}
}
 

Attachments

You must be registered for see attachments list
In order to preserve white space, we change something:

You must be registered to see attachments


and now we can change our tags the we have saved to vars

You can update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      4.8
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;


// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var ignoreTagsOriginal = [...ignoreTags];
var ignoreReactionsMembersOriginal = [...ignoreReactionsMembers];
var ignoreMembersDirectMessagesReactionsOriginal = [...ignoreMembersDirectMessagesReactions];

if (addIgnoreButton && hideUsersPermanent) {
   ignoreTags = GM_getValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
   ignoreTags = JSON.parse(ignoreTags);
   ignoreReactionsMembers = GM_getValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembersOriginal));
   ignoreReactionsMembers = JSON.parse(ignoreReactionsMembers);
   ignoreMembersDirectMessagesReactions = GM_getValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactionsOriginal));
   ignoreMembersDirectMessagesReactions = JSON.parse(ignoreMembersDirectMessagesReactions);
}

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html.trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("div.userBanner."+ element + ".message-userBanner");
});

var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

if (ignoreLCDonationBanners) {
    GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble { display: none !important; }", "12");
}

if (addIgnoreButton) {
GM_addStyle(".message-attribution-main .set_r,.message-attribution-main .reset_r,.message-attribution-main .ignore_xenforo_user,.message-attribution-main .ignore_custom_member,.message-attribution-main .reset_custom_member,.message-attribution-main .add_tags,.message-attribution-main .show_tags,.message-attribution-main .reset_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1200");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution a { min-height: 0px !important; font-size: 12px !important; color: unset;}', "1201");
GM_addStyle('.message-attribution-main .reset_c_sep { font-size: 12px !important; }', "1202");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution { font-size: 12px !important; }', "1203");

window.addEventListener("load", function() {
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element === undefined) {
                var ele = $(this).find(".message-userDetails .message-name a");
                if (ele.length) {
                    element = ele.attr("href");
                }
            }
            if (element !== undefined) {
               var addedElement = this;
               addedElement = $(userItem).find(".message-attribution .message-attribution-main");
               $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_xenforo_user\" href=\"" + element + "ignore\">Ignore User</a>");
               if (useSameId) {
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\">Hide User</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_custom_member\" href=\"#\">Reset Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_tags\" href=\"#\">Reset Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_r\" href=\"#\">Reset Ignore Reactions</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"show_tags\" href=\"#\">Set Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"add_tags\" href=\"#\">Set Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"set_r\" href=\"#\">Set Ignore Reactions</a>");
               }
            }
       });
       if (useSameId) {
          var selector = "section.message-user ";
          selector = ".message-attribution .message-attribution-main a";
          $(userItem).on('click', selector + '.ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', selector + '.reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            window.location.reload();
         });
         $(userItem).on('click', selector + '.add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):", ignoreTags.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreTags = [...itemsArray];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.show_tags', function(event) {
             var userInput = prompt("Enter multiple users separated by commas (e.g., Apple, Banana, Orange):", ignoreMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreMembers = [...itemsArray];
             GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
             GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembers));
             alert("Ignored Users are : " + ignoreMembers.join(", "));
         });
         $(userItem).on('click', selector + '.reset_tags', function(event) {
             ignoreTags = [...ignoreTagsOriginal];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.set_r', function(event) {
             var userInput = prompt("Enter multiple users where you want ignore his reactions separated by commas (e.g., Apple, Banana, Orange):", ignoreReactionsMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreReactionsMembers = [...itemsArray];
             ignoreMembersDirectMessagesReactions = [...itemsArray];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selector + '.reset_r', function(event) {
             ignoreReactionsMembers = [...ignoreReactionsMembersOriginal];
             ignoreMembersDirectMessagesReactions = [...ignoreMembersDirectMessagesReactionsOriginal];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
       }
    });
});
}
}
[CODE]
[/SPOILER]

If you click "reset ignore tags," everything reverts to the value in the variable; if you click "set ignore tags," it looks like this now:

for example

var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];

You must be registered to see attachments


the same bahaviour is for the other vars too
 

Attachments

You must be registered for see attachments list
Last edited:
Fixed:

- Ignored Tags In LU and LU2 doesn't works with the new theme
- Ranks can not be ignored in the new theme

You can update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      6.0
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;

// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

function waitForElement(selector, callback) {
    const observer = new MutationObserver((mutations, observer) => {
        const element = document.querySelector(selector);
        if (element) {
            observer.disconnect();
            callback(element);
        }
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true,
    });
}

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

function ignoreLCDonBanners() {
    if (ignoreLCDonationBanners) {
        GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble, .stfrtDonateBubble.is-unavailable { display: none !important; }", "12");
        $(document).ready(function() {
            waitForElement('.stfrtDonate-liteBtn.stfrtDonate-hideToday', function(element) {
                $(element).trigger("click");
            });
        });
    }
}

var ignoreTagsOriginal = [...ignoreTags];
var ignoreReactionsMembersOriginal = [...ignoreReactionsMembers];
var ignoreMembersDirectMessagesReactionsOriginal = [...ignoreMembersDirectMessagesReactions];

if (addIgnoreButton && hideUsersPermanent) {
   ignoreTags = GM_getValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
   ignoreTags = JSON.parse(ignoreTags);
   ignoreReactionsMembers = GM_getValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembersOriginal));
   ignoreReactionsMembers = JSON.parse(ignoreReactionsMembers);
   ignoreMembersDirectMessagesReactions = GM_getValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactionsOriginal));
   ignoreMembersDirectMessagesReactions = JSON.parse(ignoreMembersDirectMessagesReactions);
}

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
       ignoreLCDonBanners();
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("html body div.userBanner."+ element + ".message-userBanner");
});
var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

ignoreLCDonBanners();

if (addIgnoreButton) {
GM_addStyle(".message-attribution-main .set_r,.message-attribution-main .reset_r,.message-attribution-main .ignore_xenforo_user,.message-attribution-main .ignore_custom_member,.message-attribution-main .reset_custom_member,.message-attribution-main .add_tags,.message-attribution-main .show_tags,.message-attribution-main .reset_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1200");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution a { min-height: 0px !important; font-size: 12px !important; color: unset;}', "1201");
GM_addStyle('.message-attribution-main .reset_c_sep { font-size: 12px !important; }', "1202");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution { font-size: 12px !important; }', "1203");

window.addEventListener("load", function() {
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element === undefined) {
                var ele = $(this).find(".message-userDetails .message-name a");
                if (ele.length) {
                    element = ele.attr("href");
                }
            }
            if (element !== undefined) {
               var addedElement = this;
               addedElement = $(userItem).find(".message-attribution .message-attribution-main");
               $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_xenforo_user\" href=\"" + element + "ignore\">Ignore User</a>");
               if (useSameId) {
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\">Hide User</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_custom_member\" href=\"#\">Reset Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_tags\" href=\"#\">Reset Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_r\" href=\"#\">Reset Ignore Reactions</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"show_tags\" href=\"#\">Set Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"add_tags\" href=\"#\">Set Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"set_r\" href=\"#\">Set Ignore Reactions</a>");
               }
            }
       });
       if (useSameId) {
          var selector = "section.message-user ";
          selector = ".message-attribution .message-attribution-main a";
          $(userItem).on('click', selector + '.ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', selector + '.reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            window.location.reload();
         });
         $(userItem).on('click', selector + '.add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):", ignoreTags.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreTags = [...itemsArray];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.show_tags', function(event) {
             var userInput = prompt("Enter multiple users separated by commas (e.g., Apple, Banana, Orange):", ignoreMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreMembers = [...itemsArray];
             GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
             GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembers));
             alert("Ignored Users are : " + ignoreMembers.join(", "));
         });
         $(userItem).on('click', selector + '.reset_tags', function(event) {
             ignoreTags = [...ignoreTagsOriginal];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.set_r', function(event) {
             var userInput = prompt("Enter multiple users where you want ignore his reactions separated by commas (e.g., Apple, Banana, Orange):", ignoreReactionsMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreReactionsMembers = [...itemsArray];
             ignoreMembersDirectMessagesReactions = [...itemsArray];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selector + '.reset_r', function(event) {
             ignoreReactionsMembers = [...ignoreReactionsMembersOriginal];
             ignoreMembersDirectMessagesReactions = [...ignoreMembersDirectMessagesReactionsOriginal];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
       }
    });
});
}
}
 
Added:

- Now you can ignore ranks if you click on them

You must be registered to see attachments


You can update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      6.1
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = [];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;

// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var ignoreLCBannersOld = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];

function waitForElement(selector, callback) {
    const observer = new MutationObserver((mutations, observer) => {
        const element = document.querySelector(selector);
        if (element) {
            observer.disconnect();
            callback(element);
        }
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true,
    });
}

var useSameId = true;

function GM_addStyle(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

function ignoreLCDonBanners() {
    if (ignoreLCDonationBanners) {
        GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble, .stfrtDonateBubble.is-unavailable { display: none !important; }", "12");
        $(document).ready(function() {
            waitForElement('.stfrtDonate-liteBtn.stfrtDonate-hideToday', function(element) {
                $(element).trigger("click");
            });
        });
    }
}

var ignoreTagsOriginal = [...ignoreTags];
var ignoreReactionsMembersOriginal = [...ignoreReactionsMembers];
var ignoreMembersDirectMessagesReactionsOriginal = [...ignoreMembersDirectMessagesReactions];
var ignoreLCBannersOriginal = [...ignoreLCBanners];

if (addIgnoreButton && hideUsersPermanent) {
   ignoreLCBanners = GM_getValue("ignoreLCRanks", JSON.stringify(ignoreLCBannersOriginal));
   ignoreLCBanners = JSON.parse(ignoreLCBanners);
   ignoreTags = GM_getValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
   ignoreTags = JSON.parse(ignoreTags);
   ignoreReactionsMembers = GM_getValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembersOriginal));
   ignoreReactionsMembers = JSON.parse(ignoreReactionsMembers);
   ignoreMembersDirectMessagesReactions = GM_getValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactionsOriginal));
   ignoreMembersDirectMessagesReactions = JSON.parse(ignoreMembersDirectMessagesReactions);
}

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
       ignoreLCDonBanners();
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("html body div.userBanner."+ element + ".message-userBanner");
});
var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

ignoreLCDonBanners();

if (addIgnoreButton) {
GM_addStyle(".message-attribution-main .set_r,.message-attribution-main .reset_r,.message-attribution-main .ignore_xenforo_user,.message-attribution-main .ignore_custom_member,.message-attribution-main .reset_custom_member,.message-attribution-main .add_tags,.message-attribution-main .show_tags,.message-attribution-main .reset_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1200");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution a { min-height: 0px !important; font-size: 12px !important; color: unset;}', "1201");
GM_addStyle('.message-attribution-main .reset_c_sep { font-size: 12px !important; }', "1202");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution { font-size: 12px !important; }', "1203");
GM_addStyle('.reset_ranks_lc_r,.set_ranks_lc_r { font-size: 12px !important; display: block !important; padding: 0px !important; margin: 0px !important; line-height: 3px !important; }', "1204");

window.addEventListener("load", function() {
    $("html body div.userBanner.message-userBanner").each(function (index ) {
        var classes = $(this).attr('class');
        var classesArray = classes.split(/\s+/);
        var rank = classesArray[1];
        $(this).on("click", function(event) {
            var answer = confirm("Do you want ignore the rank " + rank + " ?");
            if (answer) {
               if (!ignoreLCBanners.includes(rank)) {
                   ignoreLCBanners.push(rank);
                   GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
                   alert("rank " + rank + " is ignored");
                   window.location.reload();
               }
            }
        });
    });
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element === undefined) {
                var ele = $(this).find(".message-userDetails .message-name a");
                if (ele.length) {
                    element = ele.attr("href");
                }
            }
            if (element !== undefined) {
               var addedElementOriginal = this;
               var addedElement = this;
               addedElement = $(userItem).find(".message-attribution .message-attribution-main");
               $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_xenforo_user\" href=\"" + element + "ignore\">Ignore User</a>");
               if (useSameId) {
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\">Hide User</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_custom_member\" href=\"#\">Reset Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_tags\" href=\"#\">Reset Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_r\" href=\"#\">Reset Ignore Reactions</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"show_tags\" href=\"#\">Set Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"add_tags\" href=\"#\">Set Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"set_r\" href=\"#\">Set Ignore Reactions</a>");
                  $(addedElementOriginal).append("<a class=\"reset_ranks_lc_r\" href=\"#\">Reset Ignored Ranks</a>");
                  $(addedElementOriginal).append("<a class=\"set_ranks_lc_r\" href=\"#\">Set Ignored Ranks</a>");
               }
            }
       });
       if (useSameId) {
          var selector = "section.message-user ";
          var selectorOriginal = selector;
          selector = ".message-attribution .message-attribution-main a";
          $(userItem).on('click', selector + '.ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', selector + '.reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            window.location.reload();
         });
         $(userItem).on('click', selector + '.add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):", ignoreTags.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreTags = [...itemsArray];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.show_tags', function(event) {
             var userInput = prompt("Enter multiple users separated by commas (e.g., Apple, Banana, Orange):", ignoreMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreMembers = [...itemsArray];
             GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
             GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembers));
             alert("Ignored Users are : " + ignoreMembers.join(", "));
         });
         $(userItem).on('click', selector + '.reset_tags', function(event) {
             ignoreTags = [...ignoreTagsOriginal];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.set_r', function(event) {
             var userInput = prompt("Enter multiple users where you want ignore his reactions separated by commas (e.g., Apple, Banana, Orange):", ignoreReactionsMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreReactionsMembers = [...itemsArray];
             ignoreMembersDirectMessagesReactions = [...itemsArray];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selector + '.reset_r', function(event) {
             ignoreReactionsMembers = [...ignoreReactionsMembersOriginal];
             ignoreMembersDirectMessagesReactions = [...ignoreMembersDirectMessagesReactionsOriginal];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selectorOriginal + '.set_ranks_lc_r', function(event) {
             var userInput = prompt("Enter multiple ranks where you want ignore this rank separated by commas (e.g., " + ignoreLCBannersOld.join(", ") + "):", ignoreLCBanners.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             ignoreLCBanners = [...itemsArray];
             GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
             alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selectorOriginal + '.reset_ranks_lc_r', function(event) {
             ignoreLCBanners = [...ignoreLCBannersOriginal];
             GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
             alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
             window.location.reload();
         });
       }
    });
});
}
}
 

Attachments

You must be registered for see attachments list
Fixed:

- Stability issues

Version 6.6 is the latest please update to this version

You can update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      6.6
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = [];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;

// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var ignoreLCBannersOld = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];

function isString(wert) {
    return typeof wert === 'string' || wert instanceof String;
}

function safeArray(a) {
    var b = [];
    a.forEach((element, index) => {
        if (element === undefined || element === null || !isString(element) || element.length == 0) {
            return;
        }
        b.push(element);
    });
    return b;
}

ignoreMembers = safeArray(ignoreMembers);
ignoreReactionsMembers = safeArray(ignoreReactionsMembers);
ignoreTags = safeArray(ignoreTags);
ignoreMembersDirectMessages = safeArray(ignoreMembersDirectMessages);
ignoreMembersDirectMessagesReactions = safeArray(ignoreMembersDirectMessagesReactions);
ignoreLCSignatureMembers = safeArray(ignoreLCSignatureMembers);
ignoreLCSignatureDirectMessagesMembers = safeArray(ignoreLCSignatureDirectMessagesMembers);
ignoreLCBanners = safeArray(ignoreLCBanners);

function waitForElement(selector, callback) {
    const observer = new MutationObserver((mutations, observer) => {
        const element = document.querySelector(selector);
        if (element) {
            observer.disconnect();
            callback(element);
        }
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true,
    });
}

var useSameId = true;

function GM_addStyle_old(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

function GM_addStyle(css, id) {
  try {
      GM_addStyle_old(css, id);
  } catch (error) {
      console.error(error);
  }
}

function ignoreLCDonBanners() {
    if (ignoreLCDonationBanners) {
        GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble, .stfrtDonateBubble.is-unavailable { display: none !important; }", "12");
        $(document).ready(function() {
            waitForElement('.stfrtDonate-liteBtn.stfrtDonate-hideToday', function(element) {
                $(element).trigger("click");
            });
        });
    }
}

var ignoreTagsOriginal = [...ignoreTags];
var ignoreReactionsMembersOriginal = [...ignoreReactionsMembers];
var ignoreMembersDirectMessagesReactionsOriginal = [...ignoreMembersDirectMessagesReactions];
var ignoreLCBannersOriginal = [...ignoreLCBanners];

if (addIgnoreButton && hideUsersPermanent) {
   ignoreLCBanners = GM_getValue("ignoreLCRanks", JSON.stringify(ignoreLCBannersOriginal));
   ignoreLCBanners = JSON.parse(ignoreLCBanners);
   ignoreLCBanners = safeArray(ignoreLCBanners);
   ignoreTags = GM_getValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
   ignoreTags = JSON.parse(ignoreTags);
   ignoreTags = safeArray(ignoreTags);
   ignoreReactionsMembers = GM_getValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembersOriginal));
   ignoreReactionsMembers = JSON.parse(ignoreReactionsMembers);
   ignoreReactionsMembers = safeArray(ignoreReactionsMembers);
   ignoreMembersDirectMessagesReactions = GM_getValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactionsOriginal));
   ignoreMembersDirectMessagesReactions = JSON.parse(ignoreMembersDirectMessagesReactions);
   ignoreMembersDirectMessagesReactions = safeArray(ignoreMembersDirectMessagesReactions);
}

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
       ignoreLCDonBanners();
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

newIgnoreMembers = safeArray(newIgnoreMembers);
newDirectIgnoreMembers = safeArray(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("html body div.userBanner."+ element + ".message-userBanner");
});
var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

ignoreLCDonBanners();

if (addIgnoreButton) {
GM_addStyle(".message-attribution-main .set_r,.message-attribution-main .reset_r,.message-attribution-main .ignore_xenforo_user,.message-attribution-main .ignore_custom_member,.message-attribution-main .reset_custom_member,.message-attribution-main .add_tags,.message-attribution-main .show_tags,.message-attribution-main .reset_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1200");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution a { min-height: 0px !important; font-size: 12px !important; color: unset;}', "1201");
GM_addStyle('.message-attribution-main .reset_c_sep { font-size: 12px !important; }', "1202");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution { font-size: 12px !important; }', "1203");
GM_addStyle('.reset_ranks_lc_r,.set_ranks_lc_r { font-size: 12px !important; display: block !important; padding: 0px !important; margin: 0px !important; line-height: 10px !important; }', "1204");

window.addEventListener("load", function() {
    $("html body div.userBanner.message-userBanner").each(function (index ) {
        var classes = $(this).attr('class');
        var classesArray = classes.split(/\s+/);
        var rank = classesArray[1];
        $(this).on("click", function(event) {
            var answer = confirm("Do you want ignore the rank " + rank + " ?");
            if (answer) {
               if (!ignoreLCBanners.includes(rank)) {
                   ignoreLCBanners.push(rank);
                   GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
                   alert("rank " + rank + " is ignored");
                   window.location.reload();
               }
            }
        });
    });
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element === undefined) {
                var ele = $(this).find(".message-userDetails .message-name a");
                if (ele.length) {
                    element = ele.attr("href");
                }
            }
            if (element !== undefined) {
               var addedElementOriginal = this;
               var addedElement = this;
               addedElement = $(userItem).find(".message-attribution .message-attribution-main");
               $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_xenforo_user\" href=\"" + element + "ignore\">Ignore User</a>");
               if (useSameId) {
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\">Hide User</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_custom_member\" href=\"#\">Reset Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_tags\" href=\"#\">Reset Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_r\" href=\"#\">Reset Ignore Reactions</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"show_tags\" href=\"#\">Set Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"add_tags\" href=\"#\">Set Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"set_r\" href=\"#\">Set Ignore Reactions</a>");
                  $(addedElementOriginal).append("<a class=\"reset_ranks_lc_r\" href=\"#\">Reset Ignored Ranks</a>");
                  $(addedElementOriginal).append("<a class=\"set_ranks_lc_r\" href=\"#\">Set Ignored Ranks</a>");
               }
            }
       });
       if (useSameId) {
          var selector = "section.message-user ";
          var selectorOriginal = selector;
          selector = ".message-attribution .message-attribution-main a";
          $(userItem).on('click', selector + '.ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', selector + '.reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            window.location.reload();
         });
         $(userItem).on('click', selector + '.add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):", ignoreTags.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreTags = [...itemsArray];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.show_tags', function(event) {
             var userInput = prompt("Enter multiple users separated by commas (e.g., Apple, Banana, Orange):", ignoreMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreMembers = [...itemsArray];
             GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
             GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembers));
             alert("Ignored Users are : " + ignoreMembers.join(", "));
         });
         $(userItem).on('click', selector + '.reset_tags', function(event) {
             ignoreTags = [...ignoreTagsOriginal];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.set_r', function(event) {
             var userInput = prompt("Enter multiple users where you want ignore his reactions separated by commas (e.g., Apple, Banana, Orange):", ignoreReactionsMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreReactionsMembers = [...itemsArray];
             ignoreMembersDirectMessagesReactions = [...itemsArray];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selector + '.reset_r', function(event) {
             ignoreReactionsMembers = [...ignoreReactionsMembersOriginal];
             ignoreMembersDirectMessagesReactions = [...ignoreMembersDirectMessagesReactionsOriginal];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selectorOriginal + '.set_ranks_lc_r', function(event) {
             var userInput = prompt("Enter multiple ranks where you want ignore this rank separated by commas (e.g., " + ignoreLCBannersOld.join(", ") + "):", ignoreLCBanners.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreLCBanners = [...itemsArray];
             GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
             alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selectorOriginal + '.reset_ranks_lc_r', function(event) {
             ignoreLCBanners = [...ignoreLCBannersOriginal];
             GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
             alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
             window.location.reload();
         });
       }
    });
});
}
}
 
Last edited:
Fixed:

- Set ignore Ranks and Reset ignore Ranks is displayed on all Xenforo Forums but its only a LC available feature

Version 6.7 is the latest please update to this version

You can update it here



Code:
// ==UserScript==
// @name         Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace    http://tampermonkey.net
// @version      6.7
// @description  ignore members and more in xenforo forums
// @author       You
// @match        https://lewdcorner.com/threads/*
// @match        https://lewdcorner.com/direct-messages/*
// @match        https://azkoselscorner.com/index.php?threads/*
// @match        https://azkoselscorner.com/index.php?direct-messages/*
// @match        https://f95zone.to/threads/*
// @match        https://f95zone.to/direct-messages/*
// @match        https://ulmf.org/threads/*
// @match        https://ulmf.org/direct-messages/*
// @match        https://allthefallen.moe/forum/index.php?threads/*
// @match        https://allthefallen.moe/forum/index.php?direct-messages/*
// @match        https://lewdcorner.com
// @match        https://f95zone.to
// @match        https://azkoselscorner.com/index.php
// @match        https://allthefallen.moe/forum/index.php
// @match        https://ulmf.org
// @match        https://lewdcorner.com/forums/*
// @match        https://f95zone.to/forums/*
// @match        https://ulmf.org/forums/*
// @match        https://azkoselscorner.com/index.php?forums/*
// @match        https://allthefallen.moe/forum/index.php?forums/*
// @match        https://lewdcorner.com/latest-updatesv2*
// @match        https://lewdcorner.com/latest-updates.php*
// @match        https://f95zone.to/sam/latest_alpha/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_setValue
// @grant GM_getValue
// @run-at       document-start
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @license wolfitdm
// @downloadURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.user.js
// @updateURL https://update.greasyfork.org/scripts/590203/LewdcornerAzkosels%20CornerF95zoneULMFATF%20Ignore%20Members%20And%20More%20V30.meta.js
// ==/UserScript==

// All XenForo Forums

var addIgnoreButton = true;
var hideUsersPermanent = true;

// Threads

var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreTags = ["VN", "DAZ", "Hand Drawn", "Ren'Py", "Complete", "AI", "RPGM", "ports", "Hiatus", "Abondened", "Loli", "animated", "2d game", "sleep sex", "RPG", "Patreon", "Active"];
var ignoreMembersAll = false;
var ignoreReactionsAll = false;

// Direct Messages

var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;

// LC Threads

var ignoreLCSignatureMembers = ["user1", "user2", "user3"];

// LC Direct Messages

var ignoreLCSignatureDirectMessagesMembers = ["user1", "user2", "user3"];

// LC Threads and Direct Messages

var ignoreLCBanners = [];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = true;
var ignoreLCSignaturesAll = false;
var ignoreLCWhiteSpaceSoMuchYouCan = false;

// ------------------------------------------------

// CODE DONT'T TOUCH THIS PLEASE

// -----------------------------------------------

var ignoreLCBannersOld = ["t1", "t2", "t3", "t4", "t5", "t6", "Registered", "Lewd", "VIPplus", "UwU", "Godly", "Donator", "Donator2"];

function isString(wert) {
    return typeof wert === 'string' || wert instanceof String;
}

function safeArray(a) {
    var b = [];
    a.forEach((element, index) => {
        if (element === undefined || element === null || !isString(element) || element.length == 0) {
            return;
        }
        b.push(element);
    });
    return b;
}

ignoreMembers = safeArray(ignoreMembers);
ignoreReactionsMembers = safeArray(ignoreReactionsMembers);
ignoreTags = safeArray(ignoreTags);
ignoreMembersDirectMessages = safeArray(ignoreMembersDirectMessages);
ignoreMembersDirectMessagesReactions = safeArray(ignoreMembersDirectMessagesReactions);
ignoreLCSignatureMembers = safeArray(ignoreLCSignatureMembers);
ignoreLCSignatureDirectMessagesMembers = safeArray(ignoreLCSignatureDirectMessagesMembers);
ignoreLCBanners = safeArray(ignoreLCBanners);

function waitForElement(selector, callback) {
    const observer = new MutationObserver((mutations, observer) => {
        const element = document.querySelector(selector);
        if (element) {
            observer.disconnect();
            callback(element);
        }
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true,
    });
}

var useSameId = true;

function GM_addStyle_old(css, id) {
  if (useSameId) {
    id = "";
  }
  const style = document.getElementById("GM_addStyleBy8626") || (function() {
    const style = document.createElement('style');
    style.type = 'text/css';
    style.id = "GM_addStyleBy8626" + id;
    document.head.appendChild(style);
    return style;
  })();
  const sheet = style.sheet;
  sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
}

function GM_addStyle(css, id) {
  try {
      GM_addStyle_old(css, id);
  } catch (error) {
      console.error(error);
  }
}

function ignoreLCDonBanners() {
    if (ignoreLCDonationBanners) {
        GM_addStyle(".jblcDonateNotice, .stfrtDonateBubble, .stfrtDonateBubble.is-unavailable { display: none !important; }", "12");
        $(document).ready(function() {
            waitForElement('.stfrtDonate-liteBtn.stfrtDonate-hideToday', function(element) {
                $(element).trigger("click");
            });
        });
    }
}

var ignoreTagsOriginal = [...ignoreTags];
var ignoreReactionsMembersOriginal = [...ignoreReactionsMembers];
var ignoreMembersDirectMessagesReactionsOriginal = [...ignoreMembersDirectMessagesReactions];
var ignoreLCBannersOriginal = [...ignoreLCBanners];

if (addIgnoreButton && hideUsersPermanent) {
   ignoreLCBanners = GM_getValue("ignoreLCRanks", JSON.stringify(ignoreLCBannersOriginal));
   ignoreLCBanners = JSON.parse(ignoreLCBanners);
   ignoreLCBanners = safeArray(ignoreLCBanners);
   ignoreTags = GM_getValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
   ignoreTags = JSON.parse(ignoreTags);
   ignoreTags = safeArray(ignoreTags);
   ignoreReactionsMembers = GM_getValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembersOriginal));
   ignoreReactionsMembers = JSON.parse(ignoreReactionsMembers);
   ignoreReactionsMembers = safeArray(ignoreReactionsMembers);
   ignoreMembersDirectMessagesReactions = GM_getValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactionsOriginal));
   ignoreMembersDirectMessagesReactions = JSON.parse(ignoreMembersDirectMessagesReactions);
   ignoreMembersDirectMessagesReactions = safeArray(ignoreMembersDirectMessagesReactions);
}

var homePage = window.location.href;
var isLCHome = homePage == "https://lewdcorner.com/";
var isF95Home = homePage == "https://f95zone.to/";
var isULMFHome = homePage == "https://ulmf.org/";
var isACHome = homePage == "https://azkoselscorner.com/index.php";
var isATFHome = homePage == "https://allthefallen.moe/forum/index.php";
var isHome = isLCHome || isF95Home || isACHome || isATFHome;

if (isATFHome) {
    if (ignoreTags.length > 0) {
       function ignoreATFGames() {
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreATFGames();
       });
       $(document).ready(function() {
         ignoreATFGames();
         setInterval(ignoreATFGames, 1000);
       });
  }
} else if (isLCHome) {
    if (ignoreTags.length > 0) {
       function ignoreLCGames() {
         var ignoreString = "article.lcForumStats-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".lcForumStats-thread a");
            //alert(ele2.html());
            var ele = $(userItem).find(".lcForumStats-thread .lcForumStats-prefixes .label");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
       };
       window.addEventListener("load", function() {
         ignoreLCGames();
       });
       $(document).ready(function() {
         ignoreLCGames();
         setInterval(ignoreLCGames, 1000);
       });
       ignoreLCDonBanners();
  }
} else if (isF95Home) {
    if (ignoreTags.length > 0) {
      function ignoreF95Games() {
         var ignoreString = ".brmsContentList .itemContent";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".listBlock.itemTitle a");
            //alert(ele2.html());
            var ele = $(userItem).find(".listBlock.itemTitle a span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
        });
        $(".p-body-sidebar .contentRow-main a span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
        });
     };
     window.addEventListener("load", function() {
        ignoreF95Games();
     });
     $(document).ready(function() {
        ignoreF95Games();
        setInterval(ignoreF95Games, 1000);
     });
  }
} else if (isACHome || isULMFHome) {
    if (ignoreTags.length > 0) {
      function ignoreACGames() {
         var ignoreString = ".forumStatsContainer .forumStats-main table.dataList-table tr.dataList-row";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find(".dataList-textRow span[data-xf-init]");
            //alert(ele2.html());
            var ele = $(userItem).find(".dataList-textRow span[data-xf-init] .label,.aiprefix");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    html = html.trim();
                    if (ignoreTags.includes(html)) {
                       $(userItem).remove();
                    }
                 }
              });
           }
       });
       $(".p-body-sidebar .contentRow-main a span.label, .p-body-sidebar .contentRow-main a span.aiprefix").each(function( index ) {
            var html = $(this).html();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest("li.block-row").remove();
            }
       });
     };
     window.addEventListener("load", function() {
        ignoreACGames();
     });
     $(document).ready(function() {
        ignoreACGames();
        setInterval(ignoreACGames, 1000);
     });
  }
}

if (homePage.startsWith("https://f95zone.to/sam/latest_alpha/")) {
    function ignoreF95LuGames1() {
         $(".resource-tile_label-wrap .resource-tile_label-wrap_left div,.resource-tile_label-wrap .resource-tile_label-wrap_right div").each(function( index ) {
            var html = $(this).text().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".resource-tile").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreF95LuGames1();
    });
    $(document).ready(function() {
        ignoreF95LuGames1();
        setInterval(ignoreF95LuGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/latest-updates.php")) {
    function ignoreLCLuGames1() {
         $(".card__mediaBadges .lc-badge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
        $(".lc-tags .lc-tag").each(function( index ) {
            var html = $(this).html().trim();
            //alert(html);
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lc-card").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames1();
    });
    $(document).ready(function() {
        ignoreLCLuGames1();
        setInterval(ignoreLCLuGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://lewdcorner.com/latest-updatesv2")) {
    function ignoreLCLuGames2() {
         $(".lcCardMediaBadges .lcCardBadge").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
        $(".lcCardRestingTagList button").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".lcCardSlot").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreLCLuGames2();
    });
    $(document).ready(function() {
        ignoreLCLuGames2();
        setInterval(ignoreLCLuGames2, 1000);
    });
    ignoreLCDonBanners();
} else if (homePage.startsWith("https://azkoselscorner.com/index.php?forums/")) {
    function ignoreACGames1() {
         $(".thread-title-with-hover .prefix-label .label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".thread-widget-slider").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreACGames1();
    });
    $(document).ready(function() {
        ignoreACGames1();
        setInterval(ignoreACGames1, 1000);
    });
} else if (homePage.startsWith("https://lewdcorner.com/forums/") || homePage.startsWith("https://f95zone.to/forums/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?forums/") || homePage.startsWith("https://ulmf.org/forums/")) {
    function ignoreGames1() {
         $(".structItem-title a.labelLink span.label, .lcGameCard-mediaBadgeLeft span.label").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                //alert(html);
                $(this).closest(".structItem--thread").remove();
            }
        });
    };
    window.addEventListener("load", function() {
        ignoreGames1();
    });
    $(document).ready(function() {
        ignoreGames1();
        setInterval(ignoreGames1, 1000);
    });
    ignoreLCDonBanners();
} else if (!isHome) {

   if (ignoreTags.length > 0) {
       function ignoreGames2() {
         var ignoreString = ".p-body-header .p-title-value a";
         var elements = document.querySelectorAll(ignoreString);
         elements.forEach((userItem) => {
            var ele2 = $(userItem).find("span");
            //alert(ele2.html());
            var ele = $(userItem).find("span");
            if (ele.length > 0) {
              ele.each(function( index ) {
                 var html = $(this).html().trim();
                 if (html !== undefined) {
                    if (ignoreTags.includes(html)) {
                       $(".p-body-main").remove();
                       $(".p-body-pageContent").remove();
                    }
                 }
              });
           }
        });
        $(".p-description .tagList a").each(function( index ) {
            var html = $(this).html().trim();
            if (ignoreTags.includes(html)) {
                $(".p-body-main").remove();
                $(".p-body-pageContent").remove();
            }
        });
       };
       window.addEventListener("load", function() {
          ignoreGames2();
       });
       $(document).ready(function() {
          ignoreGames2();
          setInterval(ignoreGames2, 1000);
       });
  }

var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];

if (!hideUsersPermanent) {
    GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
    GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
}

var newIgnoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
var newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));

newIgnoreMembers = JSON.parse(newIgnoreMembers);
newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);

newIgnoreMembers = safeArray(newIgnoreMembers);
newDirectIgnoreMembers = safeArray(newDirectIgnoreMembers);

ignoreMembers = newIgnoreMembers;
ignoreMembersDirectMessages = newDirectIgnoreMembers;

var cssSelectors10 = [];
ignoreMembersDirectMessages.forEach((element, index) => {
    cssSelectors10.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors11 = [];
ignoreMembersDirectMessagesReactions.forEach((element, index) => {
    cssSelectors11.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssSelectors = [];
ignoreMembers.forEach((element, index) => {
  cssSelectors.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors2 = [];

ignoreReactionsMembers.forEach((element, index) => {
  cssSelectors2.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors3 = [];

ignoreLCBanners.forEach((element, index) => {
  cssSelectors3.push("html body div.userBanner."+ element + ".message-userBanner");
});
var cssSelectors4 = [];

ignoreLCSignatureMembers.forEach((element, index) => {
     cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});

var cssSelectors40 = [];

ignoreLCSignatureDirectMessagesMembers.forEach((element, index) => {
     cssSelectors40.push("article.message.message--conversationMessage.js-message[data-author='"+ element + "']");
});

var cssElement = cssSelectors.join(",");
var cssElement2 = cssSelectors2.join(",");
var cssElement3 = cssSelectors3.join(",");
var cssElement4 = cssSelectors4.join(",");
var cssElement40 = cssSelectors40.join(",");
var cssElement10 = cssSelectors10.join(",");
var cssElement11 = cssSelectors11.join(",");
var cssContent10 = cssElement10 + " { display: none !important; }";
var cssContent11 = cssElement11 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent = cssElement + " { display: none !important; }";
var cssContent2 = cssElement2 + " .reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent3 = ".reactionsBar.js-reactionsList.is-active { display: none !important; }";
var cssContent4 = "article.message.message--post.js-post[data-author] { display: none !important; }";
var cssContent5 = cssElement3 + " { display: none !important; }";
var cssContent6 = cssElement4 + " aside.message-signature { display: none !important; }";
var cssContent60 = cssElement40 + " aside.message-signature { display: none !important; }";
var cssContent7 = "article.message.message--conversationMessage.js-message[data-author] { display: none !important; }";

if (ignoreMembersDirectMessagesAll) {
    GM_addStyle(cssContent7, "15");
}

if (ignoreMembersDirectMessages.length > 0) {
    GM_addStyle(cssContent10, "13");
}

if (ignoreMembersDirectMessagesReactions.length > 0) {
    GM_addStyle(cssContent11, "14");
}

if (ignoreLCSignatureMembers.length > 0) {
    GM_addStyle(cssContent6, "10");
}

if (ignoreLCSignatureDirectMessagesMembers.length > 0) {
    GM_addStyle(cssContent60, "100");
}

if (ignoreLCSignaturesAll) {
    GM_addStyle("aside.message-signature { display: none !important; }", "11");
}

if (ignoreMembers.length > 0) {
    GM_addStyle(cssContent, "1");
}

if (ignoreReactionsMembers.length > 0) {
   GM_addStyle(cssContent2, "2");
}

if (ignoreMembersAll) {
    GM_addStyle(cssContent4, "4");
}

if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll) {
  GM_addStyle(cssContent3, "3");
}

if (ignoreLCBanners.length > 0) {
   GM_addStyle(cssContent5, "5");
}

if (ignoreLCBadges) {
   GM_addStyle("div.featuredBadges.featuredBadges--message { display: none !important; }", "6");
}

if (ignoreLCWhiteSpaceSoMuchYouCan) {
    GM_addStyle("div.st-years-of-service, .xentr-message-container .xentr-slider-nav { padding: 0px !important; margin: 0px !important; }", "7");
    GM_addStyle("div.st-years-of-service { margin-top: 5px !important; }", "9");
    GM_addStyle("dl.pairs.pairs--justified { padding: 0 5px 0px 5px !important; }", "8");
}

ignoreLCDonBanners();

if (addIgnoreButton) {
var isLC = homePage.startsWith("https://lewdcorner.com/");

GM_addStyle(".message-attribution-main .set_r,.message-attribution-main .reset_r,.message-attribution-main .ignore_xenforo_user,.message-attribution-main .ignore_custom_member,.message-attribution-main .reset_custom_member,.message-attribution-main .add_tags,.message-attribution-main .show_tags,.message-attribution-main .reset_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1200");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution a { min-height: 0px !important; font-size: 12px !important; color: unset;}', "1201");
GM_addStyle('.message-attribution-main .reset_c_sep { font-size: 12px !important; }', "1202");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution { font-size: 12px !important; }', "1203");

if (isLC) {
    GM_addStyle('.reset_ranks_lc_r,.set_ranks_lc_r { font-size: 12px !important; display: block !important; padding: 0px !important; margin: 0px !important; line-height: 12px !important; }', "1204");
}

window.addEventListener("load", function() {
    $("html body div.userBanner.message-userBanner").each(function (index ) {
        var classes = $(this).attr('class');
        var classesArray = classes.split(/\s+/);
        var rank = classesArray[1];
        $(this).on("click", function(event) {
            var answer = confirm("Do you want ignore the rank " + rank + " ?");
            if (answer) {
               if (!ignoreLCBanners.includes(rank)) {
                   ignoreLCBanners.push(rank);
                   GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
                   alert("rank " + rank + " is ignored");
                   window.location.reload();
               }
            }
        });
    });
    var elements = document.querySelectorAll("article.message[data-author]");
    elements.forEach((userItem) => {
        var author = $(userItem).data("author");
        $(userItem).find("section.message-user").each(function() {
            var element = $(this).attr("itemid");
            if (element === undefined) {
                var ele = $(this).find(".message-userDetails .message-name a");
                if (ele.length) {
                    element = ele.attr("href");
                }
            }
            if (element !== undefined) {
               var addedElementOriginal = this;
               var addedElement = this;
               addedElement = $(userItem).find(".message-attribution .message-attribution-main");
               $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_xenforo_user\" href=\"" + element + "ignore\">Ignore User</a>");
               if (useSameId) {
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\">Hide User</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_custom_member\" href=\"#\">Reset Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_tags\" href=\"#\">Reset Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"reset_r\" href=\"#\">Reset Ignore Reactions</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"show_tags\" href=\"#\">Set Ignore Users</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"add_tags\" href=\"#\">Set Ignore Tags</a>");
                  $(addedElement).append("<span class=\"reset_c_sep\">&nbsp;|&nbsp;</span><a class=\"set_r\" href=\"#\">Set Ignore Reactions</a>");
                  if (isLC) {
                      $(addedElementOriginal).append("<a class=\"reset_ranks_lc_r\" href=\"#\">Reset Ignored Ranks</a>");
                      $(addedElementOriginal).append("<a class=\"set_ranks_lc_r\" href=\"#\">Set Ignored Ranks</a>");
                  }
               }
            }
       });
       if (useSameId) {
          var selector = "section.message-user ";
          var selectorOriginal = selector;
          selector = ".message-attribution .message-attribution-main a";
          $(userItem).on('click', selector + '.ignore_custom_member', function(event) {
            event.preventDefault();
            var meAuthor = $(this).data("author");
            if (!ignoreMembers.includes(meAuthor)) {
                ignoreMembers.push(meAuthor);
            }
            if (!ignoreMembersDirectMessages.includes(meAuthor)) {
                ignoreMembersDirectMessages.push(meAuthor);
            }
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessages));
            GM_addStyle("article.message.message--conversationMessage.js-message[data-author=\""+meAuthor+"\"] { display: none !important; }", "1400");
            GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "1401");
         });
         $(userItem).on('click', selector + '.reset_custom_member', function(event) {
            event.preventDefault();
            GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembersOriginal));
            GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = GM_getValue("ignoreXenForoUsers",  JSON.stringify(ignoreMembersOriginal));
            newDirectIgnoreMembers = GM_getValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembersDirectMessagesOriginal));
            newIgnoreMembers = JSON.parse(newIgnoreMembers);
            newDirectIgnoreMembers = JSON.parse(newDirectIgnoreMembers);
            ignoreMembers = newIgnoreMembers;
            ignoreMembersDirectMessages = newDirectIgnoreMembers;
            window.location.reload();
         });
         $(userItem).on('click', selector + '.add_tags', function(event) {
             var userInput = prompt("Enter multiple tags separated by commas (e.g., Apple, Banana, Orange):", ignoreTags.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreTags = [...itemsArray];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.show_tags', function(event) {
             var userInput = prompt("Enter multiple users separated by commas (e.g., Apple, Banana, Orange):", ignoreMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreMembers = [...itemsArray];
             GM_setValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
             GM_setValue("ignoreXenForoUsersDM", JSON.stringify(ignoreMembers));
             alert("Ignored Users are : " + ignoreMembers.join(", "));
         });
         $(userItem).on('click', selector + '.reset_tags', function(event) {
             ignoreTags = [...ignoreTagsOriginal];
             GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTagsOriginal));
             alert("Ignored Tags are : " + ignoreTags.join(", "));
         });
         $(userItem).on('click', selector + '.set_r', function(event) {
             var userInput = prompt("Enter multiple users where you want ignore his reactions separated by commas (e.g., Apple, Banana, Orange):", ignoreReactionsMembers.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreReactionsMembers = [...itemsArray];
             ignoreMembersDirectMessagesReactions = [...itemsArray];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selector + '.reset_r', function(event) {
             ignoreReactionsMembers = [...ignoreReactionsMembersOriginal];
             ignoreMembersDirectMessagesReactions = [...ignoreMembersDirectMessagesReactionsOriginal];
             GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
             GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreMembersDirectMessagesReactions));
             alert("Ignored User Reactions are : " + ignoreReactionsMembers.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selectorOriginal + '.set_ranks_lc_r', function(event) {
             var userInput = prompt("Enter multiple ranks where you want ignore this rank separated by commas (e.g., " + ignoreLCBannersOld.join(", ") + "):", ignoreLCBanners.join(", "));
             if (userInput === null) {
                 return false;
             }
             var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
             itemsArray = safeArray(itemsArray);
             ignoreLCBanners = [...itemsArray];
             GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
             alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
             window.location.reload();
         });
         $(userItem).on('click', selectorOriginal + '.reset_ranks_lc_r', function(event) {
             ignoreLCBanners = [...ignoreLCBannersOriginal];
             GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
             alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
             window.location.reload();
         });
       }
    });
});
}
}
 
Back
Top Bottom