我知道制作网页时有一些禁用缩放的技巧,但如何禁用焦点对我的设备上的缩放?
我有偏执狂Android和Xposed框架,所以,我知道什么是可能的。
我知道制作网页时有一些禁用缩放的技巧,但如何禁用焦点对我的设备上的缩放?
我有偏执狂Android和Xposed框架,所以,我知道什么是可能的。
I know there are certain tricks to disable zooming when making a web page, but how do I disable zoom on focus on my device?
I have Paranoid Android and the Xposed Framework, so, I know anything is possible.
不幸的是,答案是你不能。
在此错误报告/功能请求线程中,确认了Chrome开发论坛。该线程一直返回到去年3月,并且近期作为一周和半岛的帖子表示禁用这种行为的手段尚未实施。
可悲的是,最近的迹象是Dev团队不愿意在将来实施这种环境。尽管有几个人的输入,提供了该功能如何成为障碍的例子,并且请求设置禁用它,但是从开发人员的这种响应表示,他们避免添加新设置,而且他们宁愿制作"不那么恼人" :
#12:我还没有真正注意到它放大了移动站点。它的情况下,我们可以考虑一个错误,但我不认为模态禁令是正确的方法。我宁愿继续调整政策,以便在不合适时触发它。还要注意,相同的代码处理屏幕键盘覆盖表单字段时周围的滚动位置。即使在移动站点上,那种行为肯定是理想的。
#13:我们通常尝试避免在Chrome中添加设置;我们宁愿调整这一点,所以对所有用户来说都不令人讨厌,而不仅仅是发现该设置的人。自从最初提交的错误以来,我们已经提出了一些改进,以便频繁频繁地缩短;我们可能会受益于放松进一步忍受进一步的缩放水平。
< rant>我认为这是一个 可怕的 答案。他基本上说的是,他们宁愿根据开发人员的主观判断为所有用户提出普令决定,并仅适用于他们预期或已经被引起的情况,而不是允许用户自己决定他们想要这种行为与否。而且他们"相反地调整了这一点,所以对所有用户来说不那么烦人,而不仅仅是发现环境的人是一种逻辑谬论:绝对没有理由为什么这两个是相互排斥的。
这个"亲吻原则" ,单尺寸适合 - 所有cupertino的心态都是为什么我几乎没有触摸任何非谷歌操作系统的Chrome,甚至在Android我使用Firefox的一半时间。 < / rant>
但底线是它听起来不可能,它不会是不可能的。
或,讽刺但正确的答案是:您可以使用除Chrome以外的浏览器禁用此行为,至少适用于您不想在焦点上自动缩放的任何网站。
Unfortunately, the answer is that you can't.
That's confirmed pretty conclusively by this bug report/feature request thread in the Chrome development forum. The thread goes all the way back to last March, and posts as recent as a week and a half ago indicate that a means of disabling this behavior has not been implemented.
Sadly, recent indications are that the dev team is disinclined to implement such a setting in the future. Despite input from several people providing examples of how this feature can be an impediment, and requesting a setting to disable it, this response from a developer says that they avoid adding new settings, and they'd rather work on making it "less annoying":
#12: I haven't really noticed it zooming in on mobile sites. When it does, we can consider that a bug, but I don't think a modal ban is the right approach. I'd rather continuing tuning the policy so that it doesn't trigger when inappropriate. Note also that the same code deals with animating the scroll position around when the on-screen-keyboard would cover the form field. That behavior definitely desirable to preserve even on mobile sites.
#13: We generally try to avoid adding settings in Chrome; we'd rather tune this so it's less annoying for all users, not just the ones who discover the setting. We already made a few improvements to make this trigger less frequently since the bug was originally filed; we might benefit from loosening it further to tolerate further zoom levels.
<rant>I think that's a terrible answer. What he's essentially saying is that they'd rather make Procrustean decisions for all users, based on the developers' subjective judgment and applying only to situations that they anticipate or have already been brought to their attention, than allow users to decide for themselves whether they want this behavior or not. And the argument that they'd "rather tune this so it's less annoying for all users, not just the ones who discover the setting" is a logical fallacy: there's absolutely no reason whatsoever why the two are mutually exclusive.
This "KISS principle", one-size-fits-all Cupertino mentality is why I hardly ever touch Chrome on any non-Google OS, and even on Android I use Firefox half the time. </rant>
But the bottom line is that it sounds like it's not possible and it's not going to be.
Or, the sarcastic but correct answer is: you can disable this behavior by using a browser other than Chrome, at least for any sites where you don't want automatic zooming on focus.
我为Firefox用户想出来了:
about:config
。 formhelper.autozoom
false
这对于在桌面模式下导航网站特别有益,而没有这种讨厌的输入变焦。
I figured it out for FireFox users:
about:config
. formhelper.autozoom
false
This is especially beneficial to navigating websites in desktop mode, without that nasty input zoom.
我的解决方案可能有助于在我的Android手机上安装名为Windows Manipulator的AM应用程序,然后将DPI显着降低。这给了我足够的屏幕房地产(尽管具有明显较小的字体)。这似乎保持铬从剧焦的焦点变焦。我还切换到FlashFox Pro浏览器,不会经常放大焦点。这2个修复结合所取消了我的投诉。希望这有助于某人。
My solution that may help was to install am app called Windows Manipulator on my android phone then set the DPI significantly lower. This gives me enough screen real estate (albeit with significantly smaller font). This seems to keep Chrome from zooming on focus as often. I also switched to Flashfox Pro browser which does not zoom on focus frequently. These 2 fixes combined have eliminated my complaints. Hope this helps someone.
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有