I just started developing chrome extension. I have success in FB, LinkedIn etc..
Issue: Gmail has 2 separate input page verification (email and password) unlike FB or LinkedIn.
var email="myEmail";
var pass = "myPassword";
$('#email').val(email);
$('#pass').val(pass);
$('#login_form').submit();
.
If I'm going to do the same (like I've done in FB), ONLY the Email script will run but the password script won't continue to run.
My searches says to pass the data to background script but unfortunately Im stuck to this
chrome.extension.sendMessage({email: email, pass: pass, web: website}, function (response) {
//alert("msg received. ");
});
Should I continue? Am I on the right path?
What are other solution if there is? .
Sorry, if its too newbie, Im just trying to explore how to code extensions.
Thanks