首页 » QQ防红

关于 QQ防红 的文章共有1条

简约QQ防红跳转指引PHP代码分享

简约QQ防红跳转指引PHP代码分享

代码简介: 一个PHP屏蔽QQ内打开代码+消失的彩虹屏蔽腾讯检测代码二合一,看到很多人都比较喜欢这个,于是我就把这个发了出来。 防红代码: <?php $scriptpath = str_replace('\\', '/', $_SERVER['SCRIPT_NAME']); $sitepath = substr($scriptpath, 0, strrpos($scriptpath, '/')); $siteurl = ($_SERVER['SERVER_PORT'] == '443' ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $sitepath . '/'; if (strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/') !== !1 ) { echo '<!DOCTYPE html> <html lang="en"><head><meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>请使用浏览器打开</title><style>.tips img{width:100%;height:auto}html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inh...

评论(0) 2020-8-13