修改文件:
/uc_server/model/admin.php function adminbase() {
parent::__construct();
$this->cookie_status = 0;改为
function adminbase() { parent[......]修改文件:
/uc_server/model/admin.php function adminbase() {
parent::__construct();
$this->cookie_status = 0;改为
function adminbase() { parent[......]示例代码:
var elems = Array.prototype.slice.call(document.querySelectorAll('.js-switch_2'));
elems.forEach(function(html) {
var[......]写个函数,利用Greasemonkey根据域名抓取域名下的谷歌索引数量:
function checkgoogle(domain){
console.log("检查域名谷歌收录:"+domain);
GM_xmlhttpRequest({ method: "[......]这个情况分两种,一种是一上传就报错,一种是上传一定时间间隔比如30秒就报错。
第一种一上传就报错,主要是由于使用了vhost,vhost中并未包含AllowOverride All,导致的问题。正确的Apache的vhost配置大概如下(WIN主机)
<VirtualHost *:8[......]电脑访问会自动跳转到misc.php,很让人恼火,遂找了下解决办法,成功利用电脑实现了对触屏版的调试:
定位到文件:
/source/function/function_core.php在函数function checkmobile()下添加一句return true;
如下:
func[......]一直使用height(),遇到有padding的,就想查下有没有完整的显示高度的,结果还真有,总结如下:
.height()-获取匹配元素集合中的第一个元素的当前计算高度值 或 设置每一个匹配元素的高度值。-.css('height') 和 .he[……]