I'm trying to create a chrome extension which can fill in a form on a certain website.
On the website, you need to give your email address, and this gets checked on the database, whether the account exists or not, and it will show the password field whenever the account exists.
Now, with the chrome extension, I'm trying to make it so that the email address gets filled in automatically, and I'm doing this with jQuery:
$('#emailAddress').val('email@example.com').change();
But this doesn't trigger the event on the page. After some searching, I found that the event happens with knockoutjs, and after some more searching, I found that making jQuery trigger a knockoutjs event is possible when you load jQuery before knockout.
Would anyone know how I would be able to achieve this in a chrome extension?
Thanks in advance.