handle removal of web/ endpoint in mastodon 4
This commit is contained in:
parent
600580c3bb
commit
1ecda5dab6
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue