Code for adding a button to the Baidu Homepage

Source: Internet
Author: User

After Baidu added a shared toolbar, Baidu added the "add to homepage" feature on the search results page. When the user clicks this button, the URL will be added to the custom navigation bar of the Baidu homepage. Of course, this function is intended for users who have logged on to the Baidu account. Let's take a look at how to add this function to the Baidu homepage.

First, let's take a look at the effect of the "add to Baidu Homepage" button when it comes out.

The "add to Baidu Homepage" function link appears in the search results, allowing you to easily add frequently used search URLs to Baidu's new homepage, in addition, it can shorten the access path, reduce user operation and search wait time, and display "no search" results on the Baidu new homepage.

How can I place the button on my website? See the following operations!

First, make sure that you have logged on to the Baidu account and then open this URL!

Http://share.baidu.com/code/bdhome

You will see the following interface:

The following operations will not be explained. Follow the prompts step by step.

Articles you may be interested in
  • Prohibit web page right-click, copy, save as, View Source file and other functions to implement web page source code protection
  • Compatible with the setting homepage of IE and firefox and the JavaScript code added to favorites
  • JS obtains the key code, how Js shields users' keys, and Js obtains the ASII code corresponding to users' keys (compatible with all browsers)
  • DIV layer that slides with the scroll bar (fixed to the DIV layer that does not disappear with browsing on the top of the page)
  • Jump to the corresponding Email homepage Based on the Email entered by the user
  • Code used to test the password strength of a user input using Javascript
  • Right-click the xp folder and add a new window to open the folder
  • Analyze the reasons why Baidu index volume is decreasing and how to increase Baidu index volume

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.