如何通过JavaScript将条目插入浏览历史记录 [英] How do I insert an entry into browsing history via JavaScript

查看:101
本文介绍了如何通过JavaScript将条目插入浏览历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在浏览历史记录中插入一个条目,以便后退按钮第一次单击时会转到不同的页面,而在第二次单击时会转到原始页面?

How do I insert an entry into browsing history so back button goes to different page 1st click then original page on 2nd click?

因此,如果您需要对我想要做的事情有个很好的解释,请转到: https://secure.exitjunction.com/howitworks.jsp

So if you need a good explanation of what I want done, go to: https://secure.exitjunction.com/howitworks.jsp

我只需要一个脚本,该脚本将允许我在浏览历史记录中插入一个条目,因此当单击后退按钮时,用户将被带到我的特殊页面.

I just need a script that will allow me to insert an entry in the browsing history so when back button is hit, the user will be taken to my special page.

推荐答案

以下是jQuery插件的链接:

Here is a link to a jQuery Plugin:

jQuery插件

这篇关于如何通过JavaScript将条目插入浏览历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆