Google [站内搜索]

预览模式: 普通 | 列表

[私密日志] 私密日志

该日志是私密日志,只有博主或发布者可以查看!
分类:欧式构件 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1043

Visual Studio 2017创建MVC5项目示例

分类:Web编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2693

Don’t Use jquery-latest.js[转]

Earlier this week the jQuery CDN had an issue that made the jquery-latest.js and jquery-latest.min.js files unavailable for a few hours in some geographical areas. (This wasn’t a problem with the CDN itself, but with the repository that provides files for the CDN.) While we always hope to have 100% uptime, this particular outage emphasized the number of production sites following the antipattern of using this file. So let’s be clear: Don’t use jquery-latest.js on a production site.

We know that jquery-latest.js is abused because of the CDN statistics showing it’s the most popular file. That wouldn’t be the case if it was only being used by developers to make a local copy. The jquery-latest.js and jquery-latest.min.js files were meant to provide a simple way to download the latest released version of jQuery core. Instead, some developers include this version directly in their production sites, exposing users to the risk of a broken site each time a new version of jQuery is released. The team tries to minimize those risks, of course, but the jQuery ecosystem is so large that we can’t possibly check it all before making a new release.

To mitigate the risk of “breaking the web”, the jQuery team decided back in 2013 that jquery-latest.js could not be upgraded to the 2.0 branch even though that is technically the latest version. There would just be too many sites that would mysteriously stop working with older versions of Internet Explorer, and many of those sites may not be maintained today.

查看更多...

分类:脚本语言 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 23676
本地调试WEB页面,浏览器中查看源代码时意外发现被植入了一段CSS:

<style>#BAIDU_DSPUI_FLOWBAR,.adsbygoogle,.ad,div[class^="ad-widsget"],div[id^="div-gpt-ad-"],a[href*="cpro.baidu.com"],a[href*="@"][href*=".exe"],a[href*="/?/"][href*=".exe"],.adpushwin{display:none!important;max-width:0!important;max-height:0!important;overflow:hidden!important;}</style>


查看更多...

分类:操作系统 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2590
Chrome

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --incognito


查看更多...

分类:操作系统 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 5759

jQuery自定义事件添加和触发示例

我们可以用jQuery的on方法在任一对象上添加自定义事件,之后用trigger方法触发自定义事件,代码示例:

<!doctype html>
<html>
    <head>

查看更多...

分类:脚本语言 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1870

Bootstrap Table服务器端分页使用示例

Bootstrap Table服务器端分页主要通过设置data-pagination和data-side-pagination两个属性来实现:

<!doctype html>
<html>
    <head>

查看更多...

分类:Web编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2337

Bootstrap Table基本使用示例

Bootstrap Table是一款基于 Bootstrap 的 jQuery 表格插件,通过简单的设置,就可以拥有强大的单选、多选、排序、分页,以及编辑、导出、过滤(扩展)等等的功能,一个基本的Bootstrap Table页面模板如下:

<!doctype html>
<html>
    <head>

查看更多...

分类:Web编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2957

插排火线零线都带电故障解决



插排没电,用电笔测发现火线零线都带电,这种情况通常是零线断了的缘故,拆开插排发现零线接头松了,接上,故障解决。

查看更多...

分类:其他 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3219

安全牢固货运吊扣打法(一)

分类:其他 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 31285