我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

断开连接后检索html / javascripts网页

Supposed my server is hosting a HTML/JavaScript page "index.html" that contains a bunch of input fields and JavaScript logics. A client comes in, browse the site for a bit, then accidentally got disconnected. Is it possible for the client to visit index.html and retrieve exactly how the user left the page, including texts in input fields and JavaScript states/variables?

Thank you.

Use the Web Storage API, it's supported by all modern browsers: caniuse.com

近期文章

  • 将imagecopyresampled上的新图像设置为100%宽度/高度
  • 无法将params传递给Yii小部件
  • 如何过滤大量数据
  • 如果跨度不能将图像居中于中间
  • public_html中的两个索引文件
  • Twitter发布请求时出现401错误
  • PHP 5.6中的短数组语法不起作用
  • 发送具有不同域名的电子邮件
  • 如何使用PHP从数组中搜索值
  • LOAD DATA LOCAL INFILE仅输入5行
  • joomla onContentBeforeSave ..继续将readmore div添加到文本中
  • 从Javascript GPS代码插入数据库
  • 找不到从IndexController文件到index.php文件的路由
  • 如何通过OAuth以及如何获取json数据
  • HTTPS错误 - 您无权访问此服务器上的/index.php
  • Laravel无法更新数据库?
  • 通过codeigniter中的嵌套数组将多行插入数据库
  • HTTPS错误 - “您无权访问此服务器上的/index.php。”
  • 单击单选按钮设置动作,动态创建单选按钮
  • 如何在阵列中传递产品ID,同时我可以同​​时更新所有产品ID的库存

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华