防止垃圾站将父窗口跳转脚本

在搜索引擎打开某些垃圾网站,会将搜索引擎跳转到其他页面,如果是跳转到一个高仿的登录界面呢?所以写这个脚本消除这种安全隐患(打开任意外站链接其实都有这隐患),此脚本用于解决 window.opener.location / window.opener.location.replace 存在的安全风险。

Author
ejin
Daily installs
0
Total installs
804
Ratings
12 0 0
Version
2016.09.15.2
Created
2016-05-12
Updated
2024-01-19
License
N/A
Applies to
All sites