Can I get the history.back() function to work in Chrome when using the file:// protocol?

前端 未结 5 1628
别那么骄傲
别那么骄傲 2021-01-08 00:41

I\'m building an application in an environment where I\'m restricted to using the local file system and a browser (i.e. running a server isn\'t an option). I have a generic

5条回答
  •  醉酒成梦
    2021-01-08 01:30

    For Chrome use below code:

    Back
    

    Only this code will work..

    I hope it will help... Happy coding.. :)

提交回复
热议问题