10 2012 档案

用jquery判断当前显示器的分辨率,加载不同CSS
摘要:<link rel="stylesheet" type="text/css" id="css"><script language="javascript">function dis(){if((screen.width == 1024) && (screen.height == 768)){document.getElementById('css').href = '2.css';}else if ((screen.width == 800) 阅读全文

posted @ 2012-10-29 15:42 jxgxy 阅读(4509) 评论(0) 推荐(1)

Chrome浏览器强制http重定向到https的简单方法
摘要:有的朋友修改host进某些网站,但每次进入都是诸如 http://twitter.com ,大多时候有可能进不去。前段时间就算修改了,输入http://plus.google.com ,G+也是也进不去的,需要手动修改http为https,方能进入。 今天,在Google+看到一篇介绍Chrome浏览器强制http重定向到https的简单方法,搬到这里来,纯粹的Chrome技巧。 下面是步骤: 地址栏输入chrome://net-internals/ 在HSTS的标签栏里Domain里填上需要访问的domain,比如twitter.com 然后选中Include subdomains... 阅读全文

posted @ 2012-10-16 11:12 jxgxy 阅读(4970) 评论(0) 推荐(0)

D2007在64位Win7出现 delphi 2007 assertion failure thread32.cpp 的解决办法
摘要:Workaround steps: Close Delphi Locate bordbk120N.dll (C:\Program Files (x86)\CodeGear\RAD Studio\6.0\bin) Make a backup copy Check step 3 Open bordbk120N.dll in a Hex editor (UltraEdit works fine) Search for “01 00 48 74 47 80 3D” Make sure this is found once only Replace “74” with “EB” Save Restart 阅读全文

posted @ 2012-10-15 21:55 jxgxy 阅读(2475) 评论(0) 推荐(0)

导航