>>359
var input = content.document.evaluate("//input[not(@type) or @type='' or @type='text']", content.document, null, 9, null).singleNodeValue;
if(input){
input.setSelectionRange(input.value.length, input.value.length);
input.focus();
}