From 334c6e462995128864664698f5ec2b807f19d205 Mon Sep 17 00:00:00 2001 From: Holly Date: Sun, 9 May 2021 21:00:41 +0000 Subject: [PATCH] don't rely on english text on page --- README.md | 3 ++- remote_instance_actions.user.js | 21 ++++++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a2d3c4a..e99f537 100644 --- a/README.md +++ b/README.md @@ -25,5 +25,6 @@ For the same reason as the last question. That's how the `@match` directives are - ~~Figure out why it doesn't work on Firefox~~ - ~~It's because the `@run-at context-menu` header only works in Chrome based browsers. The context menu item *appears* in Firefox but doesn't do anything. Find a workaraound~~ - It's actually because of something extremely different and much, much weirder. `@run-at context-menu` actually does exist in Firefox now, but there's a bizarre CSP enforcement bug that causes Firefox issues. Details on the installation page -- Don't rely on parsing human-readable text, won't work in other languages +- ~~Don't rely on parsing human-readable text, won't work in other languages~~ - There's no good API or anything for this, going to need to parse the document structure + - Done diff --git a/remote_instance_actions.user.js b/remote_instance_actions.user.js index 6553d5d..b96e70f 100644 --- a/remote_instance_actions.user.js +++ b/remote_instance_actions.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Remote Instance Actions // @namespace https://hollymcfarland.com -// @version 0.9 +// @version 1.0 // @description Easily limit a remote instance from your Mastodon instance via the timeline // @author monorail