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

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?

Related

input number don't work in IE

i have
input type="number" pattern="[-+]?[0-9]*[.,]?[0-9]+"/
this code work super in Chrome and Firefox, but IE don't work.
I need help. Thank you.
There is limited support in IE and mobile browsers for this input type.
See the following sites for more information:
http://html5please.com/#number
http://caniuse.com/#feat=input-number
http://quirksmode.org/html5/tests/inputs_numbers.html
According to the html5please site, there is a javascript polyfill available which handles old browsers gracefully.
Microsoft recognises HTML5's input type="number" in IE10 and IE11, but still has no UI support for it.
You'll have to wait or make your own implementation with JavaScript. You may consider that for backward compatibility with a large chunk of your potential users, anyway.

Input type "color"?

I checked out some input type from HTML5 and I found out that the chrome support for the input type color doesn't work. My chrome version is 15.0.874.121 and the w3schools site says that it's supported since the version 12 :
My question is just : why that doesn't work for me? Is it a regression of the HTML5 support in Chrome?
w3school is not a official doc. It has lot of errors. It's partially right though in this case. Just see this site http://w3fools.com/
As far as input type color is supported check this
Following browsers now supports color widget
Firefox 29
Opera Desktop 11
Chrome Desktop 20:
Android 4.4 / Chrome Mobile :
Opera mobile:
Blackberry:
Firefox os 1.3
Firefox os now supports color input but i still don't have a screen shot
This link/info is now old
http://www.reddit.com/r/browsers/comments/is1q9/does_chrome_safari_and_firefox_support_input/
Chrome 12: partial (minimal element support: yes, custom ui: no, value sanitization: no, field validation: yes)
Safari 5.0.1: partial(minimal element support: yes, custom ui: no, value sanitization: no,field validation: yes)
Opera 11.50: partial (minimal element support: yes, custom ui: yes, value sanitization: yes, field validation: no)
IE 9: No
Firefox 5: No
If u want u can use this http://www.eyecon.ro/colorpicker/
I’ve got standalone versions of Chrome for testing (see http://www.oldapps.com/google_chrome.php), and neither Chrome 12, 13 or 15 seem to support <input type="color"> — they all just show a text field. (As opposed to Opera 11, which shows a colour picker.)
The Reddit article linked to in #WebDeveloper’s answer says that html5test.com reports Chrome 12 as supporting field validation on <input type="color">. This is true — html5test.com does report that for Chrome 12 (and doesn’t for Chrome 15), but I’m not sure what that actually means.
<input type="color" /> is currently in development and is not yet implemented.
See:
http://code.google.com/p/chromium/issues/detail?id=83865
http://code.google.com/p/chromium/issues/detail?id=82635

Which browsers natively support the JSON object? [duplicate]

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.

HTML5 datalist not working in Firefox 6.0.2

Though, most online resources on HTML5 mention that datalists are supported in Firefox 4 & above, but it does not work with my Firefox 6.0.2.
Also tried the example at http://www.html5tutorial.info/html5-datalist.php.
Does it work only in Firefox 4?
Is there a way to check the support with Modernizr?
Regards,
S

Do any browsers support HTML5's context menu?

Do any browsers support the HTML5 context menu attribute?
This has been added to Firefox 8.
See this for an example of it working https://bug617528.bugzilla.mozilla.org/attachment.cgi?id=554309
Right now, the contextmenu attribute is not supported by any browser version. According to caniuse.com it doesn't have support for any current browser versions (IE 9, Firefox 4, Safari 5, Chrome 11, Opera 11.1, or any mobile browsers - iOS, Opera, or Android). It is unknown if it will be supported in future versions.
It was discussed in April 2010 regarding adding it to Webkit. But it doesn't look like it's been added to the nightlies yet.
According to this wiki page for now there is no any popular layout engine except Firefox's Gecko that fully supports the menu element. Meanwhile, you can try some script solutions, like jQuery Context Menu Plugin.
You can use Modernizr for HTML5 feature detection.
It is working well here with Firefox 9.
Firefox 8 Aurora implements this feature. But unfortunately it doesn't seem to work for me now...
Pretty sure it's supported with a polyfill: https://github.com/medialize/jQuery-contextMenu