js 强制跳转https

js 强制跳转https

<script type="text/javascript" _keep="true">var matchStr =window.location.href; var reURL = /^(https):\/\/.+$/; if(!reURL.test(matchStr)){ window.location.href = "https://www.1231818.com/"; }</script>

前端 2019-12-02 AM 30℃ 0条
js 判断客户端自动跳转

js 判断客户端自动跳转

方法1:<script type="text/javascript">try { if (location.search.indexOf('?pc') !== 0 && /Android|Windows Phone|iPhone|iPod/i.test(navigator.userAgent)) {window.location.href = 'https://xw.qq.com?f=qqcom';}} catch (e) {}</script>方法2: <script> var sUserAgent = navigato...

前端 2019-12-02 AM 26℃ 0条
jQuery+AJAX+PHP+MySQL数据库开发搜索功能,无跳转无刷新搜索

jQuery+AJAX+PHP+MySQL数据库开发搜索功能,无跳转无刷新搜索

index.html<!DOCTYPE html><html><head><meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AJAX搜索</title> <style type="text/css"> *{margin:0px;padding:0px;} h2{ te...

PHP 2019-11-09 PM 63℃ 0条
ajax ,jquery,php实现查找并更新显示数据

ajax ,jquery,php实现查找并更新显示数据

<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title></title> <script type="text/javascript" src="js/jquery.min.js"></script> <script> $(function() { $("#name").on(&...

PHP 2019-11-09 PM 47℃ 0条
php AJAX 查询

php AJAX 查询

<html><head><script>function showResult(str){if (str.length==0) { document.getElementById("livesearch").innerHTML=""; document.getElementById("livesearch").style.border="0px"; return; } if (window.XMLHttpRequest) {// IE7+, Fir...

PHP 2019-11-09 PM 43℃ 0条
PHP自动调取在线壁纸作为网站背景

PHP自动调取在线壁纸作为网站背景

<?php/*功能:自动调取壁纸作为网站背景开发时间:2017年7月4日应用案例:https://www.68xi.cn/search/分享三个在线壁纸调用接口tags http://cdn.apc.360.cn/index.php?c=WallPaper&a=getAllCategoriesV2&from=360chromenew http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=getAppsByOrder&order=create_time&start=【0开始】&count=【加载数】&from=360chrome专区 ...

PHP 2019-11-05 AM 60℃ 0条