Is it possible to use ECMAScript 2018 in Internet Explorer 11? - javascript

I wrote a code in a django template that works very well in all other browsers but Internet Explorer, is it possible to make it work with the current version of javascript i'm using with other browsers?

Yes, try to use babel-polyfill.

Related

JS ActiveXObject On Chrome

I have Old ASP Project that depends on ActiveXObject
and now I want to make my project cross-browser and work on chrome in additional to ie
Can I Find any Plugin that makes chrome support ActiveXObject
Note I tried to use DOMParser() instead of ActiveXObject but it's not working fine
ActiveX is only supported by IE - the other browsers use a plugin architecture called NPAPI. However, there's a cross-browser plugin framework called Firebreath that you might find useful.
Chrome doesn't support ActiveXObject. You could use IE Tab in Chrome.
IE Tab exactly emulates IE by using the IE rendering engine directly within Chrome. This will enable you to use ActiveX controls and test your web pages with different versions of IE.

How good is support for createMediaElementSource() in Safari?

I am having a difficult time finding information about createMediaElementSource() support. The mozilla MDN shows support starting with version 6.0 but caniuse.com states that safari apparently does not support it.
So what is true? Does safari support this function? If yes, starting from which version?
I ran the MDN test http://mdn.github.io/media-source-buffer/ on all versions of Safari available to me on saucelabs (v6 to v9) and it did not work on any of those versions.

Is the JavaScript Set data structure supported by all the browser?

I am pretty new in JavaScript and I have the following doubt.
Into a script I am using the Set data structure. I don't understand if it is supported only by the latest browser version or also from the old version.
What can you say to me?
MDN has the following about basic support:
Chrome 38 and up
Firefox (Gecko) 13 and up,
Internet Explorer 11 and up,
Opera 25 and up,
Safari 7.1 and up
Other features may or may not be available, see the linked page for reference.
It is part of the ECMAScript 6 specification, so you it will be well-supported in the future, but right now, I would not depend on it. But you might use a tool to convert your ECMA 6-complaint code to ECMAScript 5, as it is backwards compatible.
Not all browsers support it now. It is a rather new feature. If you are new to JavaScript, avoid using it.

Crypto.getRandomValues Implementation for IE9 and Firefox

I am looking for an implementation of crypto.getRandomValues to use it in the Internet Explorer 9 and Firefox. From my basic knowledge of JS/HTML this are not available in those browser.
any idea?
The best example I can find is alert(window.crypto.getRandomValues(new Uint8Array(2))[1]). This will work great for firefox and chrome- but not IE. You'll have to use a third party library such as Clipperz and check to see its compatibility if you want randomness on all three.

How do I make "ActiveXObject('SAPI.SpVoice')" work in firefox

How do I make ActiveXObject('SAPI.SpVoice') work in firefox?
firefox does not recognize the ActiveXObject function. Are there any alternatives for this?
Firefox does not support ActiveX technology, you can try using plugins or extensions
Because Firefox does not use ActiveX, you have to use a JavaScript substitute such as
http://www.masswerk.at/mespeak/
and
http://www.jtalkplugin.com/

Categories