Back to Epicmafia

EM Autohider

over 7 years

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/

Greetings.
31
What? I can't hear you over my script.
10
Meh.
8
I always relate to the daily furry.
3
PRAISE HIM, FOR HE IS GLORIOUS.
almost 7 years
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
almost 7 years

Solace says

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 says

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
almost 7 years
Rude you are hiding ivana and hannah :O
almost 7 years
html experts please answer my question

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

front end web development is so much aids
almost 7 years
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!
almost 7 years
ok temporarily disabled the chatbox stuff since that was somehow bugging it all out
almost 7 years

Wahnn says

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
almost 7 years
okay so like I'd like to mention that the current version of autohider lags out epicmafia quite a bit
almost 7 years
still doing gods work i see
almost 7 years

nearbeer says

v1.6: You can now filter phrases. They are treated as a regular expression, and "WOKEN" is filtered by default.


Thank you
almost 7 years
You know what's the funniest part? WOKEN Plissken can be DELETED!
almost 7 years
you're an angel
almost 7 years

nearbeer says

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.
deletedalmost 7 years
omfg thank goodness
almost 7 years
based nearbeer
almost 7 years
v1.6: You can now filter phrases. They are treated as a regular expression, and "WOKEN" is filtered by default.
almost 7 years
owo what's this
almost 7 years
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?
over 7 years

quiche says

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.
over 7 years
Not sure what happened but the youtube vids aren't being turned to links?
over 7 years
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.
over 7 years

shayneismyname says

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
over 7 years
So glad you added the youtube embed hiding feature. Now I can actually re-enable lobby wall comments.
over 7 years
videos are the one thing that should be hidden

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