Since the leadership of the edification, I would like to do a business operations and maintenance of IT staff site, collect some of the enterprise operation and maintenance of valuable sites, but also recommend some security information to operations personnel, in the work found that China's IT operations personnel lack of awareness of security, the site is now online, can go to share.ykuaile.net above view information, also welcome everybody recommend website. Web site is done, it is necessary to do user experience, because I habitually used to add to Baidu home page navigation, so that every time you open a browser can choose to open my favorite sites. Very convenient. Such a thought, I want to let my website can have this function, so I also did this function.
Download code
Https://git.oschina.net/ykuaile/Add-to-Baidu-Home.git
No.2 open baidu.html, see Add Effect
Click happy to share can pop up Baidu url add box, no login Baidu account, will pop up Baidu login window, login to add
are adding
Added after the completion can be in the Baidu home page to see the added URL, because Baidu does not know share.ykuaile.net site is what type, so put to uncategorized.
No.3 add code to your page
1. Replace the A tag with the URL you want to add
<a onclick= "Addtobaidu (this); return false; "href=" http://share.ykuaile.net/"> Happy sharing </a>
"http://share.ykuaile.net/" replaced the URL to be added in the Baidu navigation, "happy to share" replaced with the Baidu navigation to add the name of the URL.
2. Call the Baidu.js file in the page
<script type= "Text/javascript" src= "Baidu.js" ></script>
Just so simple, click on a tag URL can be added to Baidu homepage.
Website effect:http://share.ykuaile.net
Webmaster Blessed-Let the URL one-click Add Baidu Home Navigation