简体   繁体   English

服务器端库,使javascript IE兼容

[英]A server side library to make javascript IE compatible

I have been looking for a server side library that is able to capture all scripts used on an HTML page, and convert them to IE (<9) compatible (eg, handling things like getter / setters, missing types etc.). 我一直在寻找能够捕获HTML页面上使用的所有脚本的服务器端库,并将它们转换为IE(<9)兼容(例如,处理getter / setter,缺少类型等)。 However I am not having much luck finding one. 但是我没有找到一个好运。

Does anyone know if such a library? 有谁知道这样的图书馆? Am I dreaming thinking I will be able to find / build such a thing? 我梦想着能够找到/建立这样的东西吗?

My preference is first node.js, second POSIX, however any suggestions would be much appreciated. 我的偏好是第一个node.js,第二个POSIX,但是任何建议都会非常感激。

Edit: I think it is worth noting that I am not referring to something which handles differences in the IE DOM (although that would be helpful), but rather something that handles javascript language differences. 编辑:我认为值得注意的是,我并不是指处理IE DOM差异的东西(尽管这会有所帮助),而是处理javascript语言差异的东西。

There are what you call shims, like ES5-shim . 你有什么叫垫片,比如ES5-shim Though not thoroughly complete, they create support for ES5 functionality for legacy browsers. 虽然不完整,但它们为旧版浏览器创建了对ES5功能的支持。 This is client-side code though. 这是客户端代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使 JavaScript 与客户端和服务器端兼容? - How to make JavaScript to be compatible with both client- and server-side? 单个JavaScript(库)来修复所有IE 6问题并使其与css3兼容 - Single JavaScript (library) to fix all IE 6 issues and make it compatible with css3 如何使javascript库在节点js中工作以进行服务器端操作 - how to make a javascript library working in node js for server side operations javascript与IE不兼容 - javascript not compatible with IE 是否有可以使CSS3在IE浏览器上兼容的JavaScript“包”? - Are there any JavaScript 'packs' that can make CSS3 compatible on IE browsers? 将异步 JavaScript 重构为 IE 兼容 - Refactoring asynchronous JavaScript to be IE compatible 如何使用Attach事件使此脚本与IE8及以下版本兼容 - Javascript How do I make this script compatible with IE8 and below using attach event 如何制作与IE7,Chrome,Mozilla和Safari兼容的.NET / JavaScript登录页面? - How do i make a .NET/JavaScript login page which is compatible with IE7, Chrome, Mozilla and Safari? 客户端和服务器端之间的兼容加密库(JavaScript -&gt; C# 或 Java) - Compatible Encryption Libraries between client a server side (JavaScript -> C# or Java) 如何使手风琴与 IE9 兼容? - How to make accordion compatible with IE9?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM