\
  The most prestigious law school admissions discussion board in the world.
BackRefresh Options Favorite

Updated Ultimate Anti-Spam tool (now with mobile support)

Updates: 1) Automatically removes all known spam posts (n...
Hairraiser lodge
  04/16/23
Based Can you add a feature where we can have posts by pe...
Wonderful Dull Mother Center
  04/16/23
I will look into the feasibility of a feature that allows yo...
Hairraiser lodge
  04/16/23
Chrome doesn't support extensions, but Kiwi Browser on Andro...
Tan vibrant abode pervert
  04/16/23
Awesome. Thanks for testing.
Hairraiser lodge
  04/16/23
Tagging for later ty
Provocative factory reset button
  04/16/23
🐐
Olive mediation
  04/16/23
...
Olive mediation
  04/16/23
Having read the code, it seems like this works by searching ...
fantasy-prone dog poop
  04/16/23
Yes, absolutely. However there are more sophisticated strate...
Hairraiser lodge
  04/16/23
A less computationally intensive way to do this would be to ...
unholy space
  04/16/23
Could work but that's assuming the spammer doesn't just add ...
Hairraiser lodge
  04/16/23
...
Hairraiser lodge
  04/16/23
...
Hairraiser lodge
  04/16/23
why couldn't mods ban all IPs and MAC addresses?
Salmon coldplay fan codepig
  04/16/23
If they can then they should. This is just a client side sol...
Hairraiser lodge
  04/16/23
i think only rach can
amethyst lascivious business firm regret
  04/16/23
Do you program for a living, or just for fun?
At-the-ready principal's office
  04/17/23
In tech but SDE adjacent (more like an architect role). How ...
Hairraiser lodge
  04/17/23
Lol faggit
frisky casino
  04/17/23
can u add me to the block list?
nighttime seedy parlour
  04/17/23
...
razzle-dazzle tantric bbw coffee pot
  04/17/23


Poast new message in this thread



Reply Favorite

Date: April 16th, 2023 4:00 PM
Author: Hairraiser lodge

Updates:

1) Automatically removes all known spam posts (nullo spam, trump spammer and others).

2) Works on all desktop browsers (Chrome, Firefox, Edge) and even mobile. I'll cover how to install below.

3) Removes not only the post itself but the preview post (at the top of the page) as well. It's like the spam never happened.

Here's the source code if you'd like to take a look: https://pastebin.com/09HFVxUL

To install on desktop, follow the steps in this post: http://xoxohth.com/thread.php?thread_id=5324124&mc=39&forum_id=2

For mobile, the installation is a bit more involved but I have validated it on Safari and iOS specifically. To install for Safari, follow these steps:

1) Download and install the Userscripts app from the App Store on your device: https://apps.apple.com/us/app/userscripts/id1463298887

2) Open the Userscripts app, choose "Set Userscripts Directory." Click the three dots on the top right and select "New folder" and name it something like "Scripts." Choose open to set the script directory for Userscripts.

3) Go to https://pastebin.com/09HFVxUL and select download at the top to download the script to your device. Once the file is downloaded, select "Open in" and then "Save to Files" and save it in the Scripts folder you created in Step 2.

4) Now, open Safari. Select the AA icon in the address bar and select Manage Extensions and then enable Userscripts. You'll receive a security prompt and you'll have to select something like "enable for all sites."

5) Visit a thread ruined by nullo spam and you should see the script remove all the posts and preview posts. Example: http://xoxohth.com/thread.php?thread_id=5323020&mc=20&forum_id=2

That's it.

Unfortunately Google doesn't support extensions on the mobile version of Chrome, so out of luck there. There are also apps that run user scripts on Android but I don't have one so haven't tested it yet.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192824)



Reply Favorite

Date: April 16th, 2023 4:17 PM
Author: Wonderful Dull Mother Center

Based

Can you add a feature where we can have posts by people we despise not show up, e.g. psycho Karen, Obeezy, etc.?

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192882)



Reply Favorite

Date: April 16th, 2023 9:38 PM
Author: Hairraiser lodge

I will look into the feasibility of a feature that allows you to block posts by certain users. However, off the top of my head, there are some challenges with that given that users can rapidly change their name AND xo anonymizes posts after a few months.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194046)



Reply Favorite

Date: April 16th, 2023 5:47 PM
Author: Tan vibrant abode pervert

Chrome doesn't support extensions, but Kiwi Browser on Android does. I've got extensions for bypassing the NYT paywalls and now I have the nullospam-killer. Works great.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46193169)



Reply Favorite

Date: April 16th, 2023 5:56 PM
Author: Hairraiser lodge

Awesome. Thanks for testing.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46193197)



Reply Favorite

Date: April 16th, 2023 4:02 PM
Author: Provocative factory reset button

Tagging for later ty

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192825)



Reply Favorite

Date: April 16th, 2023 4:04 PM
Author: Olive mediation

🐐

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192831)



Reply Favorite

Date: April 16th, 2023 4:10 PM
Author: Olive mediation



(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192852)



Reply Favorite

Date: April 16th, 2023 4:20 PM
Author: fantasy-prone dog poop

Having read the code, it seems like this works by searching each thread for a small extract of the spam post. Would be easy to circumvent this by spammers changing their spam very slightly (e.g. adding extra space).

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192901)



Reply Favorite

Date: April 16th, 2023 4:27 PM
Author: Hairraiser lodge

Yes, absolutely. However there are more sophisticated strategies to mitigate that if it starts happening.

We could simply remove any post over a certain number of characters to eliminate long spam posts that make scrolling annoying. Or we could use a library that checks for text similarity (e.g. https://www.npmjs.com/package/string-similarity ), as was mentioned in the other thread.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46192935)



Reply Favorite

Date: April 16th, 2023 9:53 PM
Author: unholy space

A less computationally intensive way to do this would be to search for 4 or 5 random substrings of the nullo post.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194097)



Reply Favorite

Date: April 16th, 2023 11:45 PM
Author: Hairraiser lodge

Could work but that's assuming the spammer doesn't just add spaces between every character or something similar.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194657)



Reply Favorite

Date: April 16th, 2023 5:44 PM
Author: Hairraiser lodge



(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46193160)



Reply Favorite

Date: April 16th, 2023 8:42 PM
Author: Hairraiser lodge



(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46193826)



Reply Favorite

Date: April 16th, 2023 11:50 PM
Author: Salmon coldplay fan codepig

why couldn't mods ban all IPs and MAC addresses?

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194673)



Reply Favorite

Date: April 16th, 2023 11:54 PM
Author: Hairraiser lodge

If they can then they should. This is just a client side solution that reduces the impact of spammers. I’m a long time poster and thought it would be a fun project given that spam is so common on here now.

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194688)



Reply Favorite

Date: April 16th, 2023 11:55 PM
Author: amethyst lascivious business firm regret

i think only rach can

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194693)



Reply Favorite

Date: April 17th, 2023 12:03 AM
Author: At-the-ready principal's office

Do you program for a living, or just for fun?

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194710)



Reply Favorite

Date: April 17th, 2023 1:25 PM
Author: Hairraiser lodge

In tech but SDE adjacent (more like an architect role). How about you?

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46196548)



Reply Favorite

Date: April 17th, 2023 1:26 PM
Author: frisky casino

Lol faggit

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46196552)



Reply Favorite

Date: April 17th, 2023 12:05 AM
Author: nighttime seedy parlour

can u add me to the block list?

(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194713)



Reply Favorite

Date: April 17th, 2023 1:08 AM
Author: razzle-dazzle tantric bbw coffee pot



(http://www.autoadmit.com/thread.php?thread_id=5325594&forum_id=2#46194807)