How to “bookmark” page or content fetched using AJAX?

后端 未结 5 812
鱼传尺愫
鱼传尺愫 2021-02-06 10:05

How to \"bookmark\" page or content fetched using AJAX?

It looks like it can be easy if we just add the details to the \"anchor\", and then, use the routing or even in P

5条回答
  •  生来不讨喜
    2021-02-06 10:48

    Check this, something may help you:

    1. How to change URL from javascript: http://doet.habrahabr.ru/blog/15736/
    2. How to pack the app state into url: http://habrahabr.ru/blogs/javascript/92505/
    3. An approach description: http://habrahabr.ru/blogs/webstandards/92300/

    Note: all articles are in Russian, so either Google Translate them, or just review the code and guess the details.

提交回复
热议问题