How to use autocomplete in chrome app? - android

I'm using autocomplete="off" in my websites, but 2 days ago, it stopped working in Chrome app on android.
Is there any other way I can achieve this? Thank you.

Try putting it in the form.
<form autocomplete="off">
Solved it in my chrome desktop browser. Chrome ignores autocomplete="off" in inputs
It seems that you can also get creative with jQuery to create fake invisible forms a milisecond after choosing a field so the autofill won't show up.
$(".fake-autofill-fields").show();
// some DOM manipulation/ajax here
window.setTimeout(function () {
$(".fake-autofill-fields").hide();
},1);
It seems to be the only way since it's a browser problem and not a language problem.

Related

How to stop autocorrect input text for a PWA on mobile browser (Android and iOS)?

On my PWA, for input, native keyboard of the phones are active. Need code for following usecases
1. How to disable autocorrect for PWA for android and iOS?
2. How to build your own keyboard without auto correct for PWA for android and iOS?
Try using following code with you input field inside form element :-
autocorrect="off" autocapitalize="none" autocomplete="off" spellcheck="false"
I think making your own keyboard is not a good idea as it will take much time, if you want to have your own virtual keyboard(i hope for security reasons you are doing this) you can use open souce javascript plugins for the same.

In Firefox for Android not a single link clicks, it only highlights in grey

If you go on my site on Firefox for Android (either a mobile or a tablet) the links either in the menu, or anywhere else for that matter refuse to click, they only highlight in grey as if they're active, but don't actually do anything.
It works fine in Chrome for Android...I can't figure this one out. Help greatly appreciated.
The site is built in Wordpress
Total Lawn Care link
There seems to be a missing closing </div> tag in the html. I think the div <div class="gwrapper"> is the one causing the problem. Chrome is smart enough to "guess" where things should be closed and still work correctly but firefox has more strict of standards.
try modifying the html and add the </div> where you think it needs to be.
you can go to W3C validator.org
to check for errors in your html. I used an editor like Webstorm to help track the problems.
I hope this helps!

Android app doesn't read input boxes

I put a WebBrowser component in my app because I have to display a webpage. The webpage also contains an input box.
<input name="nome" style="width:160px" type="text" />
This is the HTML code I wrote. By the way, when I click on it with my Samsung device because I must type some text, the keyboard doesn't appear.
What could I do?
You can see the webpage here: click
It's a known limitation of the web browser component.
It's doubtless findable in Embo's QC database.
It's pending a fix, I gather.
<checks>
Oh yes, here it is: QC 119313
Also documented in the Delphi XE5 Release Notes

Drawing on canvas HTML-Element shown in Android WebView: always lines from bottom to his touch are drawn

I have a website with a signature field in it, where the user needs to paint his signature.
On Google Chrome, on Firefox Mobile and on Safari Mobile - iPhone and iPod Touch- it looks like it should be:
But on the built in Android browser, and my custom WebView I needed to built for our app, it looks like:
The Code on the website is:
<canvas height="120" width="410"></canvas>
<input ...
I presumed a problem with focusing the webview, but
webView.setFocusable(true);
webView.setFocusableInTouchMode(true);
webView.requestFocus(View.FOCUS_DOWN);
was not solving this.
Have you experienced such behaviour and know a solution?
Thanks for your help.
I solved it by changing the website and javascript code with the signature pad on the customer side.
After using the new version of https://github.com/thomasjbradley/signature-pad , the behaviour on Android WebView and the built-in Android browser was fixed.

Posting form to a hidden iframe in Android browser

I just noticed that one of the things that keep working in browsers on PC, does not work on an Android browser.
I want to POST a form to a hidden iframe. This is basically to initiate a file download after verifying user credentials.
<form method="post" action='/downloader.php' target="hiddenframe">
....
......
...
<input type="submit" value="Download">
</form>
<iframe name="hiddenframe" style="display:none;"></iframe>
This doesn't work on Android browsers. I suppose I should be concerned of the iframe. What should I take care of or what alternatives I have to make this work?
Thank you for any insight.
check this notes about using iframe in Android:
dose apple and Android Browsers support Iframe??
I hope this helps you.
I don't know how Android handles frames, plus different Android roms use different browsers.
What I do know is that as of HTML5 frames are deprecated, therefore not a very good practise. If not anything you are going to have more and more compatibility issues with new browsers in the future.
Why don't you do the request on the same page? If the downloader.php has the proper headers the download process should start without breaking or changing the current page at all.

Categories

Resources