通过JavaScript禁用Firefox图像缩放 [英] Disable Firefox image zoom via javascript

查看:141
本文介绍了通过JavaScript禁用Firefox图像缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Firefox中的图像质量有问题:Firefox似乎是
,以默认的方式放大一切,所以一些图像真的看起来
模糊,而在铬中它们的质量是完美的!
我发现,Firefox中有一个设置可以解决问题:
$ b


View-> Zoom->缩放文本。


你知道一种方法来强制Firefox使用这个设置作为一个特殊的
网站javascript)??



非常感谢
Bye

解决方案

<不,因为这是一个用户的设置,他们可能视力不佳,并希望看到您的网站上的图像。代表他们做出这个决定并不是为了你。


I have a problem with image quality in Firefox: Firefox seems to zoom "everything" per default so some images really look fuzzy while in chrome their quality is perfect! I found out, that there is a setting in Firefox, which resolves the problem:

"View->Zoom->Zoom Text only".

Do you know a way to force Firefox to use this setting for a special website (using javascript)??

Thanks a lot Bye

解决方案

No, because that's a setting for users, who may have poor eyesight and want to actually see the images on your site. It's not for you to make that decision on their behalf.

这篇关于通过JavaScript禁用Firefox图像缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆