Using javascript for pinging a webapp to keep session open

前端 未结 6 725
一个人的身影
一个人的身影 2021-01-31 10:26

I\'m writing a greasemonkey script to keep session open on a webapp I use for work. Which javascript command would you use to create some feedback with the server and ensure the

6条回答
  •  时光说笑
    2021-01-31 11:08

    I can definitely recommend the solution suggested by dreftymac!

    If you don't want to worry about remembering to click the reloadevery option, your grease monkey script is simply

    window.location.href = window.location.href
    

提交回复
热议问题