Follow

I've just released Mastodon De-Mob, an anti-harassment tool that lets users to block everyone who favorited or boosted a toot calling for harassment. mastodon-de-mob.codesections.c

Please feel free to test it out with the example URL I provided; that will only block a test account I set up for this purpose. Hopefully, you won't ever need it for real.

It also reports the harassing toot, which I hope will prevent the tool's abuse for non-harassing toots.

source: github.com/codesections/mastod

Also, I neglected to credit @kensanata whose mastodon-blocker CLI script (github.com/kensanata/mastodon-) inspired me to write Mastodon De-Mob.

My tool does *basically* the same thing but from a web app instead of a python CLI (even though I'm personally partial to CLI apps, I thought the web app might be a bit more accessible, especially for those who don't currently have python installed).

Show thread

@codesections "Get Toot" does nothing for me. I tried disabling uBlock but that only reset the whole page. Is there something I'm missing?

@irina

I'm sorry to hear that it didn't work. Let me make sure I understand:
- You put in your instance, clicked "Authorize", and authorized the app through your server
- You put in the URL for a toot and clicked "Get Toot"
- Nothing happened (no error on screen?)

If that's right, do you mind opening up the JavaScript console and seeing if there are any errors?

Thanks for the bug report!

@codesections Exactly that way. Where would I find the errors? (All I know how to get in firefox is the javascript itself)

On a hunch, I disabled Privacy Badger as well as uBlock; didn't make a difference either. It's not even that nothing happens, but I don't even get visual feedback from clicking the Get Toot button, as if the button is only a picture. The cursor does change into a hand as if there's something to click, though.

@irina
Thanks for the effort to debug! I'd be interested in errors from two places: First, the javascript console (right click on the page, select "Inspect Element", and then select the console tab). There might or might not be errors.

Second, the "Network" tab of the same web inspector. (Depending on screen layout, you might need to click the ">>" button to select that tab). Everything there *should* have a 302 or 200 in the "status" column—we'd be looking for anything that doesn't.

@codesections nice tool, can confirm it works with pleroma as well

@codesections @troodon and to think, I got people really upset at me 14 years ago for writing a JavaScript routine to convert a copy/pasted list of LiveJournal community members into a sequence of LiveJournal Console ban_set commands because I got sick of the entire lj_drama community

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.