On Thu, Dec 15, 2011 at 4:16 PM, Narendra Sisodiya < [email protected]> wrote:
> > > On Dec 15, 3:15 pm, Neha Tekriwal <[email protected]> wrote: > > Is there any javascript code available for google's safe brwosing api? i > > made one in python but can't integrate in a js file. Any suggestions? > > > > -- > > > > Neha Tekriwal > > I guess, You can use jQuery get/post method to do it, > > http://code.google.com/apis/safebrowsing/lookup_guide.html#HTTPGETRequest > > While getting the status code through ajax, don't forget about the same origin xmlHttpRequest policy. You will need to make the ajax call in such a way that it can get data from cross domains. If your current ajax request code is not working, check the browser console window to find if the ajax call was blocked due to this reason. Regards, Gautam Chaudhary http://gautamchaudhary.com -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
