2
I’m developing a bot in javascript where it will insert a value in a field of a website and click 'submit'.
window.onload = function() {
window.open('http://www.google.com', '_self');
document.getElementById('gbqfq').value = 'javascript';
document.getElementById('gbqfb').click();
}
However I found a code similar to this on the internet, it opens the page but does not insert the value in the search field and click 'go'. Someone would have an idea similar to that 'no solution''?
You can only do this in the form of a browser or bookmarklet extension, or if you find a way to inject scripts into the desired site (some vulnerability that allows XSS).
– bfavaretto
In some other programming it is possible to make this access and send information simulating a user typing in the field?
– ralfting
A bookmarklet does not solve?
– bfavaretto
@ralfting any language that has TCP/IP communication theoretically allows, with greater or lesser complexity. You’d better explain what you’re trying to do, so you can point out the best way.
– Bacco
guy maybe you can run by the browser console. google Chrome allows
– Julio Rennan Azevedo Maia de S