js代码

<script>
	// 获取当前url地址
	var url = window.location.href;
	// 截取传递的url参数
	url = url.match(/tpurl=(\S*)/)[1];
	document.getElementById("UrlId").href = url;
	// 获取秒数显示id
	var seconds = document.getElementById("seconds");
	// 设置秒数
    var num = 3;
    var timer = setInterval(function () {
        num--;
        seconds.innerText = num;
        if(num == 0){
            window.location.href = url;
        }
    },1000)
</script>


  做网站的,很多都是以接广告赚钱,但是没法一一去判别一些广告是否违规,是否安全,所以我们尽可能的提示网站用户,让用户去判别,谨慎交易。

    所以,鹏仔花了点时间,写了这个单页面,点击跳转时候的一个小提示,如下图所示


作者:鹏仔先生

使用教程

    下载模板,放置到服务器或者主机空间,通过域名访问,如 网址/jinggao.html?tpurl=


    tpurl= 后跟需要跳转的地址,例如 http://iqzhan.com/jinggao.html?tpurl=http://iqzhan.com

   

    http://iqzhan.com/jinggao.html + ?tpurl= + 广告地址


    访问后,会先到警告页面,等待3秒后,会自动跳转至广告地址。用处不是很大,主要就是提示用户,这是第三方广告,交易请谨慎,第三方广告与本站无任何关系。


http://sou.58.com/in?key=%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E9%AB%98%E6%89%8B%E4%BB%A3%E5%81%9A%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E4%B9%88%E6%89%8D%E8%83%BD%E4%B8%8A%E7%99%BE%E5%BA%A6%E7%9F%A5%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E6%90%9C%E7%B4%A2%E6%8E%92%E5%90%8D%E5%A6%82%E4%BD%95%E6%8F%90%E5%8D%87%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%8E%92%E5%90%8D%E6%80%8E%E4%B9%88%E5%81%9A%E7%9A%84%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E7%BD%91%E9%A1%B5%E6%8E%92%E5%90%8D%E6%80%8E%E4%B9%88%E6%8F%90%E5%8D%87%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E4%BA%BA%E6%B0%94%E6%A6%9C%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=SEO%E5%BF%AB%E9%80%9F%E4%B8%8A%E9%A6%96%E9%A1%B5%E6%89%A3957456251

http://sou.58.com/in?key=%E5%A6%82%E4%BD%95%E6%8E%92%E5%90%8D%E7%99%BE%E5%BA%A6%E5%89%8D%E4%B8%89%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E8%87%AA%E5%8A%A8%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E8%87%AA%E5%8A%A8%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E8%87%AA%E5%B7%B1%E6%80%8E%E4%B9%88%E4%B8%8A%E7%99%BE%E5%BA%A6%E7%9F%A5%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E4%B9%88%E6%A0%B7%E8%83%BD%E4%B8%8A%E7%99%BE%E5%BA%A6%E6%89%A3957456251

http://sou.58.com/in?key=%E5%A6%82%E4%BD%95%E5%9C%A8%E7%99%BE%E5%BA%A6%E4%B8%8A%E6%90%9C%E5%88%B0%E8%87%AA%E5%B7%B1%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E5%9C%A8%E7%99%BE%E5%BA%A6%E4%B8%8A%E5%8F%91%E5%B8%83%E4%BF%A1%E6%81%AF%E6%89%A3957456251

http://sou.58.com/in?key=%E4%B8%8A%E7%99%BE%E5%BA%A6%E9%A6%96%E9%A1%B5%E6%89%A3957456251

http://sou.58.com/in?key=%E5%A6%82%E4%BD%95%E5%9C%A8%E7%99%BE%E5%aBA%A6%E4%B8%8A%E5%85%8D%E8%B4%B9%E5%81%9A%E5%B9%BF%E5%91%8A%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E4%B9%88%E8%AE%A9%E5%88%AB%E4%BA%BA%E7%99%BE%E5%BA%A6%E5%88%B0%E6%88%91%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E4%B9%88%E8%AE%A9%E7%99%BE%E5%BA%A6%E6%90%9C%E5%87%BA%E8%87%AA%E5%B7%B1%E6%89%A3957456251

http://sou.58.com/in?key=%E6%99%AE%E9%80%9A%E4%BA%BA%E7%99%BE%E5%BA%A6%E4%B8%8A%E6%90%9C%E5%BE%97%E5%88%B0%E5%90%97%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E4%B9%88%E8%AE%A9%E7%99%BE%E5%BA%A6%E6%90%9C%E5%88%B0%E8%87%AA%E5%B7%B1%E5%85%AC%E5%8F%B8%E6%89%A3957456251

http://sou.58.com/in?key=%E6%90%9C%E7%B4%A2%E5%85%AC%E5%8F%B8%E5%90%8D%E7%A7%B0%E5%87%BA%E6%9D%A5%E5%85%AC%E5%8F%B8%E7%BD%91%E7%AB%99%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E6%80%8E%E4%B9%88%E5%8F%91%E5%B8%83%E9%97%AE%E9%A2%98%E6%89%A3957456251

http://sou.58.com/in?key=%E6%88%91%E6%83%B3%E5%9C%A8%E7%99%BE%E5%BA%A6%E5%8F%91%E5%B8%83%E4%BF%A1%E6%81%AF%E6%89%A3957456251

http://sou.58.com/in?key=%E5%A6%82%E4%BD%95%E5%9C%A8%E5%90%84%E5%A4%A7%E7%BD%91%E7%AB%99%E5%8F%91%E5%B8%83%E4%BF%A1%E6%81%AF%E6%89%A3957456251

http://sou.58.com/in?key=%E4%BB%A3%E5%81%9A%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E4%BB%A3%E5%81%9A%E9%AB%98%E6%89%8B%E6%89%A3957456251

http://sou.58.com/in?key=%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E6%80%8E%E4%B9%88%E5%81%9A%E6%89%A3957456251

http://sou.58.com/in?key=%E9%AB%98%E6%89%8B%E4%BB%A3%E5%81%9A%E7%81%B0%E8%89%B2%E8%AF%8D%E5%BF%AB%E9%80%9F%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E9%AB%98%E6%89%8B%E4%BB%A3%E5%81%9A%E7%81%B0%E8%89%B2%E8%AF%8D%E5%BF%AB%E9%80%9F%E7%99%BE%E5%BA%A6%E6%94%B6%E5%BD%95%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E9%AB%98%E6%89%8B%E4%BB%A3%E5%81%9A%E7%81%B0%E8%89%B2%E8%AF%8D%E6%8E%92%E5%90%8D%E6%89%A3957456251

http://sou.58.com/in?key=%E9%AB%98%E6%89%8B%E6%8E%92%E5%90%8D%E4%BB%A3%E5%81%9A%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E4%BB%A3%E5%81%9A%E9%AB%98%E6%89%8B%E6%89%A3957456251

http://sou.58.com/in?key=%E6%80%8E%E4%B9%88%E6%8A%8A%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E5%81%9A%E5%88%B0%E9%A6%96%E9%A1%B5%E6%89%A3957456251

http://sou.58.com/in?key=%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E6%98%AF%E6%80%8E%E4%B9%88%E5%81%9A%E7%9A%84%E6%89%A3957456251

http://sou.58.com/in?key=%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E5%BF%AB%E9%80%9F%E6%8F%90%E5%8D%87%E6%89%A3957456251

http://sou.58.com/in?key=%E4%B8%8A%E5%8D%83%E5%85%B3%E9%94%AE%E8%AF%8D%E6%80%8E%E4%B9%88%E5%81%9A%E7%9A%84%E6%89%A3957456251

http://sou.58.com/in?key=%E7%81%B0%E8%89%B2%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E4%BB%A3%E5%81%9A%E6%89%A3957456251

http://sou.58.com/in?key=%E7%99%BE%E5%BA%A6%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E4%BB%A3%E5%81%9A%E6%89%A3957456251

http://sou.58.com/in?key=%E5%A6%82%E4%BD%95%E5%B0%86%E5%85%B3%E9%94%AE%E8%AF%8D%E5%81%9A%E5%88%B0%E9%A6%96%E9%A1%B5%E6%89%A3957456251