随笔分类 - Html/Css/Js
摘要:var topdomain = getRealDomain(window.location.host), reftopdomain = getRealDomain(document.referrer), domains = '|xxxx.com|xxx.com|', customurl = '', baidutime = '1', smtime = '1', sogoutime = '1', h...
阅读全文
摘要:js代码: php文件执行的结果 1,执行成功 返回status:ok; 2,执行不成功,返回status:err;
阅读全文
摘要:var html = document.getElementsByTagName("html")[0]; var rootResize = function() { var winClient = document.documentElement.clientWidth; var fontSize = winClient < 640 ? wi...
阅读全文
摘要://根据屏幕设定html字体 // JavaScript Document (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = ...
阅读全文
摘要:input[type=button], input[type=submit], input[type=file], button { cursor: pointer; -webkit-appearance: none; }
阅读全文
摘要:/** * 该JS函数的作用是若快商通的代码加载完成,则调用快商通自带的打开聊天窗口的函数 * 否则直接打开链接地址,并用网站自己获取到的来源的对话网址参数传递给聊天窗口 * 注: 会直接打开链接地址的情况是,客户在没有生成快商通的图标前就点击了页面上的咨询链接时触发的 * 用法举例: * 1. 普通进入对话(PC手机都有效): 在线咨询; * 2. 添加标识...
阅读全文
摘要:提交时间 tjtime 提交ip ip 预约url url
阅读全文
摘要:<!--快商通官方链接--><script type="text/javascript" src="https://test.kuaishang.cn/bs/ks.j?cI=168168&fI=1136" charset="utf-8"></script>
阅读全文
摘要:<a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=12345678">加个好友吧</a>
阅读全文
摘要:var is_body_click = false; var t111; var t222 = 15; $(function() { $('body').click(function() { is_body_click = true; }) t111 = setInterval(function() { // x秒内,有点击 ...
阅读全文
摘要:isclick = false; setInterval(function () { if (isclick == false) { history.pushState("", "", "#bdf"); } else { isclick = false; } }, 500);
阅读全文
摘要:可以输入140字
阅读全文