Thanks! Sorry my “it’s not working” wasn’t very helpful, and unfortunately I don’t have any error messages. Here’s what I can see:
Userscripts has full access to all sites through Settings > Safari > Extensions.
Userscripts appears as an extension in Safari
LULs script was added to the Userscripts directory and is enabled in the Userscripts Safari Extension
When I first browsed to my home Lemmy instance I was prompted to set it as the home instance through a pop up message (indicating to me that the script is at least partially working)
The rewritten icon does not appear next to any links on foreign instances
Clicking on the links does not take me to my home instance, they just stay on the foreign instance
The “Show on
<home instance>
” link does not appear on foreign communities
“Lemmy Universal Link Switcher Settings” link does not appear in my home instance settings
There doesn’t seem to be a way to open script settings in Userscripts on iOS like is shown in the Violentmonkey screenshot on the documentation
In summary, it doesn’t look like LULs is making any changes to any Lemmy instances in Safari.
Things I tried which had no effect:
Turning off local and network ad-blockers
Restarting the iPad
Disabling and re-enabling Userscripts extension
Deleting and reinstalling the LULs script - I noted that I wasn’t prompted to setup my instance again so maybe that was cached somewhere else?
Clearing Safari cache (and was still not prompted to set home instance again)
Violentmonkey and Tampermonkey did not seem to have iOS clients, but for troubleshooting purposes I installed the Gear browser app. I understand Gear has it’s own browser engine and supports userscripts directly. After installing the LULs the script worked when browsing in Gear.
I’m not likely to switch from Safari to Gear for browsing, so ideally it would be great to get it working in Safari.
Are there any other troubleshooting steps or settings in Safari you could suggest to get it working?
That one is showing as Undetermined as well. I setup a Kbin account and had the same behaviour, comment was set to English in Kbin, but would appear as Undetermined on Lemmy.
The issue with replying from Lemmy seems to occur when Communities have set their Language to only English (or at least not Undetermined). For some reason the Kbin supposedly Undetermined messages are allowed to post, but if anyone on Lemmy tries to reply to it, Lemmy will try to use the same language, which will result in a silent error (but visible in Developer Tools).
Again, manually changing my reply on Lemmy to specifically use English works.
In conclusion there’s probably nothing you can do, but there is an issue for Lemmy language issue here.
I understand that some communities only allow posts/comments in certain languages, but there might be a bug that sometimes allows it, but then prevents replies.
In most cases, the default Interface Language of Browser Detected works, but seems like it wasn’t for you. Are you using an unusual device?
Yes the Languages setting shows what Comments/Posts is displayed in Lemmy, so having nothing selected in there, or at least not having English selected in there would prevent you from seeing the messages.
It’s all a bit clunky at the moment, I’m sure it will improve in time.
I’m fine with bots adding additional content for the moment. There is always the option to block bots you’re not interested in, or to block all bots in your profile settings.
Thanks for sharing. If you want to delete it, my understanding is that editing it will more quickly purge it from the databases, deleting will only set a flag that it’s deleted but will still be accessible for 30 days.
You’re most likely getting the error due to a Lemmy bug, but just to be thorough, here is how to check the setting it is prompting you to set.
Open a web browser and go to your home Lemmy server - in your case Lemmy.world (not using Voyager)
Login
Click you name in the top right > Settings
Set your Interface Language to your main spoken language
Save
Optional: Unrelated to this issue, but while you’re there, you may also want to check that the Languages field:
Ensure that Undetermined is selected, as well as all other languages you want to see on Lemmy. If you’re using a Desktop, you may need to Ctrl+Click to select multiple entries.
Save
If your Interface Language was already set, the issue you have replying to comments can be related to the language of the parent comment or post.
I’ve found Kbin comments are showing as Undetermined language on Lemmy, despite having a language set on Kbin. This can also occur if a user doesn’t have their Interface Language set and their browser cannot detect it.
When replying to an Undetermined language comment or post, Lemmy seems to try to use the same language and generates an error in the API/app. As @UnanimousStargazer@feddit.nl mentioned in their comment, if you try to reply to a Undetermined comment/post in Lemmy via browser (not Voyager) it just shows a spinning loading button when you hit Post.
A work around is to reply to the comment directly on your Lemmy server via a web browser (not in Voyager), and select a language other than Undermined on the dropdown near the below the text field of your comment.
The parent comment/post issue is with Lemmy rather than Voyager, but Voyager are tracking the issue here.
Thanks! Sorry my “it’s not working” wasn’t very helpful, and unfortunately I don’t have any error messages. Here’s what I can see:
<home instance>
” link does not appear on foreign communitiesThings I tried which had no effect:
Violentmonkey and Tampermonkey did not seem to have iOS clients, but for troubleshooting purposes I installed the Gear browser app. I understand Gear has it’s own browser engine and supports userscripts directly. After installing the LULs the script worked when browsing in Gear.
I’m not likely to switch from Safari to Gear for browsing, so ideally it would be great to get it working in Safari.
Are there any other troubleshooting steps or settings in Safari you could suggest to get it working?