how do i set a filter to weed out any ID with over X# of posts in a bread
FYI
Here is a javascript that will filter all namefags and all posterfags who put up more than 20 posts per bread. BERRY COMFY now.
// User script to filter out named posters and excessive posters on 8kun
// Function to filter posts
function filterPosts() {
const postElements = document.querySelectorAll('.post'); // Adjust selector as needed
const postCount = {};
postElements.forEach(post ={
const posterName = post.querySelector('.poster-name').textContent; // Adjust selector
const postId = post.getAttribute('data-post-id'); // Adjust based on actual attribute
// Count posts by user
if (!postCount[posterName]) {
postCount[posterName] = 0;
}
postCount[posterName]++;
// Filter out named posters
if (posterName !== 'Anonymous') {
post.style.display = 'none'; // Hide named posters
}
// Filter out excessive posters (more than 20 posts)
const maxPosts = 20; // Set your threshold here
if (postCount[posterName] maxPosts) {
post.style.display = 'none'; // Hide excessive posters
}
});
}
// Run the filter function on page load
window.addEventListener('load', filterPosts);
// Optional: Re-run the filter function when new posts are loaded (if applicable)
const observer = new MutationObserver(filterPosts);
observer.observe(document.body, { childList: true, subtree: true });
Stuff you might be able to use:
"As of 2023, there are ~720,652 full-time LEO's in the US who are authorized to carry firearms and have arrest powers. This includes officers from local, state, and federal agencies across the country. Never heard of one of them shoot up a school or church or mall or movie house."
"Since 2000, there have been ~1,200 individual mass shooters involved in mass shooting incidents across the US. Around 82.9 million people in the U.S. own at least one firearm. There are ~500 million civilian-owned firearms in the US. Noโฆit is NOT the guns!"
https://x.com/vileTexan/status/1960665432463171770