Go to file
Holly 75e48ce6ac make a note of my php crimes 2021-05-09 06:53:39 +00:00
LICENSE Initial commit 2021-05-09 04:10:27 +00:00
README.md make a note of my php crimes 2021-05-09 06:53:39 +00:00
index.html add note about imperfect checks 2021-05-09 06:47:34 +00:00
install_form.js installation website 2021-05-09 06:21:07 +00:00
remote_instance_actions.user.js can it really be a 1.0 release if it doesn't work on firefox yet? 2021-05-09 06:42:32 +00:00
ria.png installation website 2021-05-09 06:21:07 +00:00
style.css clarify tampermonkey prerequisite 2021-05-09 06:37:46 +00:00

README.md

Remote Instance Actions

Quickly suspend or silence remote instances from the Mastodon frontend

What is this?

A userscript to make blocking remote instances on Mastodon a less tedious and time-consuming task.

How do I install it?

First, install Tampermonkey. Then, visit the installation website.

Why have a whole installation website for a userscript?

It fills in the @match directives for whatever instances are relevant to the user, using GET parameters so Tampermonkey's update functionality will continue to work.

Why is there PHP in a .user.js file?

For the same reason as the last question. That's how the @match directives are filled in with the GET parameters. The file has to have the .user.js extension so that Tampermonkey will prompt the user to install it, which means I had to go into the PHP configuration files and allow it to execute .js files as PHP. It's a little cursed but it does work.

TODO

  • Figure out why it doesn't work on Firefox