handle removal of web/ endpoint in mastodon 4

This commit is contained in:
Holly 2022-11-17 22:03:57 +00:00
parent 600580c3bb
commit 1ecda5dab6
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
// ==UserScript== // ==UserScript==
// @name Remote Instance Actions // @name Remote Instance Actions
// @namespace https://hollymcfarland.com // @namespace https://hollymcfarland.com
// @version 1.1 // @version 1.2
// @description Easily limit a remote instance from your Mastodon instance via the timeline // @description Easily limit a remote instance from your Mastodon instance via the timeline
// @author monorail // @author monorail
<?php <?php
foreach ($_GET["instances"] as $instance) { foreach ($_GET["instances"] as $instance) {
echo "// @match https://*.{$instance}/web/*" . PHP_EOL; echo "// @match https://*.{$instance}/*" . PHP_EOL;
} }
?> ?>
// @grant GM_openInTab // @grant GM_openInTab