先看 Demo
套上 css 之後,幾乎看不出哪個是 <a>
哪個是 <button>
那為什麼還需要用不同的 tags?全部用 <div>
然後卯起來刻 css 不就好了?
"use strict"; | |
(function(window) { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; | |
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { | |
window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; | |
window.cancelAnimationFrame = | |
window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame']; | |
} |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
/* | |
* 1. Go to this facebook page: https://www.facebook.com/settings?tab=applications | |
* 2. open console | |
* 3. paste the following script | |
*/ | |
const CONFRIM_SELECTOR = '.pop_container_advanced .dialog_buttons .uiButtonConfirm input'; | |
const kill = (badGuys) => { |
// ------------------------------------------------------ // | |
// (1) Object function with `prototype` | |
// ------------------------------------------------------ // | |
var Pokemon = function (pokemonName) { | |
this.name = pokemonName; | |
}; | |
Pokemon.prototype.bark = function () { | |
console.log("Hey, I'm " + this.name); // this here refers to "Pokemon" |
請先確定您已經被加入踹共 @chuaigongbot 測試群組
到踹共 @chuaigongbot 粉絲頁按讚 https://www.facebook.com/chuaigongbot/?fref=ts
開始在 Facebook 與踹共 @chuaigongbot 機器人聊天