10

Greasemonkey is explained in this Wikipedia entry.

I would like to add my own stylesheet to a particularly non-mobile-friendly website. Is there any way to accomplish this? Are there any browser apps that can do it?

3
  • I haven't found any at first glance. Try to check browser with ADBlocking features.
    – Eir Nym
    Nov 18, 2011 at 14:55
  • Also you can try Opera Mobile for iPhone.
    – Eir Nym
    Nov 18, 2011 at 14:55
  • Have a look at the iCab Mobile app. I'm not sure if it supports this now, but it's worth emailing the developer and asking. If any good iOS browser has it, I'd expect it to be iCab. Feb 17, 2012 at 21:15

3 Answers 3

4

You can use userscripts on iOS Safari using the new Shortcuts utility (though it seems to be complicated) and a lot easier using the free Safari Snippets app. However, this approach does not load userscripts automatically, they have to be manually loaded on each page load.

There seem to be at least two third-party browsers which support userscripts, the Gear Browser and the Alook Browser. I don't have experience with Gear, but in Alook you can create userscripts which are loaded automatically based on custom URL regexes (similar to Tampermonkey). While Alook has a one-time fee, note that Gear requires you to subscribe before you can use their userscript functionality (the monthly cost is currently higher than the one-time fee of Alook).

Finally, there is an external way of injecting userscripts into sites via a MITM-proxy approach. I found at least two repos, however haven't tried them out yet:

Note that encrypted websites complicate the proxy approach as you need to decrypt your HTTPS traffic using a certificate.

2

At the moment there is the GreasePocket project in the works.

Have a look at their website, but it's far from a finished product, it will also probably need to be run on a JailBroken device.

4
  • 1
    Yeah I saw that, but it hasn't been updated in over three years, so think it's a no-go.
    – Chris B
    Nov 18, 2011 at 10:52
  • 1
    Make that 7 years.
    – BadPirate
    Jul 8, 2015 at 22:42
  • 2
    Make that 11 years Apr 16, 2019 at 21:05
  • Let's assume it is a no-go no-show ; )
    – ocodo
    Apr 17, 2019 at 1:26
2

Userscripts for Safari is currently in the process of being ported to iOS 15, as a Safari Web Extension.

It's a big task though, they'll appreciate help.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .