Contents
  1. 1. Introduction
  2. 2. The Step
    1. 2.1. Send Verification Code to an Arbitrary Email via Web UI
    2. 2.2. Send Verification Code to Your Gmail via the Browser Console
    3. 2.3. Send Verification Code to Baidu via Web UI
    4. 2.4. Send Verification Code to Baidu via the Browser Console

Introduction

Recently I switched my email account from hotmail to gmail and rebind all my accounts. But Baidu doesn’t allow us to bind gmail. I searched on Baidu and found someone on V2EX said he successfully bound gmail to his Baidu account and Baidu doesn’t have verification on the server side. I tried that and also succeeded.

Here I want to share the steps to bind your gmail to a Baidu account. Some basic knowledge about front-end web development is required to understand the process.

The Step

Send Verification Code to an Arbitrary Email via Web UI

  1. Open the network tab of your browser console, so you can see the HTTP requests.
  2. Input an random email in the text field, for example “hahahahaha@qq.com”.
  3. Check the HTTP request in the console. The URI will be like this:

https://passport.baidu.com/v2/?bindwidget-send&action=bindemail&…email=hahahahaha%40qq.com

Send Verification Code to Your Gmail via the Browser Console

  1. Change the email in the parameters to your gmail. (If you use firefox, you can directly edit the HTTP request in the console.) Keep other parameters unchanged.
  2. Send the request.
  3. Check your gmail inbox.

Send Verification Code to Baidu via Web UI

  1. Keep the email unchanged. Input the verification code in the text field.
  2. Check the HTTP request in the console. The URI will be like this:

https://passport.baidu.com/v2/?bindwidget-bind&action=bindemail&…email=hahahahaha%40qq.com

Send Verification Code to Baidu via the Browser Console

  1. Change the email parameter to your gmail.
  2. Send the request.
  3. Finally, refresh the page. You will see your gmail is now bound.

Contents
  1. 1. Introduction
  2. 2. The Step
    1. 2.1. Send Verification Code to an Arbitrary Email via Web UI
    2. 2.2. Send Verification Code to Your Gmail via the Browser Console
    3. 2.3. Send Verification Code to Baidu via Web UI
    4. 2.4. Send Verification Code to Baidu via the Browser Console