问题标签 [browser-support]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
6046 浏览

css - CSS3 过渡在 Firefox、Safari 和 IE 中不起作用

我正在玩带有 CSS3 过渡的图像交换悬停效果。不幸的是,它只适用于 Chrome。我已经从 CSS3 过渡中看到了很多示例,它们在 Chrome、Firefox 和 Safari 中都可以完美运行,但这次不是...... :( 问题出在哪里?

http://jsfiddle.net/kYZ9Y/

干杯!

0 投票
1 回答
39 浏览

html - 避免在内联网站元素上使用协议?

在没有协议的情况下实现诸如 css、javascript、图像或 Web 链接之类的网站元素是否很好?

例如:jquery.com 提供的 cdn 文件没有:

使用的优点是,它们会自动使用当前协议(http 或 https)。甚至链接也更短(好吧,只有 4/5 个标志)。有什么缺点还是我应该在自己的网站上使用它?

关于浏览器如何处理这种链接(官方标准)有什么定义吗?

0 投票
2 回答
3756 浏览

html - 浏览器支持的 if 语句

If 语句是否可用于 html,因为我希望在有人使用 Internet Explorer 时弹出此文本<p>You are using Internet Explorer we don't support this browser</p>

而对于火狐</p>Your browser is supported</p>

这可能吗?

这是我的代码:

0 投票
1 回答
446 浏览

html - contenteditable 浏览器支持,它是否在不支持 html5 的浏览器中工作

我读到 contenteditable 是 HTML5 中的新内容,并且在对 contenteditable 的浏览器支持列表中显示 IE 5.5+ 支持它。

我只是感到困惑。据我所知,例如 IE6 不支持 HTML5。如果它在 HTML5 中是新的,那么 IE6 怎么可能支持它。如果它在较低版本的 IE 中不起作用,那么它如何支持它?

0 投票
1 回答
162 浏览

javascript - !$.support.opacity - 服务器上的行为与 localhost 不同

我有一个在 MVC4 中开发的视图,它使用以下客户端 JavaScript 使用 jquery-1.10.2.min.js lib 来查看用户的浏览器是否可以做某些事情,所以我们知道在使用http:/时如何处理它们/www.plupload.com/

我正在运行 IE 10.0.9200.1671,当我在通过 VS 运行 MS Cassini 服务器的本地 Windows 7 PC 上运行此代码时,我的 customRuntime 不是我所期望的“html4”。但是,在同一浏览器中使用其他选项卡并在我们的运行 MS IIS8 的测试和 QA Windows 2012 服务器中指向此代码的相同版本,它显示 customRuntime 是“html4”。

再次在同一个浏览器中,当指向我的本地服务器时,我得到“html5 运行时”,当指向测试和 QA 时,我得到“html4 运行时”。我在服务器上寻找丢失的文件/库,代码看起来已经完全部署。我的上传在所有环境中都可以正常工作,但我期望的一些 HTML5 好东西没有发生,而且我发现 IE 10 的报告因站点而异,这很奇怪。

我的主要问题是这个客户端代码在同一个浏览器中呈现时会有什么不同?

提前致谢。

0 投票
1 回答
5769 浏览

android - Android 浏览器不支持带百分比值的边框半径

在 Android 浏览器上使用边界半径中的 % 值是否存在已知问题?

我注意到当我使用:

边框半径似乎适用于所有移动浏览器,但是当我使用时:

边框半径不适用于 Android 浏览器。

0 投票
1 回答
32937 浏览

google-chrome - 如何禁用 chrome 打开“新窗口”和“标签”?

他们是否可以通过 Chrome 浏览器设置将互联网上的所有页面保存在一个窗口中?或者我可以使用的插件/插件?

当我单击某些链接时,我不希望网页在新选项卡和/或新窗口中打开。

如果有人有任何建议,请告诉我!谢谢!

0 投票
3 回答
14131 浏览

css - Safari CSS 断词:keep-all;不管用

我看到在 Safari 浏览器word-break中没有使用我需要的 CSS 属性。为什么 ?

在此处输入图像描述

0 投票
1 回答
144 浏览

css - 我如何使用`::selection`在chrome浏览器中?

我正在尝试为输入值设置背景和颜色。::-moz-selection我成功地为 Mozilla 浏览器做到了这一点,但::selection在 Chrome 和其他浏览器(如 Opera)中不起作用。

Chrome 中表单的屏幕截图- ::selection。它失败了

在 Chrome 中不起作用

Mozilla Firefox 中表单的屏幕截图- ::-moz-selection。它有效

在 Mozilla Firefox 中运行良好

这是我的代码:

和CSS:

谁能告诉我如何使它与 Chrome 和其他浏览器一起工作?在这里创建了一个完整的代码。

更新:我想澄清自己,问题是关于添加::selection内部文本<input>和其他表单字段(首先在问题中解释)。问题不在于::selectionFirefox 以外的浏览器中的普通文本(在 Firefox 中运行良好)。::selection在任何浏览器中添加非表单元素时,我从来没有遇到过问题。

0 投票
2 回答
74225 浏览

html - Why is HTML5 input type datetime removed from browsers already supporting it?

I was wondering why all browsers, like Chrome versions higher than 26, which had support in the past for the input datetime removed it?

This sounds like a duplicate of this article, but that one is quite aged.

It looks like the HTML WG prefers datetime-local (w3c) above datetime (w3c), but why?

See this for feature development timeline.

What others say:

According to mobilexweb.com it was deprecated in iOS 'because it looks too much like the datetime input type'.

Following Google Chrome, now Safari on iOS doesn’t support the datetime input type anymore and it will fallback to text. This type was deprecated in the standard in favor of datetime-local or using two inputs, date and time for the same purpose. The problem is that datetime was compatible with iOS from version 5.0 to 6.1; if you are using it, be careful!

What is the difference?

Where datetime-local contains only a date and time element, datetime also contains the time zone. This is useful since you might want to act differently when the client's time zone is different from the server's one.

Why does this matter?

What if the web page asks: when do you want me to call you, and the user selects 'tomorrow, 3pm', when do you need to call him back? tomorrow 3pm UTC or CET?