3 ms·
> with the singlefile extension it's pretty easy to store things you can see but the scraper gets blocked on FWIW, at least on iOS, it's possible to inject Jav
by lxgr 9mo ago
> with the singlefile extension it's pretty easy to store things you can see but the scraper gets blocked on
FWIW, at least on iOS, it's possible to inject Javascript into the web site being currently displayed by Safari as a side effect of sharing a web link to an app via the share sheet.
Several "read it later" style apps use this successfully to get around paywalls (assuming you've paid yourself) and other robot blockers. Any plans for Linkwarden to do this (or does it already)?
- ghxst 9mo agoAny docs on this? I didn't know this was a thing.
- deleted 9mo ago[deleted]
- daniel31x13 9mo agohttps://docs.linkwarden.app/Usage/upload-from-singlefile https://docs.linkwarden.app/Usage/upload-from-singlefile
- lxgr 9mo agoThat's cool, but also requires using the Singlefile extension (and granting it access), right? What I like about the share sheet JS method is that it doesn't get access to most of my browsing sessions. (The shared-to app getting access to my browser session is somewhat unexpected, though.)
- lxgr 9mo agoI believe the key search term was NSExtensionJavaScriptPreprocessingFile, e.g. documented here: https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html https://developer.apple.com/library/archive/documentation/Ge...