Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29901

chrome extension gmail login

$
0
0

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


Viewing all articles
Browse latest Browse all 29901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>