相关疑难解决方法(0)

删除http referer

它是一种删除或隐藏请求标头中的http引用信息的方法吗?我想删除使用javascript python或django中的脚本从我的网站转到其他网站的用户的http引用信息

例:

Host    slogout.espncricinfo.com
User-Agent  Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0    
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8    
Accept-Language en-us,en;q=0.5    
Accept-Encoding gzip, deflate    
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7    
Connection  keep-alive
Referer http://slogout.espncricinfo.com/index.php?page=index&level=login
Run Code Online (Sandbox Code Playgroud)

http http-headers

53
推荐指数
3
解决办法
8万
查看次数

在iframe上隐藏引荐来源

使用iframe时是否可以删除引荐来源?这里的情况:

我在http://www.mywebsite.com上有一个页面,里面有一个<iframe>.像这样:

<html>
 <head>...</head>
 <body>
  ...
<a href="#loadiframe">SHow Website</a>
  <iframe id="#loadiframe" src="http://www.iframetarget.tld">
  ...
 </body>
</html>
Run Code Online (Sandbox Code Playgroud)

我想iframetarget.tld不包含referrer /无法看到mywebsite.com是否正在加载他们的页面.

那可能吗?

注意:iframe将使用jQuery lightbox/colorbox加载

html iframe jquery

10
推荐指数
3
解决办法
1万
查看次数

标签 统计

html ×1

http ×1

http-headers ×1

iframe ×1

jquery ×1