If you have an iPad, you’ve probably come across Onswipe. Onswipe is a service that takes a website designed for desktop browsers and tries to present it in a more touch-friendly format[^example]. Unfortunately, Onswipe fails miserably. Aside from the laggy UI1, it crashes my iPad’s browser frequently2, effectively blocking me from accessing that website’s content. Try visiting sites like Cult of Mac or CycleWorld on an iPad and see for yourself.
The good news is that you can block Onswipe permanently on your mobile devices using your router. The trick is to take all requests to Onswipe’s servers and redirect them to nothing.
Don't try this if you're not comfortable changing your router settings. Even if you are, be safe and backup your working router configuration.
This is how you can do it on a DD-WRT router in three easy steps:
Go to the Services page in the router admin:
- Enter these redirects in the Additional DNSMasq Options field: ``` address=/assets.onswipe.com/0.0.0.0 address=/cdn.onswipe.com/0.0.0.0 ```
- Apply the new settings and enjoy a web without Onswipe.
Keep in mind that this will only work when you are connected to that router. So I also encourage you to politely inform website owners that you’d like them to stop using Onswipe. Onswipe should also do their part and let users opt of their service globally rather than on a site-by-site basis.
Update 6/24/2014: In order to block Onswipe, we now need two redirects. I’ve updated this post to reflect the changes.