LastPass - What exactly does this do "Respect AutoComplete=off: allow websites to disable Autofill" - lastpass

It's a setting inside LastPass. There are settings where you can turn on and off autofill, but I have no idea what this does. I'd appreciate it if someone could educate me on this.

If a website uses something like this:
<input type="password" id="passwordP" class="form-inputText"
placeholder="Password" autocomplete="off" onfocus="pwdFocusP();">
Note the autocomplete keyword.
If you leave that option
Respect AutoComplete=off: allow websites to disable Autofill
in LastPass off it supposedly will not respect the site developer's request for a manual entry (or copy/paste of the value).

Related

How to connect form with reCaptcha to Google spreadsheet

I have a form set up to connect its responses to a Google spreadsheet, but it is of late getting some spam, all of a very similar type. I cannot pin down the IP addresses like I usually do, to exclude them from the site, so I am trying to institute Google reCaptcha.
The submit button for the form as it is without reCaptcha is this code:
<input type="submit" name="submit" value="Send me the magazine" id="ss-submit" class="jfk-button jfk-button-action ">
The reCaptcha instructions say to use this for your button:
"Paste this snippet at the end of the <form> to create a button protected by reCAPTCHA. You will need to create a callback function to handle the result."
<button class="g-recaptcha" data-sitekey="SiteKeyHere" data-callback="YourOnSubmitFn">Submit</button>
I am not sure how to integrate the two buttons, if it is possible. I don't know what to do to "create a callback function to handle the result" as mentioned in the reCaptcha instructions. If you please could help me to understand this, I would be grateful.
Thank you.
Physically you can't. The office standard just won't have this enabled.
As far as I know reCaptcha only works on php type sites, not in an office file.
You can however set your spreadsheet to invite only.

Embedding HTML5 support

I have a rails app which uses some HTML5 features, mainly for input fields, such as
<input id="operation_date_from_date" name="operation_date[from_date]" type="date" />
I am familiar with the lack of proper support in browsers that aren't Chrome, and I know that there's some kind of solution, as suggested here: HTML5 input type date, color, range support in Firefox and Internet Explorer
So, two questions:
A. Is there some kind of a config file where I can put the webshims solution which will apply for the whole app?
B. As the app is often being used on computers without internet connection (for security reasons), can I trust this solution to work offline as well?
Thanks a lot,
Guy
A. You could use webshims-rails gem that allows you to integrate the Webshim library. Just follow the installation steps to add it to your stack.
B. Yes, as long as you can access the app from your browser, of course!

Submit webform via URL only?

I'm not really sure this belongs here, so instead of downvoting just lemme know if so and I'll quickly move it on.
Anyway, there is a website that has a search page, that when hitting the search button it doesn't include the search query in the URL.
After searching for something, the page is redirected to ssearch.asp, but as said, the query isn't there.
My question is if there is a way to submit the search values solely via URL.
I was wondering if there is a way to fake the search-submit button and post the search term
via URL according to form field names.
The name of the input box is search, so I tried this URL: http://www.torec.net/ssearch.asp?search=query, but it doesn't work, the server returns:
server error.
Just to be clear, I'm not looking for a server-side solution, and actually nor for a HTML solution, I just want to be able to paste a plain old URL in my browsers address bar and be there.
Is this possible?
Update
This link doesn't work:
http://www.torec.net/ssearch.asp?search=dark&page=1
While this one does:
http://www.torec.net/ssearch.asp?search=dark&page=2
Any way to bypass this?
Sometimes servers conflate GET and POST parameters, as in PHP $_REQUEST hash. However, normally they are separate - and a server that expects its parameters in multipart/form-data might not look at URL at all. In such a case, as it seems to be here, you have to construct a POST request. On the client side you can do it through AJAX or through constructing and posting a form; on the server side, you can use curl, or a library. You did not say what you want to use it for (and where you want to use it), so you just get the general answer, I'm afraid.
EDIT: Here is the JavaScript semi-solution. You have to already be on some page (i.e. can't use it on _blank), and I'm not sure if it works on all browsers.
javascript:d=document;f=d.createElement("form");h=d.createElement("input");f.setAttribute("method","post");f.setAttribute("enctype","application/x-www-form-urlencoded");f.setAttribute("action","http://www.torec.net/ssearch.asp");h.setAttribute("type","hidden");h.setAttribute("name","search");h.setAttribute("value","query");f.appendChild(h);d.body.appendChild(f);f.submit();
Edit: It is not possible to create a link directly to the first page. However, you can easily send a user to the first page by by creating a form:
<form id="postForm" method="post" action="http://www.example.com/search">
<input type="text" name="search" value="q">
</form>
And then submitting the form whenever the user clicks a psuedo-link:
document.getElementById("postForm").submit();
This can also be done by typing JavaScript code into the address bar:
javascript:a=document.createElement("form");a.method="POST";a.action="http://www.torec.net/‌​ssearch.asp?search=dark&page=2";i=document.createElement("input");i.name="search";i.value="q";a.appendChild(inpu‌​t);a.submit();

Manual/non-JS reCAPTCHA not translating

When JavaScript is disabled reCAPTCHA uses a JS-independent captcha (obviously). But the problem is that the text/links are not translated.
In fact, for the manual challenge the following text is additionally displayed:
"We need to make sure you are a human. Please solve the challenge below, and click the I'm a Human button to get a confirmation code. To make this process easier in the future, we recommend you enable Javascript."
The text above is in English even though I've set "lang: 'es'" (but obviously this doesn't work because it's set in JavaScript).
Is there a certain way to specify the language for the manual challenge? (different to the JS "lang: 'es'" JS settting)
Or can custom translations be written for the manual challenge?
You can only add hl=es parameter to link for noscript

Best way to ask a user to input a date?

How can I ask my user to input a date in my Blackberry application?
What controls does the RIM offer me to show my users something familiar and easy to implement?
If you're working on a Blackberry Web content, you might want to use HTML5 for getting dates,
<div>
<b>Date Input:</b> <br/>
Dates between 2010 - 2018: <input type="date" id="txtDate" min="2010-01-01" max="2018-12-31" value=""/>
</div>
Take a look at the DateField control. Also - new to the 5.0 API is a DateTimePicker control which is an improved version of the control.

Resources