广告域名审核之后跳转技术:点击域名A页面iframe框架下的链接,域名A跳转到域名B

时间:2022-04-04 20:40:35

广告域名审核之后跳转技术:点击域名A页面iframe框架下的链接,域名A跳转到域名B
注:域名B为afish.cnblogs.com

域名A页面代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<title>afish.cnblogs.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="afish.cnblogs.com" />
<meta name="description" content="afish.cnblogs.com" />
</head>
<body>
<iframe width='100%' scrolling='no' height='2800' frameborder='0' src='http://afish.cnblogs.com' />
</body>
</html>

域名B页面head头部添加代码:
<base href="http://afish.cnblogs.com/" target="_parent" />