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

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/

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.

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

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.

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 to use mouselockAPI?

I have Firefox nightly, Opera next, and Google Chrome, but I can't test the mouselock API on them (why?). I downloaded a special version of FF nightly, which should support it, but it also doesn't support.
May be an error with my computer?
Thanks in advance,
https://developer.mozilla.org/en/API/Pointer_Lock_API
The Pointerlock isn't supported in any browser.

is top.document cross browser?

I'm writing a javascript that relies on top.document but I'm not sure if I can assume all the major browsers supports it or not.
Is top.document cross-browser compatible?
According to W3Schools, window.top is supported in IE (since v4), FF (v1), and Opera (v9). I can personally vouch for it working in Safari as I just tried their example code in my own browser. :-)
I've never used it, but I believe it is.
Nested frames are so passe.
Check out this handy Quirksmode article on the topic.

Categories