阻止网站监听返回事件

某些中国特色垃圾网站会通过监听返回事件来吸引用户流量到自己首页(比如 `*.news.sina.cn`),这个脚本则会替换掉原先网页定义的返回事件。

These are versions of this script where the code was updated. Show all versions.

  • v0.2.0 2019-02-18 1、去除了 sweetalert 因为在部分网站上会出问题,2、加入了是否阻止的弹框
  • v0.1.2 2019-02-18 修复了新浪博客不生效的问题,增加了修改返回记录时的提示,去除了 debug 时用的 alert 框
  • v0.1.1 2019-02-18 修复了不能用的问题,新浪的🐎🐎美丽
  • v0.1 2018-07-28