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