EM Autohider

nearbeerabout 9 years ago

https://greasyfork.org/en/scripts/29886-em-autohider

Here's my 10 minute script that will automatically hide any post from Jamal, Plissken, Furry, fishswim, or iminthetoilet (by default). You are free to go into the script and edit the blocked users.

Recent updates also allow you to replace youtube embeds with links (IMPORTANT: feature disabled by default, go into the script to enable) and expand the script to the chatbox.

The script checks for their posts on the lobby wall every 2 seconds, and, if detected, hides and negs them. It ignores anyone that is not in the list at the start of the script which is set to the aforementioned people by default. If you like your daily relatable furry and ASMR, you are free to remove him from the list.

The script requires Tampermonkey for Chrome or Greasemonkey for Mozilla. It can run in tandem with EMJack or the EM Enhancement Suite.

IMPORTANT:

To edit the hidden users, find the line at the start where it says:

["JamalMarley", "Plissken", "iminthetoilet", "Furry"];

Simply add names to the list in quotations and separated by commas to hide them or vice versa.

To make the script from only work on the wall and not the chatbox or vice versa, find where it says, "enableLobbyWall" or "enableChatbox" and set them to "true" or "false".

Tampermonkey:

https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en

Greasemonkey:

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

Poll
Greetings.
What? I can't hear you over my script.59%31
Meh.19%10
I always relate to the daily furry.15%8
PRAISE HIM, FOR HE IS GLORIOUS.5%3
Solaceover 8 years ago
nah he didn't. its a shame because it was originally a really elegant solution. too bad it doesnt work with a scrollbar.

its ok. i managed to find a work-around. kind of ugly though
nearbeerover 8 years agoedited
Solace
html experts please answer my question

https://stackoverflow.com/questions/48595400/scrollbar-removing-tooltip-in-html

front end web development is so much aids
I'm dog at CSS, sorry. Looks like some dudes answered it anyways

nick3
Rude you are hiding ivana and hannah :O
I guess since they said they weren't going to do the spam cult business anymore I could take them off
nick3over 8 years ago
Rude you are hiding ivana and hannah :O
Solaceover 8 years ago
html experts please answer my question

https://stackoverflow.com/questions/48595400/scrollbar-removing-tooltip-in-html

front end web development is so much aids
Gornessover 8 years ago
I kindly ask all of you users shocked by the Church's downfall, read the new Restoration thread by me:

https://epicmafia.com/topic/88625

Stand Tall With Jamal Tiberius Marley. Restore the TRUE church!
nearbeerover 8 years ago
ok temporarily disabled the chatbox stuff since that was somehow bugging it all out
nearbeerover 8 years agoedited
Wahnn
okay so like I'd like to mention that the current version of autohider lags out epicmafia quite a bit
Yeah I have noticed the same thing, but only when inside of a game. idk why.

I'll look into it some more, cause it's annoying me too
1
Wahnnover 8 years ago
okay so like I'd like to mention that the current version of autohider lags out epicmafia quite a bit
destaover 8 years ago
still doing gods work i see
Wahnnover 8 years ago
nearbeer
v1.6: You can now filter phrases. They are treated as a regular expression, and "WOKEN" is filtered by default.
Thank you
Gornessover 8 years ago
You know what's the funniest part? WOKEN Plissken can be DELETED!
Euphrasieover 8 years ago
you're an angel
ookamiover 8 years ago
nearbeer
v1.6: You can now filter phrases. They are treated as a regular expression, and "WOKEN" is filtered by default.
Bless you my friend, you are saving this world.
deletedover 8 years ago
omfg thank goodness
MrMongrelover 8 years ago
based nearbeer
nearbeerover 8 years ago
v1.6: You can now filter phrases. They are treated as a regular expression, and "WOKEN" is filtered by default.
2
LekkuLoverover 8 years ago
owo what's this
1
Shwartz99over 8 years ago
Do you think you can add a feature so that whenever there is a mention of a certain phrase in a comment it autohides it as well?
nearbeerabout 9 years ago
quiche
Not sure what happened but the youtube vids aren't being turned to links?
If you updated, you have to apply the settings again. Sorry, persistent storage is just annoying to do for tampermonkey scripts.
quicheabout 9 years ago
Not sure what happened but the youtube vids aren't being turned to links?
Theabout 9 years ago
To make your script more responsive I recommend hijacking Lucid's function that loads the comment pages like this: https://pastebin.com/DieVkjSd

You'll also want to add
// @run-at document-end
to the top of the script. With this method you will be able to modify the JSON of the comments before the comments are ever rendered and only when a comment page is actually loaded.
1
nearbeerabout 9 years ago
shayneismyname
I'm against the autohiding of youtube videos. They are few and far betwen and often good youtube videos get shared.
It doesn't hide them, just replaces them with the link that the embed points to
quicheabout 9 years ago
So glad you added the youtube embed hiding feature. Now I can actually re-enable lobby wall comments.
cubabout 9 years ago
videos are the one thing that should be hidden

it should be expand to load instead of lagging me by default
shayneismynameabout 9 years ago
I'm against the autohiding of youtube videos. They are few and far betwen and often good youtube videos get shared.