Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Please give us or me this function. It would lead to a better forum.
Offline
Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:
// ==UserScript==
// @name Peacefier
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Ignores Peace's posts in EE Forums.
// @author SirJosh, modified by ZeldaXD
// @match https://forums.everybodyedits.com/viewtopic.php?id=*
// @grant none
// ==/UserScript==
(function() {
'use strict';
Array.from(document.getElementsByClassName("uid1440")).forEach(post => {
if (post.nodeName === "SPAN") {
const element = post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
element.parentNode.removeChild(element);
}
})
})();
Offline
TundrumMax, rat, capasha, Gabriellfs, Karl255, John, Koya, Joeyjoey65, KyYay
Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:
// ==UserScript== // @name Peacefier // @namespace http://tampermonkey.net/ // @version 0.1 // @description Ignores Peace's posts in EE Forums. // @author SirJosh // @match https://forums.everybodyedits.com/viewtopic.php?id=* // @grant none // ==/UserScript== (function() { 'use strict'; Array.from(document.getElementsByClassName("uid1440")).forEach(post => { if (post.nodeName === "SPAN") { const element = post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; element.parentNode.removeChild(element); } }) })();
does it work with other people?
she/her
also known as DevilCharlotte
search 2bisniekitastan if you wanna find my worlds on ArchivEE
Offline
ZeldaXD wrote:Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:
// ==UserScript== // @name Peacefier // @namespace http://tampermonkey.net/ // @version 0.1 // @description Ignores Peace's posts in EE Forums. // @author SirJosh // @match https://forums.everybodyedits.com/viewtopic.php?id=* // @grant none // ==/UserScript== (function() { 'use strict'; Array.from(document.getElementsByClassName("uid1440")).forEach(post => { if (post.nodeName === "SPAN") { const element = post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; element.parentNode.removeChild(element); } }) })();
does it work with other people?
no you need to install a different plugin for each person
Offline
ZeldaXD wrote:Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:
...
does it work with other people?
You would need to change "uid1440" (that's peace's uid)
Offline
Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:
Thank you so much. Now I can enjoy the forum.
Offline
.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode
what on earth
One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.
Offline
post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
What a family tree
Edit: sniped
Offline
.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode
what on earth
From what I've read of the HTML code of this page, it first creates a list using the "uid" class tag. This "uid" class is to do with your username being displayed (the one above everyone's pfp, you know what I mean). The program finds all of the matching uids, and it has to go up the tree of HTML elements until it selects the entire post.
Underlined in red is what the the program will find (note that is says "uid"). Then, it has to go up that tree until it reaches the highlighted blue section. That highlighted blue section is the entirety of the post. If that is deleted, then the entire thing gets deleted, and it'll be like it never existed.
That is pretty much the only way you could possibly delete an individual user's post, unfortunately. If there was an easier way to do so, then he would be doing that instead. Unfortunately, due to how the HTML code is written, he has to add '.parentNode' multiple times.
Hope this explains it.
I can speak by breathing in but it sounds like a dying horse
Signature by HG
Offline
yeah and have double posts happening?
thanks hg for making this much better and ty for my avatar aswell
Offline
yeah and have double posts happening?
it's not
she/her
also known as DevilCharlotte
search 2bisniekitastan if you wanna find my worlds on ArchivEE
Offline
2b i mean for example what if caapasha mutes me and i suggest rainbow spikes capasha doesnt see it wants rinabow spieks aswell makes a new topic and boom double post
thanks hg for making this much better and ty for my avatar aswell
Offline
.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode
what on earth
code fast write trash
Offline
2b i mean for example what if caapasha mutes me and i suggest rainbow spikes capasha doesnt see it wants rinabow spieks aswell makes a new topic and boom double post
You're missing the obvious solution here, Piece. If only Capasha mutes your posts, then sure, we might have a problem. But if everyone mutes you, then the issue is solved.
As the old saying goes.
If a Peace posts on the forums but no one can see his posts, did he really post?
_____
| Hi. |
V
__________ _____
| Help me! | | No. |
V V
Offline
Thanks! Very helpful!
Miss Everybody Edits? Check out PixelWalker.net!
[imghttps://mm.sirjosh3917.com/PW?scale=1img]
Offline
If a Peace posts on the forums but no one can see his posts, did he really post?
Peace of Schrodinger
F
Offline
Pages: 1
[ Started around 1732970164.0332 - Generated in 0.087 seconds, 15 queries executed - Memory usage: 1.78 MiB (Peak: 2.02 MiB) ]