since I use a slow laptop, I have ublock origin set to disable scripting by default on any site I haven't unblocked, which is great; it means I can continue using my laptop instead of throwing it away
however, mastodon 4.0 makes this very frustrating; I used to be able to click permalinks and see the content of the post; now I just see an infuriating "please enable scripting" message
while I would love to see this fixed on mastodon, I don't hold a lot of hope for that happening, but maybe I can work around it within ublock origin
any ubo pros know how to configure it so that it can detect that it's talking to a masto server and automatically allow it without me adding every single server hostname to the allowlist manually?
maybe not what you are asking for since it's not ublock related
@technomancy oof, how old are we talking?
because, in a pinch, one option could be to use an in-browser client until you figure something out that works with 4.0
https://pinafore.social/ is a websocket client (so it needs js itself), but it's also a looot less demanding than the native ui, and it would load posts without needing to unblock every instance manually
there's also https://brutaldon.org/, which requires no js at all
@technomancy ah damn, i wonder if you can just unblock based on the script names that instances have in common?
like, i just loaded a random masosoc post and the list of things it needed seems to be like:
/packs/js/common-*.js
/packs/js/locale_en-*.chunk.js
/packs/js/application-*.chunk.js
/packs/js/153-*.chunk.js
/packs/js/features/status-*.chunk.js
(i've never used this, but it does seem like ublock has a syntax for allowing patterns)
@technomancy oh! glad i could help~ (hopefully!)
and yeah! you might be able to get away with unblocking fewer things depending on the way the instances act when you visit them
also, that one line with the number looks kiiinda suspect, but if patterns can have regexes in them, maybe that's tweakable too..?
@thingywott that looks great, thanks!