Which browsers natively support the JSON object? [duplicate] - json

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Browser-native JSON support (window.JSON)
Recent browsers such as Chrome, and Firefox all have native implementations of the json.js JSON object. However what about Opera, Safari, Safri, Mobile, Android Stock, Android Dolphin, and the various versions of IE?
I've been looking online to find a support chart and for the life of me I can't. I'm writing a tutorial demo and really need json serialization only for the demo itself, I'd really rather not include anything that is orthogonal to the feature itself.

If I remember correctly, it was all webkit browsers, Firefox 3.5+, IE8+, and Opera 10.5+. Android and safari all use webkit.

I can see most of the browsers listed are found in mobile devices(Unsupported ones).Most mobile browser don't support javascript 100% unless you do it in a good way.
Why don't you try sencha plattform.It is built using EXT JS. and they have tried to factor in the small browsers/new browser compatibility.

Related

Cross-browser support for DOMParser

I'm using the DOMParser to manipulate AJAX-loaded html content before injecting it into the DOM. caniuse state that current support is good, but doesn't go that far back - for IE with only partial support until version 10 and for iOS only full support in Mobile Safari from version 8.1. But in this post the claim is made that it will work all the way back to IE6 (no mention here about mobile browsers). So, my question is: If one uses window.DOMParser or the ActiveX version Microsoft.XMLDOM what kind of coverage will one have? Will it cover IE back to IE6 as claimed in the linked post or is that too optimistic; and roughly what proportion of mobile browser users would one exclude requiring DOMParser support - pur in another way: is the mobile platform ready for DOMParser-supported applications?
If you use something in the spirit of
try { Microsoft.XMLDOM } else {window.DOMParser}
You will be good as far back as IE 6. But three years later I hope you do not need that support anymore :)

which web browsers (and which versions) implement the autocomplete=off feature?

I have a web form asking for a credit card number. How can I prevent the browser from saving this information?
I see people proposing to use the autocomplete="off" feature.
Which web browsers do implement this feature?
For which versions of those browsers?
I am looking for a trustful public article with this answer, so that I can rely my decision on it.
Also, is there a standard javascript snippet to implement this feature in case the browser does not support it?
note: before marking this question as duplicate, please note that I did not find the answer in those stackoverflow's questions:
Is there a W3C valid way to disable autocomplete in a HTML form? ,
How to prevent the credit-card number field being cached by the browser , https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion , http://msdn.microsoft.com/en-us/library/ms533032%28VS.85%29.aspx
According to MDN: input element the autocomplete attribute is supported from these browser versions:
Desktop:
Chrome 17.0
Firefox 4.0
Internet Explorer 5
Opera 9.6
Safari 5.2
Mobile:
Android : unknown
Firefox Mobile 4.0
IE Mobile : all
Opera Mobile : all
Safari Mobile : all
This may be 4 years old, but it isn't folly to assume that the versions quoted here and above support autocomplete="off".
Is autocomplete="off" compatible with all modern browsers?

Website displaying differently on firefox, internet explorer and google Chrome

I have finished designing my website but it displays differently on firefox, chrome and internet explorer. I believe i have done everything right but i dont know what is happening. Actually, google chrome displays it as i want it to, but firefox and internet explorer does not. My internet explorer version is 10 and firefox is 29. Please any help is much appreciated. thanks
This is the link to hosted site: http://www.ruebenpersonal.netai.net.
http://pastebin.com/xTnXeGhq - Link to the html source code.
Some browsers are uses the same rendering engine and some are not.
For example:
Google Chrome and Safari browsers are using : Webkit Engine (See: http://www.webkit.org/)
Firefox is using Gecko Engine (A.K.A. Moz) - (See: http://en.wikipedia.org/wiki/Gecko_(software)
Opera is using : Presto (See: http://www.opera.com/docs/specs/productspecs/)
So differences between rendering engines are normal. Which is why we are using their css properties like;
-webkit-border-radius /* For Webkit */
-moz-border-radius /* For Gecko */
-o-border-radius /* For Presto */
border-radius /* For IE9+ */
Some older browsers like Internet Explorer 6, 7, 8 are not giving support for most of CSS3 methods. To enable that methods, there are available to use JS engines like html5shiv or modernizr.
Note: You can use a service like this to generate starter templates that supports almost every browser.
Initializr: http://www.initializr.com/
Each browser uses different rendering engines. This means that certain HTML elements, CSS styles, etc. will be interpreted differently or not at all by browsers that do not share the same rendering engine.
To understand more, I would refer to this link: http://taligarsiel.com/Projects/howbrowserswork1.htm
As far as developing for multiple browsers, I would look into the modernizr javascript library, http://modernizr.com/, and for quick reference, caniuse.com.
Hope this is helpful.

Native JSON object support on mobile browsers

I want to use JSON.stringify and JSON.parse to do some work on mobile browsers such as mobile safari on iOS and Webkit browsers on android and also the WebView on both platforms. I want to know the compatibility.
PS: I tested the functionality on android 2.1 and iOS 3.2 and they both support.
This site offers great tables of compatibility for lots of functionalities.
Check the JSON mobile support here:
http://caniuse.com/json
Hope you find it useful.
Cheers.

JSF - List of supported Browsers

Can someone help me to find out the list of all Supported Browsers for JSF2?
Technically the JSF is converted to html on the server side like JSP and php and such, so unless you are doing something really crazy or using a feature not supported by certain browsers yet (CSS3 or HTML5) it should work with most browsers
(source: I've used my JSF apps on IE, Firefox, Chrome, and Opera Mobile with no issues so far)
I wasn't able to find a place online that officially lists supprted browsers, only sites like IceFaces and RichFaces
just found this, not actually looking for it but thought it might be useful
CaniUse.com lets you select features and then it shows a table of browsers and whether they support the features or not