View gist:f4161de8c621a65b2692f722c02d8ae5
this.set_box_blur = function(t) {
var i = t.getOffsetParent()
, r = i.select("div.graphic_image_warning")[0]
, a = t.select("video.graphic_image")[0]
, s = null
, o = t.select(".sub_buzz_content__mp4")
, n = "img.graphic_image"
, l = i.select(".click_to_blur")[0]
, u = Prototype.Browser.WebKit && !isSafari5() || isIE9()
, _ = Prototype.Browser.Gecko && !isIE11()
View gist:5aaea0842a2763e613cedda40595b8a2
history | awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n ",a[i],i}}' | sort -rn | head
4183 git
637 ls
486 cd
343 ./mach
341 j
288 python
279 pep8
273 nosetests
182 cat
View build
#!/bin/bash
# Replace this value with your add-on name
XPI=screenshots.xpi
# Replace this value to push to different release channels.
# Nightly = org.mozilla.fennec
# Aurora = org.mozilla.fennec_aurora
# Beta = org.mozilla.firefox_beta
# Release = org.mozilla.firefox
View gist:7a14b78fe4c3346a195b37159f5ea0b2
{
"action": "opened",
"issue": {
"url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357",
"repository_url": "https://api.github.com/repos/webcompat/webcompat-tests",
"labels_url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357/labels{/name}",
"comments_url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357/comments",
"events_url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357/events",
"html_url": "https://github.com/webcompat/webcompat-tests/issues/357",
"id": 144769471,
View gist:e6dc2ef451539cb89d87
getScreenshot: (tab) => {
Task.spawn(function* () {
let win = tab.window;
let dpr = win.devicePixelRatio;
let canvas = win.document.createElement("canvas");
let ctx = canvas.getContext("2d");
// Grab the visible viewport coordinates
let x = win.document.documentElement.scrollLeft;
let y = win.document.documentElement.scrollTop;
let w = win.innerWidth;
View intern stuff
export PATH="/Applications/Firefox.app/Contents/MacOS:$PATH"
alias intern="node_modules/.bin/intern-runner reporters=console config=tests/intern user=USER pw=PASSWORD"
# Run functional tests for webcompat.com
# Requires that the firefox binary be in $PATH
testw () {
echo "Hold on to your butts."
wd="/Users/miket/dev/compat/webcompat.com"
View applicationCache.txt
This file has been truncated, but you can view the full file.
./be/akhbaralahly.com.html: return !!e.applicationCache
./be/eldiario.es.html: return !!a.applicationCache
./be/epochtimes.com.html: return !!a.applicationCache
./be/ezcardinfo.com.html: return !!n.applicationCache
./80/brasil247.com.html: return !!window.applicationCache;
./80/elimparcial.com.html: return !!a.applicationCache
./80/mmo-champion.com.html: return !!i.applicationCache
./80/leeds.ac.uk.html: return !!e.applicationCache
./80/stylowi.pl.html: return !!window.applicationCache;
View gist:f71b9c3ab3d088c23d5f
mouseover
mouseenter (1ms)
mousemove (0ms)
mousemove (5ms)
mousemove (10ms)
mousemove (1ms)
mousemove (17ms)
mousemove (0ms)
mousemove (16ms)
mousemove (1ms)
View gist:9c2b08a4d6be6c50fc2e
Global Traffic Rank
50. apple.com
119. dailymotion.com
135. twitch.tv
149. globo.com
212. air.mozilla.org (skewed, # is for mozilla.org)
338. chaturbate.com
470. independent.co.uk
530. theverge.com
View prefixed-dashed-attribute.txt
fetcher-data-2016-02-10//00/555n.net.html: for (var e = 0, f; f = d[e]; e++) f.style["-webkit-tap-highlight-color"] = "initial", b.push(f)
fetcher-data-2016-02-10//00/trafficestimate.com.html: for (var e = 0, f; f = d[e]; e++) f.style["-webkit-tap-highlight-color"] = "initial", b.push(f)
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-webkit-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-moz-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-ms-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-o-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-webkit-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-moz-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-ms-transform'] = translate;
fetcher-data-2016-02-10//02/liftable.com.html: elm.style['-o-transform'] = tran