Skip to content

Instantly share code, notes, and snippets.

View mudoo's full-sized avatar
🙀

踩着单车载着猪 mudoo

🙀
View GitHub Profile
@mudoo
mudoo / imgblur.html
Created May 22, 2017 02:45
HTML5 svg图片模糊
<svg width="0" height="0" class="banner-svg" id="banner_svg">
<defs>
<filter id="f">
<feImage id="svg_feImage" xlink:href="http://manhua.qpic.cn/manhua_cover/0/07_16_49_567e32e30151c7147e5160349416df41.jpg/0" x="0"
y="0" width="0" height="0" preserveAspectRatio="xMidYMid slice"/>
<feGaussianBlur stdDeviation="30"/>
</filter>
</defs>
<rect id="svg_rect" x="0" y="0" width="0" height="0" filter="url(#f)"/>
</svg>
@mudoo
mudoo / media_ie_hack.css
Last active December 30, 2016 08:12
IE下css @media hack写法
/* 仅IE6和IE7识别 */
@media screen\9 {
.selector {
property: value;
}
}
/* 仅IE6和IE7、IE8识别 */
@media \0screen\,screen\9 {
.selector {
property: value;
@mudoo
mudoo / template-debug.js
Last active August 24, 2016 17:14
artTemplate FIS3模块文件改造
/*
* artTemplate - Template Engine
* https://github.com/aui/artTemplate
* Released under the MIT, BSD, and GPL Licenses
*/
'use strict';
!(function () {
/**
@mudoo
mudoo / abstract-file-manager.js
Last active August 24, 2016 17:06
Less 2.x windows下的坑 pathDiff斜杠不一致造成relativeUrls=true无效
var abstractFileManager = function() {
};
abstractFileManager.prototype.getPath = function (filename) {
var j = filename.lastIndexOf('?');
if (j > 0) {
filename = filename.slice(0, j);
}
j = filename.lastIndexOf('/');
if (j < 0) {
@mudoo
mudoo / 网盘自动填写密码【增强版】.js
Last active November 11, 2024 08:59
GM网盘自动填写提取密码【增强版】+网盘超链接与提取码融合。
// ==UserScript==
// @name 网盘自动填写密码【增强版】
// @description 网盘自动填写提取密码【增强版】+网盘超链接与提取码融合。
// @author 极品小猫
// @namespace http://www.cnblogs.com/hkmhd/
// @homepage https://greasyfork.org/scripts/13463
// @supportURL https://greasyfork.org/scripts/13463/feedback
// @version 2.2.0
// @date 2016.03.19
//