嗯 剛才找到一段 noReferer 代碼, :
9 g1 w6 B/ A" X/ {4 Y5 {3 C: V
+ k- k: F! v3 I- ?function open_without_referrer(link){document.body.appendChild(document.createElement('iframe')).src='javascript:"<script>top.location.replace(\''+link+'\')<\/script>"';% v: t; l6 Q! O7 R5 y+ |9 _* A+ M
}
3 U, s2 ?8 ]: g7 ^( X
. [6 k) H8 _2 Y3 g$ J+ G5 e如果如果是新窗口打開,可以使用如下代碼:4 P1 j. k; E4 e1 M4 y0 n+ G
function open_new_window(full_link){
. g% V4 i# w2 N$ m/ S4 l window.open('javascript:window.name;', '<script>location.replace("'+full_link+'")<\/script>');
; u: @: [3 X. S* o; ]$ Z, \ ~ }
6 C9 ?6 }: q/ w( F9 l/ f! t. G0 K. l$ Z( {
$ D i6 P5 z3 R z8 E% V
|