\
  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...
Frum school
  04/16/23
Based Can you add a feature where we can have posts by pe...
Apoplectic godawful hospital
  04/16/23
I will look into the feasibility of a feature that allows yo...
Frum school
  04/16/23
Chrome doesn't support extensions, but Kiwi Browser on Andro...
insane trump supporter stage
  04/16/23
Awesome. Thanks for testing.
Frum school
  04/16/23
Tagging for later ty
turquoise talking gaping
  04/16/23
🐐
brindle stead dingle berry
  04/16/23
...
brindle stead dingle berry
  04/16/23
Having read the code, it seems like this works by searching ...
pungent chad point
  04/16/23
Yes, absolutely. However there are more sophisticated strate...
Frum school
  04/16/23
A less computationally intensive way to do this would be to ...
charismatic maize market pozpig
  04/16/23
Could work but that's assuming the spammer doesn't just add ...
Frum school
  04/16/23
...
Frum school
  04/16/23
...
Frum school
  04/16/23
why couldn't mods ban all IPs and MAC addresses?
insecure yarmulke
  04/16/23
If they can then they should. This is just a client side sol...
Frum school
  04/16/23
i think only rach can
fragrant jet goyim
  04/16/23
Do you program for a living, or just for fun?
Nubile generalized bond
  04/17/23
In tech but SDE adjacent (more like an architect role). How ...
Frum school
  04/17/23
Lol faggit
Bateful thirsty chapel police squad
  04/17/23
can u add me to the block list?
Buff Locale Brethren
  04/17/23
...
Electric bearded elastic band
  04/17/23


Poast new message in this thread



Reply Favorite

Date: April 16th, 2023 4:00 PM
Author: Frum school

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: Apoplectic godawful hospital

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: Frum school

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: insane trump supporter stage

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: Frum school

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: turquoise talking gaping

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: brindle stead dingle berry

🐐

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



Reply Favorite

Date: April 16th, 2023 4:10 PM
Author: brindle stead dingle berry



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



Reply Favorite

Date: April 16th, 2023 4:20 PM
Author: pungent chad point

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: Frum school

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: charismatic maize market pozpig

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: Frum school

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: Frum school



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



Reply Favorite

Date: April 16th, 2023 8:42 PM
Author: Frum school



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



Reply Favorite

Date: April 16th, 2023 11:50 PM
Author: insecure yarmulke

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: Frum school

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: fragrant jet goyim

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: Nubile generalized bond

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: Frum school

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: Bateful thirsty chapel police squad

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: Buff Locale Brethren

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: Electric bearded elastic band



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