3 ms·
On iOS, it's possible for App Store apps to add actions to Safari's share sheet that execute arbitrary JavaScript on the current page. This can act as a substi
by comex 8y ago
On iOS, it's possible for App Store apps to add actions to Safari's share sheet that execute arbitrary JavaScript on the current page. This can act as a substitute for bookmarklets. (There's no way to have extensions run automatically, though.)
From a quick search of the App Store, here are two apps that may help – I haven't tried either of them, though:
Font Size App Extension: https://itunes.apple.com/us/app/font-size-app-extension/id1041572869?mt=8 https://itunes.apple.com/us/app/font-size-app-extension/id10...
Safari Snippets (lets you add custom JS snippets to execute): https://itunes.apple.com/us/app/safari-snippets/id1126048257?mt=8 https://itunes.apple.com/us/app/safari-snippets/id1126048257...
I'm assuming that by "I don't use apps", you just mean you don't want to use a specialized HN reader app. If you don't want to install any apps at all, I guess the above won't help… though you could always write your own app.
edit: The above may be unnecessary if, as mike-cardwell suggested, the issue isn't that the bookmarklet isn't executing, but that it tries to add a style tag and isn't allowed.