As you know, <input> has an attribute autocomplete, if it’s set to on, it will remember what you type, and when you type again in this input bar, after you type a few letter, it will autocomplete the remembered words.
I’d like to know, can I get the autocomplete words without a type?
As you know, <input> has an attribute autocomplete , if it’s set to on
Share
Do you mean access a browser’s autocomplete words from Javascript or similar? Technically no, as this would be a security flaw, and malicious web pages could suck out all of your personal information. In reality there are security flaws in browsers and I’ve seen IE6, IE7 and Safari are vulnerable to an attack which reveals a browser’s autocomplete values.