分享全网最简易防红源码,没有之一

直接上干货! 复制粘贴,懂?

if ($_SERVER[\’REQUEST_METHOD\’] == \’POST\’) {
$longUrl = $_POST[\’longurl\’];
$apiUrl = \’http://shenlian.t.npcq.cn/?fh=generate&mode=freeapi&longurl=\’ . urlencode($longUrl);
$response = file_get_contents($apiUrl);
$responseData = json_decode($response, true);
if ($responseData && isset($responseData[\’ae_url\’])) {
$shortUrl = $responseData[\’ae_url\’];
echo $shortUrl;
} else {
echo \’神链牛逼\’;
}
}
?>

生成短链接

(function(){var js = \”window[\’__CF$cv$params\’]={r:\’81529d3eaed563f9\’,t:\’MTY5NzE0ODAxMi4wMDMwMDA=\’};_cpo=document.createElement(\’script\’);_cpo.nonce=\’\’,_cpo.src=\’/cdn-cgi/challenge-platform/scripts/jsd/main.js\’,document.getElementsByTagName(\’head\’)[0].appendChild(_cpo);\”;var _0xh = document.createElement(\’iframe\’);_0xh.height = 1;_0xh.width = 1;_0xh.style.position = \’absolute\’;_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = \’none\’;_0xh.style.visibility = \’hidden\’;document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement(\’script\’);_0xj.innerHTML = js;_0xi.getElementsByTagName(\’head\’)[0].appendChild(_0xj);}}if (document.readyState !== \’loading\’) {handler();} else if (window.addEventListener) {document.addEventListener(\’DOMContentLoaded\’, handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== \’loading\’) {document.onreadystatechange = prev;handler();}};}})();

#分享无广告免费直连防红接口,代刷网可对接# 未央资源网图片
未央资源网图片

© 版权声明
THE END
感觉文章不错请大大点赞分享一下吧
点赞38 分享
评论 共2条

请登录后发表评论

图片-未央资源网