MRX.LAFuck the Rules!

苹果CMS8.X去除自带广告办法

20220109更新,最新的苹果CMS已经去掉了播放页的广告,下面已经不需要参考了.(说实话,不是有人冒充苹果cms,我估计他也不会去掉广告..)

最近不是很多哥们被海洋挂马给弄疯了么.然后改用苹果CMS.又发现苹果CMS居然会在不固定的时间段内跳出广告劫持自己的流量,这就有点意思了.只能说国产程序咱能不能厚道点…

奉上去除广告的办法.阅读全文 →

用JS控制手机或者PC来访分别iframe不同的内容

function uaredirect() {
    var n = navigator.userAgent.toLowerCase();
         if (n.indexOf(’android’)>-1){
document.writeln(’<iframe scrolling=”no” frameborder=”0” marginheight=”0” marginwidth=”0” width=”100%” height=”2000” allowTransparency src=”http://www.xxx.com”></iframe>’);
}
         else  if (n.indexOf(’iphone’)>-1 || n.indexOf(’iPhone’)>-1 || n.indexOf(’ipod’)>-1 || n.indexOf(’ipad’)>-1 || n.indexOf(’ios’)>-1){
document.writeln(’<iframe scrolling=”no” frameborder=”0” marginheight=”0” marginwidth=”0” width=”100%” height=”2000” allowTransparency src=”http://www.xxx.com”></iframe>’);
}
         else {
document.writeln(’<center><iframe scrolling=”no” frameborder=”0” marginheight=”0” marginwidth=”0” width=”100%” height=”1450” allowTransparency src=”http://www.xxx.com”></iframe></center>’);
 
}
}
uaredirect();

阅读全文 →

网站被恶意镜像怎么办 一段代码轻松搞定

有时候你会发现,你在搜索引擎输入网站名称的时候,出来的网站信息是你们的,但是域名却是一个陌生的,这种情况可以基本确定网站被镜像了,那么究竟什么叫网站被镜像?

严谨一点的解释:通过复制整个网站或部分网页内容并分配以不同域名和服务器,以此欺骗搜索引擎对同一站点或同一页面进行多次索引的行为 。阅读全文 →