This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, :after, :before { | |
-webkit-tap-highlight-color:transparent | |
} | |
blockquote, body, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, input, legend, li, ol, p, td, textarea, th, ul { | |
margin: 0; | |
padding:0 | |
} | |
table { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, :after, :before { | |
-webkit-tap-highlight-color:transparent | |
} | |
blockquote, body, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, input, legend, li, ol, p, td, textarea, th, ul { | |
margin: 0; | |
padding:0 | |
} | |
table { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function extend() { | |
const target = arguments[0] || {}; | |
for (let i = 1; i < arguments.length; i++) { | |
const source = arguments[i]; | |
for (const key in source) { | |
if (Object.prototype.hasOwnProperty.call(source, key)) { | |
target[key] = source[key]; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// try it in your browser | |
(function() { | |
requestAnimationFrame(() => console.log('requestAnimationFrame')) | |
setTimeout(() => console.log('setTimeout 10'), 10); | |
setTimeout(() => console.log('setTimeout 1'), 1); | |
setTimeout(() => console.log('setTimeout 0'), 0); | |
Promise.resolve().then(() => console.log('then')); | |
console.log('content end'); | |
return 'fn end'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Get Bing Background | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description Get Bing Background ! | |
// @author [email protected] | |
// @match http://*.bing.com/* | |
// @include http://*.bing.com/* | |
// @grant none | |
// ==/UserScript== |