您现在的位置是:孟垂博自媒体博客 ✈ 学习笔记
广点通二跳页面最新屏蔽代码(亲测可用)
07-19最后更新时间:2023-06-06【已收录】人已围观收藏
简介<script>var iswx;var isphone;var has;// 屏蔽电脑var system = {};var p = navigator.platform;var u = navigator.userAgent;system.win = p.indexOf("Win") == 0;system
<script>
var iswx;
var isphone;
var has;
// 屏蔽电脑
var system = {};
var p = navigator.platform;
var u = navigator.userAgent;
system.win = p.indexOf("Win") == 0;
system.mac = p.indexOf("Mac") == 0;
system.x11 = (p == "X11") || (p.indexOf("Linux") == 0);
if (system.win || system.mac || system.xll) { //如果是PC转
var isphone=2;
console.log('电脑')
}else{
var isphone=1;
console.log('手机');
};
// 微信
var ua = navigator.userAgent.toLowerCase();
var isWeixin = ua.indexOf('micromessenger') != -1;
if (isWeixin) {
var iswx = 1;
console.log('微信');
}else{
var iswx = 2;
console.log('非微信');
};
var url = window.location.href;
var has = window.location.search.substring(1);
console.log(isphone+'+'+iswx+'+'+has)
if(isphone==1 && iswx==1 && has=='qz_gdt'){
console.log('OK');
window.location.href = './index.html';
}else{
console.log('NO')
}
</script>

《广点通二跳页面最新屏蔽代码(亲测可用).doc》
如果这篇文章对你有所帮助,劳烦点个赞
推荐度:

很赞哦! ()
相关文章
- 世界那么大 我的父母应该去看看2019-07-09
- 我这个人优点太多2019-07-04
- PHP通过 .htaccess文件屏蔽IP2019-07-22
- 和有资源的人合作2019-11-06
- 微信高情商回复技巧2019-09-12
- 整合各大平台搜索功能快速搜索到你想要的资料2019-07-21
- 识别率可以达到99%的一键图片转文字识别器2019-06-26
- 2022年最新信息流加粉流失率解决方案2022-06-25
- 帝国cms快速开发常用技巧代码汇总2019-09-22
- 时间会淘汰别有用心的人 时间会证明一切仿佛首尾呼应2019-07-10
文章评论
点击排行
本栏推荐
标签云(最新)
站点信息
- 建站时间:2019年06月15日
- 网站程序:帝国CMS7.5
- 博客模板:可免费共享
- 文章统计:235篇文章
- 时间卷轴:时间轴
- 标签管理:标签云
- 网站地图:XML网站地图
- 微信二维码:扫描一下,你我就是有缘