Review the URL Fragment from the small issue of QQ password modification

Source: Internet
Author: User

Changing # will not cause the page to reload, but will change the browser history

This is easy to test, assuming that the page you are currently visiting is http://www.qq.com , open the console, enter the following command to see the difference (refresh), and then see what the difference is between window.history (history changes)

‘#caper‘;  //页面不会刷新location.href += ‘?visitor=caper‘;  //页面刷新

In normal web browsing, we add a new browsing record to the browser history by clicking on a link to the Web page, and it is easy to do the ' back ' and ' next ' operation through the navigation function of the browser.

But for AJAX applications, URLs are usually not changed, especially for single-page applications. This means that the user is accustomed to the browser navigation function (the previous step, the next) lost its role, which is worse in the experience. Through #, developers can use different IDs to identify the status of the current page and enhance the user experience.

5, JS can be window.location.hash to read or change the value of #

There's nothing to talk about, but a simple test:)

6, Google's web spiders by default will ignore # behind the content

Google Web spiders are responsible for crawling the content of the Web pages, as well as the links within the Web pages that will become part of the Google search index. Web spiders crawl and parse HTML, but since it is not a browser program and there is no JavaScript engine, the JavaScript used to load the display on the page will not be executed. Therefore, the characters behind the # are ignored by the spider, and only the contents of the previous # are crawled, for example:

链接一:http://www.cnblogs.com/#casper链接二:http://www.cnblogs.com/#chyingp

For Web spiders, link one, link two is actually the same, it will only crawl http://www.cnblogs.com content, although two links may show a different content

This is not the case for developers, or search engines, the former hard-to-create content (applications) less access to the opportunity, while the latter lost the opportunity to further enrich their content index, especially in the application of Ajax more and more today.

To solve this problem, Google provides a solution: hash bang, as long as the # to #! can be achieved roughly: when the network spider encounters #!, will automatically #!identifier turn into _escaped_fragment_=identifier the form of parameters, modify the previous link

http://tieba.baidu.com/p/5632998173
http://tieba.baidu.com/p/5634106628
Http://www.cnblogs.com/taobao1/p/8722203.html
Http://www.cnblogs.com/taobao1/p/8722145.html
Https://www.cnblogs.com/baidu1/p/8722089.html
Https://www.cnblogs.com/baidu1/p/8722086.html
Https://www.cnblogs.com/baidu1/p/8722083.html
Https://www.cnblogs.com/baidu1/p/8722078.html
Https://www.cnblogs.com/baidu1/p/8722077.html
Https://www.cnblogs.com/baidu1/p/8722073.html
Https://www.cnblogs.com/baidu1/p/8722071.html
Https://www.cnblogs.com/baidu1/p/8722070.html
Https://www.cnblogs.com/baidu1/p/8722064.html
Https://www.cnblogs.com/baidu1/p/8722059.html
Https://www.cnblogs.com/baidu1/p/8722056.html
Https://www.cnblogs.com/baidu1/p/8722046.html
Https://www.cnblogs.com/baidu1/p/8722039.html
Https://www.cnblogs.com/baidu1/p/8722035.html
Https://www.cnblogs.com/baidu1/p/8722026.html
Https://www.cnblogs.com/baidu1/p/8722022.html
Https://www.cnblogs.com/baidu1/p/8722019.html
Https://www.cnblogs.com/baidu1/p/8722017.html
Https://www.cnblogs.com/baidu1/p/8722015.html
Https://www.cnblogs.com/baidu1/p/8722009.html
Https://www.cnblogs.com/baidu1/p/8722007.html
Https://www.cnblogs.com/baidu1/p/8722001.html
Https://www.cnblogs.com/baidu1/p/8721997.html
Https://www.cnblogs.com/baidu1/p/8721988.html
Https://www.cnblogs.com/baidu1/p/8721984.html
Https://www.cnblogs.com/baidu1/p/8721976.html
Https://www.cnblogs.com/baidu1/p/8721973.html
Https://www.cnblogs.com/baidu1/p/8721967.html
Https://www.cnblogs.com/baidu1/p/8721962.html
Https://www.cnblogs.com/baidu1/p/8721959.html
Https://www.cnblogs.com/baidu1/p/8721950.html
Https://www.cnblogs.com/baidu1/p/8721946.html
Https://www.cnblogs.com/baidu1/p/8721941.html
Https://www.cnblogs.com/baidu1/p/8721939.html
Https://www.cnblogs.com/baidu1/p/8721934.html
Https://www.cnblogs.com/baidu1/p/8721929.html
Https://www.cnblogs.com/baidu1/p/8721919.html
Https://www.cnblogs.com/baidu1/p/8721915.html
Https://www.cnblogs.com/baidu1/p/8721911.html
Https://www.cnblogs.com/baidu1/p/8721909.html
Https://www.cnblogs.com/baidu1/p/8721905.html
Https://www.cnblogs.com/baidu1/p/8721901.html
Https://www.cnblogs.com/baidu1/p/8721894.html
Https://www.cnblogs.com/baidu1/p/8721886.html
Https://www.cnblogs.com/baidu1/p/8721885.html
Https://www.cnblogs.com/baidu1/p/8721875.html
Https://www.cnblogs.com/baidu1/p/8721873.html
Https://www.cnblogs.com/baidu1/p/8721861.html
Https://www.cnblogs.com/baidu1/p/8721856.html
Https://www.cnblogs.com/baidu1/p/8721847.html
Https://www.cnblogs.com/baidu1/p/8721843.html
Https://www.cnblogs.com/baidu1/p/8721833.html
Https://www.cnblogs.com/baidu1/p/8721825.html
Https://www.cnblogs.com/baidu1/p/8721817.html
Https://www.cnblogs.com/baidu1/p/8721809.html
Https://www.cnblogs.com/baidu1/p/8721803.html
Https://www.cnblogs.com/baidu1/p/8721801.html
Https://www.cnblogs.com/baidu1/p/8721795.html
Https://www.cnblogs.com/baidu1/p/8721792.html
Https://www.cnblogs.com/baidu1/p/8721785.html
Https://www.cnblogs.com/baidu1/p/8721782.html
Https://www.cnblogs.com/baidu1/p/8721771.html
Https://www.cnblogs.com/baidu1/p/8721766.html
Https://www.cnblogs.com/baidu1/p/8721759.html
Https://www.cnblogs.com/baidu1/p/8721755.html
Https://www.cnblogs.com/baidu1/p/8721743.html
Https://www.cnblogs.com/baidu1/p/8721737.html
Https://www.cnblogs.com/baidu1/p/8721731.html
Https://www.cnblogs.com/baidu1/p/8721728.html
Https://www.cnblogs.com/baidu1/p/8721719.html
Https://www.cnblogs.com/baidu1/p/8721713.html
Https://www.cnblogs.com/baidu1/p/8721705.html
Https://www.cnblogs.com/baidu1/p/8721700.html
Https://www.cnblogs.com/baidu1/p/8721696.html
Https://www.cnblogs.com/baidu1/p/8721695.html
Https://www.cnblogs.com/baidu1/p/8721688.html
Https://www.cnblogs.com/baidu1/p/8721686.html
Https://www.cnblogs.com/baidu1/p/8721683.html
Https://www.cnblogs.com/baidu1/p/8721679.html
Https://www.cnblogs.com/baidu1/p/8721674.html
Https://www.cnblogs.com/baidu1/p/8721667.html
Https://www.cnblogs.com/baidu1/p/8721657.html
Https://www.cnblogs.com/baidu1/p/8721653.html
Https://www.cnblogs.com/baidu1/p/8721649.html
Https://www.cnblogs.com/baidu1/p/8721644.html
Https://www.cnblogs.com/baidu1/p/8721639.html
Https://www.cnblogs.com/baidu1/p/8721628.html
Https://www.cnblogs.com/baidu1/p/8721624.html
Https://www.cnblogs.com/baidu1/p/8721622.html
Https://www.cnblogs.com/baidu1/p/8721619.html
Https://www.cnblogs.com/baidu1/p/8721611.html
Https://www.cnblogs.com/baidu1/p/8721604.html
Https://www.cnblogs.com/baidu1/p/8721601.html
Https://www.cnblogs.com/baidu1/p/8721594.html
Https://www.cnblogs.com/baidu1/p/8721592.html
Https://www.cnblogs.com/baidu1/p/8721584.html
Https://www.cnblogs.com/baidu1/p/8721580.html
Https://www.cnblogs.com/baidu1/p/8721578.html
Https://www.cnblogs.com/baidu1/p/8721574.html
Https://www.cnblogs.com/baidu1/p/8721567.html
Https://www.cnblogs.com/baidu1/p/8721564.html
Http://www.cnblogs.com/baidu1/p/8722089.html
Http://www.cnblogs.com/baidu1/p/8722086.html
Http://www.cnblogs.com/baidu1/p/8722083.html
Http://www.cnblogs.com/baidu1/p/8722078.html
Http://www.cnblogs.com/baidu1/p/8722077.html
Http://www.cnblogs.com/baidu1/p/8722073.html
Http://www.cnblogs.com/baidu1/p/8722071.html
Http://www.cnblogs.com/baidu1/p/8722070.html
Http://www.cnblogs.com/baidu1/p/8722064.html
Http://www.cnblogs.com/baidu1/p/8722059.html
Http://www.cnblogs.com/baidu1/p/8722056.html
Http://www.cnblogs.com/baidu1/p/8722046.html
Http://www.cnblogs.com/baidu1/p/8722039.html
Http://www.cnblogs.com/baidu1/p/8722035.html
Http://www.cnblogs.com/baidu1/p/8722026.html
Http://www.cnblogs.com/baidu1/p/8722022.html
Http://www.cnblogs.com/baidu1/p/8722019.html
Http://www.cnblogs.com/baidu1/p/8722017.html
Http://www.cnblogs.com/baidu1/p/8722015.html
Http://www.cnblogs.com/baidu1/p/8722009.html
Http://www.cnblogs.com/baidu1/p/8722007.html
Http://www.cnblogs.com/baidu1/p/8722001.html
Http://www.cnblogs.com/baidu1/p/8721997.html
Http://www.cnblogs.com/baidu1/p/8721988.html
Http://www.cnblogs.com/baidu1/p/8721984.html
Http://www.cnblogs.com/baidu1/p/8721976.html
Http://www.cnblogs.com/baidu1/p/8721973.html
Http://www.cnblogs.com/baidu1/p/8721967.html
Http://www.cnblogs.com/baidu1/p/8721962.html
Http://www.cnblogs.com/baidu1/p/8721959.html
Http://www.cnblogs.com/baidu1/p/8721950.html
Http://www.cnblogs.com/baidu1/p/8721946.html
Http://www.cnblogs.com/baidu1/p/8721941.html
Http://www.cnblogs.com/baidu1/p/8721939.html
Http://www.cnblogs.com/baidu1/p/8721934.html
Http://www.cnblogs.com/baidu1/p/8721929.html
Http://www.cnblogs.com/baidu1/p/8721919.html
Http://www.cnblogs.com/baidu1/p/8721915.html
Http://www.cnblogs.com/baidu1/p/8721911.html
Http://www.cnblogs.com/baidu1/p/8721909.html
Http://www.cnblogs.com/baidu1/p/8721905.html
Http://www.cnblogs.com/baidu1/p/8721901.html
Http://www.cnblogs.com/baidu1/p/8721894.html
Http://www.cnblogs.com/baidu1/p/8721886.html
Http://www.cnblogs.com/baidu1/p/8721885.html
Http://www.cnblogs.com/baidu1/p/8721875.html
Http://www.cnblogs.com/baidu1/p/8721873.html
Http://www.cnblogs.com/baidu1/p/8721861.html
Http://www.cnblogs.com/baidu1/p/8721856.html
Http://www.cnblogs.com/baidu1/p/8721847.html
Http://www.cnblogs.com/baidu1/p/8721843.html
Http://www.cnblogs.com/baidu1/p/8721833.html
Http://www.cnblogs.com/baidu1/p/8721825.html
Http://www.cnblogs.com/baidu1/p/8721817.html
Http://www.cnblogs.com/baidu1/p/8721809.html
Http://www.cnblogs.com/baidu1/p/8721803.html
Http://www.cnblogs.com/baidu1/p/8721801.html
Http://www.cnblogs.com/baidu1/p/8721795.html
Http://www.cnblogs.com/baidu1/p/8721792.html
Http://www.cnblogs.com/baidu1/p/8721785.html
Http://www.cnblogs.com/baidu1/p/8721782.html
Http://www.cnblogs.com/baidu1/p/8721771.html
Http://www.cnblogs.com/baidu1/p/8721766.html
Http://www.cnblogs.com/baidu1/p/8721759.html
Http://www.cnblogs.com/baidu1/p/8721755.html
Http://www.cnblogs.com/baidu1/p/8721743.html
Http://www.cnblogs.com/baidu1/p/8721737.html
Http://www.cnblogs.com/baidu1/p/8721731.html
Http://www.cnblogs.com/baidu1/p/8721728.html
Http://www.cnblogs.com/baidu1/p/8721719.html
Http://www.cnblogs.com/baidu1/p/8721713.html
Http://www.cnblogs.com/baidu1/p/8721705.html
Http://www.cnblogs.com/baidu1/p/8721700.html
Http://www.cnblogs.com/baidu1/p/8721696.html
Http://www.cnblogs.com/baidu1/p/8721695.html
Http://www.cnblogs.com/baidu1/p/8721688.html
Http://www.cnblogs.com/baidu1/p/8721686.html
Http://www.cnblogs.com/baidu1/p/8721683.html
Http://www.cnblogs.com/baidu1/p/8721679.html
Http://www.cnblogs.com/baidu1/p/8721674.html
Http://www.cnblogs.com/baidu1/p/8721667.html
Http://www.cnblogs.com/baidu1/p/8721657.html
Http://www.cnblogs.com/baidu1/p/8721653.html
Http://www.cnblogs.com/baidu1/p/8721649.html
Http://www.cnblogs.com/baidu1/p/8721644.html
Http://www.cnblogs.com/baidu1/p/8721639.html
Http://www.cnblogs.com/baidu1/p/8721628.html
Http://www.cnblogs.com/baidu1/p/8721624.html
Http://www.cnblogs.com/baidu1/p/8721622.html
Http://www.cnblogs.com/baidu1/p/8721619.html
Http://www.cnblogs.com/baidu1/p/8721611.html
Http://www.cnblogs.com/baidu1/p/8721604.html
Http://www.cnblogs.com/baidu1/p/8721601.html
Http://www.cnblogs.com/baidu1/p/8721594.html
Http://www.cnblogs.com/baidu1/p/8721592.html
Http://www.cnblogs.com/baidu1/p/8721584.html
Http://www.cnblogs.com/baidu1/p/8721580.html
Http://www.cnblogs.com/baidu1/p/8721578.html
Http://www.cnblogs.com/baidu1/p/8721574.html
Http://www.cnblogs.com/baidu1/p/8721567.html
Http://www.cnblogs.com/baidu1/p/8721564.html
Www.cnblogs.com/baidu1/p/8722089.html
Www.cnblogs.com/baidu1/p/8722086.html
Www.cnblogs.com/baidu1/p/8722083.html
Www.cnblogs.com/baidu1/p/8722078.html
Www.cnblogs.com/baidu1/p/8722077.html
Www.cnblogs.com/baidu1/p/8722073.html
Www.cnblogs.com/baidu1/p/8722071.html
Www.cnblogs.com/baidu1/p/8722070.html
Www.cnblogs.com/baidu1/p/8722064.html
Www.cnblogs.com/baidu1/p/8722059.html
Www.cnblogs.com/baidu1/p/8722056.html
Www.cnblogs.com/baidu1/p/8722046.html
Www.cnblogs.com/baidu1/p/8722039.html
Www.cnblogs.com/baidu1/p/8722035.html
Www.cnblogs.com/baidu1/p/8722026.html
Www.cnblogs.com/baidu1/p/8722022.html
Www.cnblogs.com/baidu1/p/8722019.html
Www.cnblogs.com/baidu1/p/8722017.html
Www.cnblogs.com/baidu1/p/8722015.html
Www.cnblogs.com/baidu1/p/8722009.html
Www.cnblogs.com/baidu1/p/8722007.html
Www.cnblogs.com/baidu1/p/8722001.html
Www.cnblogs.com/baidu1/p/8721997.html
Www.cnblogs.com/baidu1/p/8721988.html
Www.cnblogs.com/baidu1/p/8721984.html
Www.cnblogs.com/baidu1/p/8721976.html
Www.cnblogs.com/baidu1/p/8721973.html
Www.cnblogs.com/baidu1/p/8721967.html
Www.cnblogs.com/baidu1/p/8721962.html
Www.cnblogs.com/baidu1/p/8721959.html
Www.cnblogs.com/baidu1/p/8721950.html
Www.cnblogs.com/baidu1/p/8721946.html
Www.cnblogs.com/baidu1/p/8721941.html
Www.cnblogs.com/baidu1/p/8721939.html
Www.cnblogs.com/baidu1/p/8721934.html
Www.cnblogs.com/baidu1/p/8721929.html
Www.cnblogs.com/baidu1/p/8721919.html
Www.cnblogs.com/baidu1/p/8721915.html
Www.cnblogs.com/baidu1/p/8721911.html
Www.cnblogs.com/baidu1/p/8721909.html
Www.cnblogs.com/baidu1/p/8721905.html
Www.cnblogs.com/baidu1/p/8721901.html
Www.cnblogs.com/baidu1/p/8721894.html
Www.cnblogs.com/baidu1/p/8721886.html
Www.cnblogs.com/baidu1/p/8721885.html
Www.cnblogs.com/baidu1/p/8721875.html
Www.cnblogs.com/baidu1/p/8721873.html
Www.cnblogs.com/baidu1/p/8721861.html
Www.cnblogs.com/baidu1/p/8721856.html
Www.cnblogs.com/baidu1/p/8721847.html
Www.cnblogs.com/baidu1/p/8721843.html
Www.cnblogs.com/baidu1/p/8721833.html
Www.cnblogs.com/baidu1/p/8721825.html
Www.cnblogs.com/baidu1/p/8721817.html
Www.cnblogs.com/baidu1/p/8721809.html
Www.cnblogs.com/baidu1/p/8721803.html
Www.cnblogs.com/baidu1/p/8721801.html
Www.cnblogs.com/baidu1/p/8721795.html
Www.cnblogs.com/baidu1/p/8721792.html
Www.cnblogs.com/baidu1/p/8721785.html
Www.cnblogs.com/baidu1/p/8721782.html
Www.cnblogs.com/baidu1/p/8721771.html
Www.cnblogs.com/baidu1/p/8721766.html
Www.cnblogs.com/baidu1/p/8721759.html
Www.cnblogs.com/baidu1/p/8721755.html
Www.cnblogs.com/baidu1/p/8721743.html
Www.cnblogs.com/baidu1/p/8721737.html
Www.cnblogs.com/baidu1/p/8721731.html
Www.cnblogs.com/baidu1/p/8721728.html
Www.cnblogs.com/baidu1/p/8721719.html
Www.cnblogs.com/baidu1/p/8721713.html
Www.cnblogs.com/baidu1/p/8721705.html
Www.cnblogs.com/baidu1/p/8721700.html
Www.cnblogs.com/baidu1/p/8721696.html
Www.cnblogs.com/baidu1/p/8721695.html
Www.cnblogs.com/baidu1/p/8721688.html
Www.cnblogs.com/baidu1/p/8721686.html
Www.cnblogs.com/baidu1/p/8721683.html
Www.cnblogs.com/baidu1/p/8721679.html
Www.cnblogs.com/baidu1/p/8721674.html
Www.cnblogs.com/baidu1/p/8721667.html
Www.cnblogs.com/baidu1/p/8721657.html
Www.cnblogs.com/baidu1/p/8721653.html
Www.cnblogs.com/baidu1/p/8721649.html
Www.cnblogs.com/baidu1/p/8721644.html
Www.cnblogs.com/baidu1/p/8721639.html
Www.cnblogs.com/baidu1/p/8721628.html
Www.cnblogs.com/baidu1/p/8721624.html
Www.cnblogs.com/baidu1/p/8721622.html
Www.cnblogs.com/baidu1/p/8721619.html
Www.cnblogs.com/baidu1/p/8721611.html
Www.cnblogs.com/baidu1/p/8721604.html
Www.cnblogs.com/baidu1/p/8721601.html
Www.cnblogs.com/baidu1/p/8721594.html
Www.cnblogs.com/baidu1/p/8721592.html
Www.cnblogs.com/baidu1/p/8721584.html
Www.cnblogs.com/baidu1/p/8721580.html
Www.cnblogs.com/baidu1/p/8721578.html
Www.cnblogs.com/baidu1/p/8721574.html
Www.cnblogs.com/baidu1/p/8721567.html
Www.cnblogs.com/baidu1/p/8721564.html

Review the URL Fragment from the small issue of QQ password modification

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.