3 Months of Service
Added
+ Support for casino
+ You can always press disabled buttons here
Casino
and
Support & rewards
you can turn off the setting in
// LC Economy
var lcEnableDisabledButtonsInEconomy = true;
if you want turn off the setting change the value to false
Update the script here
+ Support for casino
+ You can always press disabled buttons here
Casino
and
Support & rewards
you can turn off the setting in
// LC Economy
var lcEnableDisabledButtonsInEconomy = true;
if you want turn off the setting change the value to false
Update the script here
You must be registered to see links
Code:
// ==UserScript==
// @name Lewdcorner/Azkosels Corner/F95zone/ULMF/ATF Ignore Members And More V3.0
// @namespace http://tampermonkey.net
// @version 8.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/tags/*
// @match https://f95zone.to/tags/*
// @match https://ulmf.org/tags/*
// @match https://azkoselscorner.com/index.php?tags/*
// @match https://allthefallen.moe/forum/index.php?tags/*
// @match https://lewdcorner.com/latest-updatesv2*
// @match https://lewdcorner.com/latest-updates.php*
// @match https://f95zone.to/sam/latest_alpha/*
// @match https://lewdcorner.com/search/*
// @match https://lewdcorner.com/booru/*
// @match https://lewdcorner.com/help/*
// @match https://lewdcorner.com/support/*
// @match https://lewdcorner.com/banned-users-list/*
// @match https://lewdcorner.com/economy/*
// @match https://lewdcorner.com/members/*
// @match https://lewdcorner.com/featured/*
// @match https://lewdcorner.com/whats-new/*
// @match https://lewdcorner.com/account/*
// @match https://lewdcorner.com/dbtech-credits/*
// @match https://lewdcorner.com/threads-ratings-overview/*
// @match https://lewdcorner.com/watched/*
// @match https://lewdcorner.com/categories/*
// @match https://lewdcorner.com/online/*
// @match https://lewdcorner.com/dbtech-shop/*
// @match https://lewdcorner.com/casino/*
// @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 useIgnoreButtons = true;
var useIgnoreUserButtons = true;
var useIgnoreTagsButtons = true;
var useIgnoreReactionsButtons = true;
var useIgnoreRanksButtons = true;
var useIgnoreSignaturesButtons = true;
var useIgnoreBadgesButtons = true;
var useKeywordAll = true;
// LC Economy
var lcEnableDisabledButtonsInEconomy = true;
// Threads
var ignoreMembers = ["user1", "user2", "user3"];
var ignoreReactionsMembers = ["user1", "user2", "user3"];
var ignoreSignatureMembers = ["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 ignoreTagsByClick = true;
var ignoreSignaturesByClick = true;
var ignoreReactionsByClick = true;
var ignoreMembersInTheSidebar = true;
var ignoreMembersInTheSidebarByClick = false;
var ignoreLCBadgesByClick = true;
var ignoreMembersAll = false;
var ignoreReactionsAll = false;
// Direct Messages
var ignoreMembersDirectMessages = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesReactions = ["user1", "user2", "user3"];
var ignoreSignatureDirectMessagesMembers = ["user1", "user2", "user3"];
var ignoreMembersDirectMessagesAll = false;
var ignoreMembersDirectMessagesReactionsAll = false;
// Threads and direct messges
var ignoreSignaturesAll = false;
// LC Threads and Direct Messages
var ignoreLCBanners = [];
var ignoreLCBadgesMembers = ["user1", "user2", "user3"];
var ignoreLCDonationBanners = true;
var ignoreLCBadges = 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);
ignoreSignatureMembers = safeArray(ignoreSignatureMembers);
ignoreSignatureDirectMessagesMembers = safeArray(ignoreSignatureDirectMessagesMembers);
ignoreLCBanners = safeArray(ignoreLCBanners);
ignoreLCBadgesMembers = safeArray(ignoreLCBadgesMembers);
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(".jbrsDonateNotice, .jbrsDonateNotice--double, .jblcDonateNotice, .jbrsMonthEndNotice, .stfrtDonateBubble, .jbrsWeekly, .stfrtDonateBubble.is-unavailable { display: none !important; }", "12");
$(document).ready(function() {
waitForElement('.stfrtDonate-liteBtn.stfrtDonate-hideToday', function(element) {
$(element).trigger("click");
});
});
}
}
var homePage = window.location.href;
var isLCEconomy = homePage.startsWith("https://lewdcorner.com/economy/");
function alwaysClaimInterestF() {
var isLCEconomyAllowed = lcEnableDisabledButtonsInEconomy && isLCEconomy;
var isLCCasino = homePage.endsWith("?section=games");
var isLCVault = homePage.endsWith("?section=vault");
isLCEconomyAllowed = isLCEconomyAllowed && (isLCCasino || isLCVault);
if (isLCEconomyAllowed) {
function alwaysClaimInterestFunc() {
$('.jblcEconomy .button[disabled], .jblcEconomy [aria-disabled="true"], jblcEconomy-vaultActions button[disabled], button[disabled], .lcCasino-cardPlay, .lcCasino-passPurchase .lcCasino-accessPrimary').removeAttr("disabled");
};
window.addEventListener("load", function() {
alwaysClaimInterestFunc();
});
$(document).ready(function() {
if (isLCCasino) {
setInterval(alwaysClaimInterestFunc, 1000);
}
});
}
}
var ignoreTagsOriginal = [...ignoreTags];
var ignoreReactionsMembersOriginal = [...ignoreReactionsMembers];
var ignoreSignatureMembersOriginal = [...ignoreSignatureMembers];
var ignoreMembersDirectMessagesReactionsOriginal = [...ignoreMembersDirectMessagesReactions];
var ignoreSignatureDirectMessagesMembersOriginal = [...ignoreSignatureDirectMessagesMembers];
var ignoreLCBannersOriginal = [...ignoreLCBanners];
var ignoreLCBadgesMembersOriginal = [...ignoreLCBadgesMembers];
if (useIgnoreButtons) {
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);
ignoreSignatureMembers = GM_getValue("ignoreXenForoSigUsers", JSON.stringify(ignoreSignatureMembersOriginal));
ignoreSignatureMembers = JSON.parse(ignoreSignatureMembers);
ignoreSignatureMembers = safeArray(ignoreSignatureMembers);
ignoreSignatureDirectMessagesMembers = GM_getValue("ignoreXenForoSigDMUsers", JSON.stringify(ignoreSignatureDirectMessagesMembersOriginal));
ignoreSignatureDirectMessagesMembers = JSON.parse(ignoreSignatureDirectMessagesMembers);
ignoreSignatureDirectMessagesMembers = safeArray(ignoreSignatureDirectMessagesMembers);
ignoreLCBadgesMembers = GM_getValue("ignoreXenForoLCBadgesUsers", JSON.stringify(ignoreLCBadgesMembersOriginal));
ignoreLCBadgesMembers = JSON.parse(ignoreLCBadgesMembers);
ignoreLCBadgesMembers = safeArray(ignoreLCBadgesMembers);
}
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;
(function($) {
// 1. Define the custom method on jQuery's prototype
$.fn.cone = function(eventType, callback) {
// 'this' represents the jQuery selector collection
return this.each(function() {
var $element = $(this);
if ($element.hasClass("bindme-ele-xenforo")) {
return true;
}
$element.toggleClass("bindme-ele-xenforo", true);
// 2. Bind the standard event listener
$element.on(eventType, function handler(event) {
// 3. Immediately unbind the event so it only fires ONCE
$element.off(eventType, handler);
// 4. Execute the user's original callback function
return callback.apply(this, arguments);
});
});
};
}(jQuery));
if (!useIgnoreButtons) {
ignoreMembersInTheSidebar = false;
ignoreMembersInTheSidebarByClick = false;
} else {
ignoreMembers = GM_getValue("ignoreXenForoUsers", JSON.stringify(ignoreMembers));
ignoreMembers = JSON.parse(ignoreMembers);
ignoreMembers = safeArray(ignoreMembers);
}
if (ignoreMembersInTheSidebar || ignoreMembersInTheSidebarByClick) {
function ignoreMemberByClick(event, element) {
var elementA = element.closest("a");
var cMember = element.html().trim();
if (ignoreMembers.includes(cMember)) {
element.closest(".block-row").remove();
}
if (event === undefined) {
return;
}
if (!ignoreMembersInTheSidebarByClick) {
return;
}
var message = "Do you want ignore the user " + cMember + " ? ";
if (confirm(message)) {
var meAuthor = cMember;
event.stopPropagation();
event.preventDefault();
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; }", "14000");
GM_addStyle("article.message.message--post.js-post[data-author=\""+meAuthor+"\"] { display: none !important; }", "14001");
element.closest(".block-row").remove();
}
};
} else {
function ignoreMemberByClick(event, element) {
};
}
if (ignoreTagsByClick) {
function ignoreTagByClick(event) {
var element = $(event.target);
var elementA = element.closest("a");
if (element.hasClass("username--staff") || element.hasClass("username--moderator") || element.hasClass("username--admin")) {
ignoreMemberByClick(event, element);
return;
}
if (elementA.length > 0 && elementA.hasClass("username")) {
return;
}
var html = $(this).html().trim();
html = html.replace("<em class=\"textHighlight\">","");
html = html.replace("<em class=\"textHighlight\">","");
html = html.replace("</em>","");
html = html.replace("</em>","");
html = html.trim();
//alert(html);
var ignore = ignoreTags.indexOf(html) > -1;
var message = !ignore ? "Do you want ignore the Tag " + html + " ? " : "Do you want unignore the Tag " + html + " ? ";
if (confirm(message)) {
event.stopPropagation();
event.preventDefault();
if (!ignore) {
ignoreTags.push(html);
GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
} else {
var index = ignoreTags.indexOf(html);
if (index > -1) {
ignoreTags.splice(index, 1);
GM_setValue("ignoreXenForoTags", JSON.stringify(ignoreTags));
}
}
alert("Ignored Tags are : " + ignoreTags.join(", "));
}
window.location.reload();
};
} else {
function ignoreTagByClick(event) {
};
}
if (ignoreReactionsByClick) {
function ignoreReactionByAuthor(event, author) {
//alert(html);
var ignore = ignoreReactionsMembers.indexOf(author) > -1;
var message = !ignore ? "Do you want ignore the reactions by " + author + " ? " : "Do you want unignore the reactions by " + author + " ? ";
if (confirm(message)) {
event.stopPropagation();
event.preventDefault();
if (!ignore) {
ignoreReactionsMembers.push(author);
GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreReactionsMembers));
} else {
var index = ignoreReactionsMembers.indexOf(author);
if (index > -1) {
ignoreReactionsMembers.splice(index, 1);
GM_setValue("ignoreXenForoRUsers", JSON.stringify(ignoreReactionsMembers));
GM_setValue("ignoreXenForoRDMUsers", JSON.stringify(ignoreReactionsMembers));
}
}
alert("Ignored Reactions By User are : " + ignoreReactionsMembers.join(", "));
window.location.reload();
}
};
} else {
function ignoreReactionByAuthor(event, author) {
};
}
if (ignoreSignaturesByClick) {
function ignoreSigByAuthor(event, author) {
//alert(html);
var ignore = ignoreSignatureMembers.indexOf(author) > -1;
var message = !ignore ? "Do you want ignore the signature by " + author + " ? " : "Do you want unignore the signature by " + author + " ? ";
if (confirm(message)) {
event.stopPropagation();
event.preventDefault();
if (!ignore) {
ignoreSignatureMembers.push(author);
GM_setValue("ignoreXenForoSigUsers", JSON.stringify(ignoreSignatureMembers));
GM_setValue("ignoreXenForoSigDMUsers", JSON.stringify(ignoreSignatureMembers));
} else {
var index = ignoreSignatureMembers.indexOf(author);
if (index > -1) {
ignoreSignatureMembers.splice(index, 1);
GM_setValue("ignoreXenForoSigUsers", JSON.stringify(ignoreSignatureMembers));
GM_setValue("ignoreXenForoSigDMUsers", JSON.stringify(ignoreSignatureMembers));
}
}
alert("Ignored Signature By User are : " + ignoreSignatureMembers.join(", "));
window.location.reload();
}
};
} else {
function ignoreSigByAuthor(event, author) {
};
}
if (ignoreLCBadgesByClick) {
function ignoreLCBadgesByAuthor(event, author) {
var ignore = ignoreLCBadgesMembers.indexOf(author) > -1;
var message = !ignore ? "Do you want ignore the badges by " + author + " ? " : "Do you want unignore the badges by " + author + " ? ";
if (confirm(message)) {
event.stopPropagation();
event.preventDefault();
if (!ignore) {
ignoreLCBadgesMembers.push(author);
GM_setValue("ignoreXenForoLCBadgesUsers", JSON.stringify(ignoreLCBadgesMembers));
} else {
var index = ignoreLCBadgesMembers.indexOf(author);
if (index > -1) {
ignoreLCBadgesMembers.splice(index, 1);
GM_setValue("ignoreXenForoLCBadgesUsers", JSON.stringify(ignoreLCBadgesMembers));
}
}
alert("Ignored Badges By User are : " + ignoreLCBadgesMembers.join(", "));
window.location.reload();
}
};
} else {
function ignoreLCBadgesByAuthor(event, author) {
};
}
if (isATFHome) {
if (ignoreTags.length > 0 || ignoreTagsByClick) {
function ignoreATFGames() {
$(".p-body-sidebar .contentRow-main a span").each(function( index ) {
var element = $(this);
var elementA = element.closest("a");
if (element.hasClass("username--staff") || element.hasClass("username--moderator") || element.hasClass("username--admin")) {
ignoreMemberByClick(undefined, element);
return;
}
if (elementA.length > 0 && elementA.hasClass("username")) {
return;
}
var html = element.html().trim();
if (ignoreTags.includes(html)) {
//alert(html);
$(this).closest("li.block-row").remove();
}
}).cone("click", ignoreTagByClick);
};
window.addEventListener("load", function() {
ignoreATFGames();
});
$(document).ready(function() {
ignoreATFGames();
setInterval(ignoreATFGames, 1000);
});
}
} else if (isLCHome) {
if (ignoreTags.length > 0 || ignoreTagsByClick) {
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 span");
if (ele.length > 0) {
ele.each(function( index ) {
var html = $(this).html();
if (html !== undefined) {
html = html.trim();
if (ignoreTags.includes(html)) {
$(userItem).remove();
}
}
}).cone("click", ignoreTagByClick);
}
});
$(".p-body-sidebar .contentRow-main a span").each(function( index ) {
var element = $(this);
var elementA = element.closest("a");
if (element.hasClass("username--staff") || element.hasClass("username--moderator") || element.hasClass("username--admin")) {
ignoreMemberByClick(undefined, element);
return;
}
if (elementA.length > 0 && elementA.hasClass("username")) {
return;
}
var html = element.html().trim();
if (ignoreTags.includes(html)) {
//alert(html);
$(this).closest("li.block-row").remove();
}
}).cone("click", ignoreTagByClick);
};
window.addEventListener("load", function() {
ignoreLCGames();
});
$(document).ready(function() {
ignoreLCGames();
setInterval(ignoreLCGames, 1000);
});
ignoreLCDonBanners();
}
} else if (isF95Home) {
if (ignoreTags.length > 0 || ignoreTagsByClick) {
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();
}
}
}).cone("click", ignoreTagByClick);
}
});
$(".p-body-sidebar .contentRow-main a span").each(function( index ) {
var element = $(this);
var elementA = element.closest("a");
if (element.hasClass("username--staff") || element.hasClass("username--moderator") || element.hasClass("username--admin")) {
ignoreMemberByClick(undefined, element);
return;
}
if (elementA.length > 0 && elementA.hasClass("username")) {
return;
}
var html = element.html().trim();
if (ignoreTags.includes(html)) {
//alert(html);
$(this).closest("li.block-row").remove();
}
}).cone("click", ignoreTagByClick);
};
window.addEventListener("load", function() {
ignoreF95Games();
});
$(document).ready(function() {
ignoreF95Games();
setInterval(ignoreF95Games, 1000);
});
}
} else if (isACHome || isULMFHome) {
if (ignoreTags.length > 0 || ignoreTagsByClick) {
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] span");
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();
}
}
}).cone("click", ignoreTagByClick);
}
});
$(".p-body-sidebar .contentRow-main a span, .p-body-sidebar .contentRow-main a span").each(function( index ) {
var element = $(this);
var elementA = element.closest("a");
if (element.hasClass("username--staff") || element.hasClass("username--moderator") || element.hasClass("username--admin")) {
ignoreMemberByClick(undefined, element);
return;
}
if (elementA.length > 0 && elementA.hasClass("username")) {
return;
}
var html = element.html().trim();
if (ignoreTags.includes(html)) {
//alert(html);
$(this).closest("li.block-row").remove();
}
}).cone("click", ignoreTagByClick);
};
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, .resource-tile_tags span").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();
}
});
$(".lcCardHoverDetails .lcCardHoverTags span").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();
}
}).cone("click", ignoreTagByClick);
$("a.thread-title-with-hover[data-tag-list]").each(function (index ) {
var html = $(this).data("tagList");
//alert(html);
//alert(html);
ignoreTags.forEach((element, index) => {
var tag = "</xf:if>"+ element + "<xf:if is='$i'>";
var tag2 = "</xf:if>" + element;
if (html.indexOf(tag) !== -1 || html.indexOf(tag2) !== -1) {
$(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/search/") ||
homePage.startsWith("https://lewdcorner.com/booru/") ||
homePage.startsWith("https://lewdcorner.com/help/") ||
homePage.startsWith("https://lewdcorner.com/support/") ||
homePage.startsWith("https://lewdcorner.com/banned-users-list/") ||
isLCEconomy ||
homePage.startsWith("https://lewdcorner.com/members/") ||
homePage.startsWith("https://lewdcorner.com/featured/") ||
homePage.startsWith("https://lewdcorner.com/whats-new/") ||
homePage.startsWith("https://lewdcorner.com/account/") ||
homePage.startsWith("https://lewdcorner.com/dbtech-credits/") ||
homePage.startsWith("https://lewdcorner.com/threads-ratings-overview/") ||
homePage.startsWith("https://lewdcorner.com/watched/") ||
homePage.startsWith("https://lewdcorner.com/categories/") ||
homePage.startsWith("https://lewdcorner.com/online/") ||
homePage.startsWith("https://lewdcorner.com/dbtech-shop/") ||
homePage.startsWith("https://lewdcorner.com/casino/")
) {
ignoreLCDonBanners();
if (isLCEconomy) {
alwaysClaimInterestF();
}
} else if (homePage.startsWith("https://lewdcorner.com/tags/") || homePage.startsWith("https://f95zone.to/tags/") || homePage.startsWith("https://azkoselscorner.com/index.php?tags/") || homePage.startsWith("https://allthefallen.moe/forum/index.php?tags/") || homePage.startsWith("https://ulmf.org/tags/")) {
function ignoreGamesX() {
$(".contentRow-minor .tagItem").each(function( index ) {
var html = $(this).html().trim();
html = html.replace("<em class=\"textHighlight\">","");
html = html.replace("<em class=\"textHighlight\">","");
html = html.replace("</em>","");
html = html.replace("</em>","");
html = html.trim();
//alert(html);
if (ignoreTags.includes(html)) {
//alert(html);
$(this).closest(".block-row").remove();
}
}).cone("click", ignoreTagByClick);
};
window.addEventListener("load", function() {
ignoreGamesX();
});
$(document).ready(function() {
ignoreGamesX();
setInterval(ignoreGamesX, 1000);
});
ignoreLCDonBanners();
} 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, .lcGameCard-mediaBadgeLeft span, .lcGameCard-hoverPanel .lcGameCard-tags .tagList .js-tagList a").each(function( index ) {
var html = $(this).html().trim();
//alert(html);
if (ignoreTags.includes(html)) {
//alert(html);
$(this).closest(".structItem--thread").remove();
}
}).cone("click", ignoreTagByClick);
};
window.addEventListener("load", function() {
ignoreGames1();
});
$(document).ready(function() {
ignoreGames1();
setInterval(ignoreGames1, 1000);
});
ignoreLCDonBanners();
} else if (!isHome) {
if (ignoreTags.length > 0 || ignoreTagsByClick) {
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();
}
}
}).cone("click", ignoreTagByClick);
}
});
$(".p-description .tagList a").each(function( index ) {
var html = $(this).html().trim();
if (ignoreTags.includes(html)) {
$(".p-body-main").remove();
$(".p-body-pageContent").remove();
}
}).cone("click", ignoreTagByClick);
};
window.addEventListener("load", function() {
ignoreGames2();
});
$(document).ready(function() {
ignoreGames2();
setInterval(ignoreGames2, 1000);
});
}
var ignoreMembersOriginal = [...ignoreMembers];
var ignoreMembersDirectMessagesOriginal = [...ignoreMembersDirectMessages];
if (!useIgnoreButtons) {
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 = [];
ignoreSignatureMembers.forEach((element, index) => {
cssSelectors4.push("article.message.message--post.js-post[data-author='"+ element + "']");
});
var cssSelectors40 = [];
ignoreSignatureDirectMessagesMembers.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 || (ignoreMembersDirectMessages.includes("all") && useKeywordAll)) {
GM_addStyle(cssContent7, "15");
}
if (ignoreMembersDirectMessages.length > 0) {
GM_addStyle(cssContent10, "13");
}
if (ignoreMembersDirectMessagesReactions.length > 0) {
GM_addStyle(cssContent11, "14");
}
if (ignoreSignatureMembers.length > 0) {
GM_addStyle(cssContent6, "10");
}
if (ignoreSignatureDirectMessagesMembers.length > 0) {
GM_addStyle(cssContent60, "100");
}
if (ignoreSignaturesAll || (ignoreSignatureMembers.includes("all") && useKeywordAll)) {
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 || (ignoreMembers.includes("all") && useKeywordAll)) {
GM_addStyle(cssContent4, "4");
}
if (ignoreReactionsAll || ignoreMembersDirectMessagesReactionsAll || (ignoreReactionsMembers.includes("all") && useKeywordAll) || (ignoreMembersDirectMessagesReactions.includes("all") && useKeywordAll)) {
GM_addStyle(cssContent3, "3");
}
if (ignoreLCBanners.length > 0) {
GM_addStyle(cssContent5, "5");
}
if (ignoreLCBadges || (ignoreLCBadgesMembers.includes("all") && useKeywordAll)) {
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 (useIgnoreButtons) {
var isLC = homePage.startsWith("https://lewdcorner.com/");
GM_addStyle(".message-attribution-main .reset_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1303");
GM_addStyle(".message-attribution-main .show_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1304");
GM_addStyle(".actionBar-set actionBar-set--internal .add_tags { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1305");
GM_addStyle(".message-attribution-main .reset_custom_member { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1306");
GM_addStyle(".message-attribution-main .ignore_custom_member { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1307");
GM_addStyle(".message-attribution-main .ignore_xenforo_user { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1308");
GM_addStyle(".message-attribution-main .reset_r { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1309");
GM_addStyle(".actionBar-set actionBar-set--internal .set_r { display: inline-block !important; font-size: 12px !important; max-height: 0px !important; color: unset !important; }", "1310");
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");
var linkColor = "color: #1472d7 !important;";
linkColor = "";
var fontSize = "11";
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-attribution { font-size: 12px !important; }', "1203");
GM_addStyle('a.reset_ranks_lc_r, a.set_ranks_lc_r { font-size: '+fontSize+'px !important; display: inline-block !important; padding: 0px !important; margin: 0px !important; line-height: '+fontSize+'px !important; '+linkColor+' }', "1204");
GM_addStyle('a.reset_sig_lc_r, a.set_sig_lc_r { font-size: '+fontSize+'px !important; display: inline-block !important; padding: 0px !important; margin: 0px !important; line-height: '+fontSize+'px !important; '+linkColor+' }', "1207");
GM_addStyle('a.add_tags, a.set_r, a.reset_badges_lc_r, a.set_badges_lc_r, .reset_c_sep { font-size: '+fontSize+'px !important; display: inline-block !important; padding: 0px !important; margin: 0px !important; line-height: '+fontSize+'px !important; ' +linkColor+' }', "1208");
GM_addStyle('.message-attribution-main a.hide_xenforo_all_hide, .message-attribution-main a.hide_xenforo_all_show { font-size: '+fontSize+'px !important; display: inline-block !important; padding: 0px !important; margin: 0px !important; line-height: '+fontSize+'px !important; color: unset !important;', '1216');
GM_addStyle('.message-actionBar .actionBar-set { font-size: 13px !important }', '1205');
GM_addStyle("div.featuredBadges.featuredBadges--message.none { display: none !important; }", "1206");
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-actionBar:not(.really) .actionBar-set { flex-wrap: wrap !important }', '1212');
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-actionBar:not(.really) { flex-wrap: nowrap !important }', '1213');
GM_addStyle('body[data-template="thread_view"] .block--messages article.message.message--post .message-actionBar:not(.really) .actionBar-set--external { order: 3 !important }', '1214');
GM_addStyle('.none.really.hidden { display: none !important }', '1215');
function hideXenforoAll(set) {
var hideAll = GM_getValue("hideXenforoAll", false);
//alert(hideAll);
if (set) {
hideAll = !hideAll;
GM_setValue("hideXenforoAll", hideAll);
}
var meSel = ".set_r, .reset_r, .reset_c_sep, .add_tags, .show_tags, .reset_tags, .set_ranks_lc_r, .reset_ranks_lc_r, .set_sig_lc_r, .reset_sig_lc_r, .set_badges_lc_r, .reset_badges_lc_r, .ignore_xenforo_user, .ignore_custom_member, .reset_custom_member";
$(meSel).toggleClass("none", hideAll);
$(meSel).toggleClass("really", hideAll);
$("body[data-template=\"thread_view\"] .block--messages article.message.message--post .message-actionBar").toggleClass("really", hideAll);
$(meSel).toggleClass("hidden", hideAll);
$(".hide_xenforo_all_hide").toggleClass("none", hideAll);
$(".hide_xenforo_all_hide").toggleClass("really", hideAll);
$(".hide_xenforo_all_hide").toggleClass("hidden", hideAll);
$(".hide_xenforo_all_show").toggleClass("none", !hideAll);
$(".hide_xenforo_all_show").toggleClass("really", !hideAll);
$(".hide_xenforo_all_show").toggleClass("hidden", !hideAll);
}
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];
if (homePage.startsWith("https://allthefallen.moe/") || homePage.startsWith("https://f95zone.to/")) {
for (const element of classesArray) {
if (element === "Moderator") {
rank = element;
}
if (element.startsWith("userBanner--")) {
rank = element;
break;
}
}
}
$(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");
if (isLC) {
$(userItem).find("div.featuredBadges.featuredBadges--message").each(function() {
if (ignoreLCBadgesMembers.includes(author)) {
$(this).toggleClass("none", true);
} else {
$(this).toggleClass("none", false);
}
}).on("click", function(event) {
var target = $(event.target);
ignoreLCBadgesByAuthor(event, author);
});
}
$(userItem).find("aside.message-signature").on("click", function(event) {
var target = $(event.target);
if (target.is("a") || target.is("iframe") || target.is("img") || target.is('[data-src]')) {
return;
}
if (target.closest('a').length > 0 || target.closest("button").length > 0 || target.closest('[class^="bbCode"], [class*=" bbCode"]').length > 0) {
return;
}
if (target.closest('summary').length > 0) {
return;
}
/*if (!target.hasClass("message-signature") && !target.hasClass("bbWrapper")) {
return;
}*/
ignoreSigByAuthor(event, author);
});
$(userItem).find(".reactionsBar").on("click", function(event) {
if (!$(event.target).hasClass("reactionsBar")) {
return;
}
ignoreReactionByAuthor(event, 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;
var addedElementNew = ".message-actionBar.actionBar .actionBar-set.actionBar-set--internal";
addedElement = $(userItem).find(".message-attribution .message-attribution-main");
addedElementNew = $(userItem).find(addedElementNew);
$(addedElement).append("<a class=\"hide_xenforo_all_hide\" href=\"#\">| Hide</a>");
$(addedElement).append("<a class=\"hide_xenforo_all_show\" href=\"#\">| Show</a>");
$(addedElement).append("<span class=\"reset_c_sep\"> | </span><a class=\"ignore_xenforo_user\" href=\"" + element + "ignore\">Ignore User</a>");
if (useSameId) {
if (useIgnoreUserButtons) {
$(addedElement).append("<span class=\"reset_c_sep\"> | </span><a class=\"ignore_custom_member\" data-author=\""+author+"\" href=\"#\">Hide User</a>");
$(addedElement).append("<span class=\"reset_c_sep\"> | </span><a class=\"reset_custom_member\" href=\"#\">Reset Ignore Users</a>");
}
if (useIgnoreTagsButtons) {
$(addedElement).append("<span class=\"reset_c_sep\"> | </span><a class=\"reset_tags\" href=\"#\">Reset Ignore Tags</a>");
}
if (useIgnoreReactionsButtons) {
$(addedElement).append("<span class=\"reset_c_sep\"> | </span><a class=\"reset_r\" href=\"#\">Reset Ignore Reactions</a>");
}
if (useIgnoreUserButtons) {
$(addedElement).append("<span class=\"reset_c_sep\"> | </span><a class=\"show_tags\" href=\"#\">Set Ignore Users</a>");
}
if (useIgnoreTagsButtons) {
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"add_tags\" href=\"#\">Set Ignore Tags</a>");
}
if (useIgnoreReactionsButtons) {
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"set_r\" href=\"#\">Set Ignore Reactions</a>");
}
if (useIgnoreRanksButtons) {
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"reset_ranks_lc_r\" href=\"#\">Reset Ignored Ranks</a>");
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"set_ranks_lc_r\" href=\"#\">Set Ignored Ranks</a>");
}
if (useIgnoreSignaturesButtons) {
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"reset_sig_lc_r\" href=\"#\">Reset Ignore Sig</a>");
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"set_sig_lc_r\" href=\"#\">Set Ignore Sig</a>");
}
if (useIgnoreBadgesButtons) {
if (isLC) {
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"reset_badges_lc_r\" href=\"#\">Reset Ignore Badges</a>");
$(addedElementNew).append("<span class=\"reset_c_sep\"> | </span><a class=\"set_badges_lc_r\" href=\"#\">Set Ignore Badges</a>");
}
}
}
}
});
if (useSameId) {
var selector = "section.message-user ";
var selectorOriginal = selector;
var newSelector = ".message-actionBar.actionBar .actionBar-set.actionBar-set--internal ";
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 + '.hide_xenforo_all_hide', function(event) {
event.preventDefault();
hideXenforoAll(true);
});
$(userItem).on('click', selector + '.hide_xenforo_all_show', function(event) {
event.preventDefault();
hideXenforoAll(true);
});
$(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;
alert("Ignored Users are : " + ignoreMembers.join(", "));
window.location.reload();
});
$(userItem).on('click', newSelector + '.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(", "));
window.location.reload();
});
$(userItem).on('click', selector + '.show_tags', function(event) {
var userInput = prompt("Enter multiple users separated by commas (e.g., Apple, Banana, Orange), if you want ignore all, use the keyword all", 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(", "));
window.location.reload();
});
$(userItem).on('click', newSelector + '.set_r', function(event) {
var userInput = prompt("Enter multiple users where you want ignore his reactions separated by commas (e.g., Apple, Banana, Orange):, if you want ignore all, use the keyword all", 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', newSelector + '.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', newSelector + '.reset_ranks_lc_r', function(event) {
ignoreLCBanners = [...ignoreLCBannersOriginal];
GM_setValue("ignoreLCRanks", JSON.stringify(ignoreLCBanners));
alert("Ignored Ranks are : " + ignoreLCBanners.join(", "));
window.location.reload();
});
$(userItem).on('click', newSelector + '.set_sig_lc_r', function(event) {
var userInput = prompt("Enter multiple users where you want ignore his signature separated by commas (e.g., Apple, Banana, Orange), if you want ignore all, use the keyword all", ignoreSignatureMembers.join(", "));
if (userInput === null) {
return false;
}
var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
itemsArray = safeArray(itemsArray);
ignoreSignatureMembers = [...itemsArray];
GM_setValue("ignoreXenForoSigUsers", JSON.stringify(ignoreSignatureMembers));
GM_setValue("ignoreXenForoSigDMUsers", JSON.stringify(ignoreSignatureMembers));
alert("Ignored User signatures are : " + ignoreSignatureMembers.join(", "));
window.location.reload();
});
$(userItem).on('click', newSelector + '.reset_sig_lc_r', function(event) {
ignoreSignatureMembers = [...ignoreSignatureMembersOriginal];
ignoreSignatureDirectMessagesMembers = [...ignoreSignatureDirectMessagesMembersOriginal];
GM_setValue("ignoreXenForoSigUsers", JSON.stringify(ignoreSignatureMembers));
GM_setValue("ignoreXenForoSigDMUsers", JSON.stringify(ignoreSignatureDirectMessagesMembers));
alert("Ignored User signatures are : " + ignoreSignatureMembers.join(", "));
window.location.reload();
});
$(userItem).on('click', newSelector + '.set_badges_lc_r', function(event) {
var userInput = prompt("Enter multiple users where you want ignore his badges separated by commas (e.g., Apple, Banana, Orange), if you want ignore all, use the keyword all", ignoreLCBadgesMembers.join(", "));
if (userInput === null) {
return false;
}
var itemsArray = userInput ? userInput.split(',').map(item => item.trim()) : [];
itemsArray = safeArray(itemsArray);
ignoreLCBadgesMembers = [...itemsArray];
GM_setValue("ignoreXenForoLCBadgesUsers", JSON.stringify(ignoreLCBadgesMembers));
alert("Ignored User badges are : " + ignoreLCBadgesMembers.join(", "));
window.location.reload();
});
$(userItem).on('click', newSelector + '.reset_badges_lc_r', function(event) {
ignoreLCBadgesMembers = [...ignoreLCBadgesMembersOriginal];
GM_setValue("ignoreXenForoLCBadgesUsers", JSON.stringify(ignoreLCBadgesMembers));
alert("Ignored User badges are : " + ignoreLCBadgesMembers.join(", "));
window.location.reload();
});
}
hideXenforoAll(false);
});
});
}
}