by cbaleanu · 11y ago · 0 comments
Not sure if Safari has something similar though.
javascript:m=document.querySelector('meta%5Bname=viewport%5D');m.content=m.content.replace(/.*(width=%5B%5E,%5D+).*/,%22$1,maximum-scale=10,minimum-scale=0.1,user-scalable=1%22);
I found it on HN a while ago, I wish i knew where. To add it bookmark another page then go into bookmarks edit mode and change the URL to that.Also horrible is the tri state or undeterminate checkbox.
All of the above are very trendy pieces of 'css and html codes' commonly found on popular DIY web dev sites.
*edit: spelling
Why on earth would you prefer to pan around a desktop site designed for a big screen with a tiny cursor when you've got a tiny screen and a massive cursor (fingertip)?
I simply don't get the calculus, people who don't need to zoom won't and they get to see a nice site. What on earth do you win by preventing people that need to zoom from doing that? That they get to see a nice design that they can't use? And that is supposed to be better than seeing a usable site that needs panning? That's insane. I certainly hope your kind of thinking will go away quickly.
I would not prefer to pan - if I resort to it, it's because I have to because the site design is broken.
At that point you better not have disabled zoom too, if you want me to come back to your site.
Not everyone has the same eyesight or the same size phone.
Furthermore, even on my desktop I'll use zoom sometimes (you know you can zoom on the desktop too right?) because I can't read something, and it's a lot easier to zoom than to try and screenshot it and then enhance in some other program.
Further down you said you've been on sites where you wish zoom was disabled. Can you show me even a single example? Did you mean that you wish the designer hadn't relied on zoom for their page to work? Because that's a very different thing than "the site was perfectly ok on mobile but they had zoom on and I didn't want it on". In fact, if their design was good enough for zoom to be off, how did you even know they had it on?