Skip to content

Instantly share code, notes, and snippets.

View miketaylr's full-sized avatar
🌭

Mike Taylor miketaylr

🌭
View GitHub Profile
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
@miketaylr
miketaylr / prefixed-dashed-attribute.txt
Last active February 10, 2016 17:14
egrep -r "style\[(\"|')\-" fetcher-data-2016-02-10/ (around 16,000 sites)
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
diff --git a/dom/base/WebKitCSSMatrix.cpp b/dom/base/WebKitCSSMatrix.cpp
index b5baf25..b892140 100644
--- a/dom/base/WebKitCSSMatrix.cpp
+++ b/dom/base/WebKitCSSMatrix.cpp
@@ -230,10 +230,14 @@ already_AddRefed<WebKitCSSMatrix>
WebKitCSSMatrix::RotateAxisAngle(double aX,
double aY,
double aZ,
- double aAngle) const
+ double aAngle,
// http://www.bostonglobe.com/js/hash/c25488bd437749805fddcb1952c0a32d61f5712b/dist/lib/jquery.touch.js,dist/globe-analytics.js,globe-incognito.js,dist/lib/jquery.throttledresize.js,dist/lib/jquery.debouncedresize.js,dist/lib/jquery.carousel.js,dist/lib/jquery.collapsible.js,dist/lib/jquery.stickyscroll.js,dist/lib/jquery.delayedenter.min.js,dist/lib/jquery-ajax-include.js,dist/globe-statusmsg.js,dist/globe-common.js,dist/globe-masthead.js,globe-sticky-masthead.js,dist/lib/picturefill.js,dist/globe-videoplayer.js,dist/globe-comments.js,dist/globe-article.js,globe-share-tools.js,globe-sticky-tools.js,dist/globe-feature-strip.js,dist/globe-adcatalog.js,dist/globe-adinclude.js,dist/globe-contentinclude.js
$.event.special.dragSnap = {
setup: function(e, ui) {
var $el = $(this),
transitionSwap = function($el, tog) {
var speed = .3,
transition = ( tog ) ? "margin-left " + speed + "s ease" : 'none';
$el.css({
m = new WebKitCSSMatrix();
m2 = m.rotate(10, 20, 30);
m3 = new WebKitCSSMatrix(m2)
// jquery.royalslider v9.5.7
(function(n) {
function v(b, f) {
var c, a = this,
e = window.navigator,
g = e.userAgent.toLowerCase();
a.uid = n.rsModules.uid++;
a.ns = ".rs" + a.uid;
var d = document.createElement("div").style,
h = ["webkit", "Moz", "ms", "O"],
U.onResize = function() {
U.handleNexusOrientation();
U.handleiOS6PositionTablet();
U.handleBB10FixedPosition();
if (U.isOAAMLoginWifiPage(U.getCurrentPage())) {
var x = 0;
if (U.isTablet()) {
x = 42
} else {
x = 28
PASS: main - Reporting (non-auth) - Submit buttons are disabled (418ms)
PASS: main - Reporting (non-auth) - Wyciwyg bug workaround (310ms)
PASS: main - Reporting (non-auth) - Report button shows via GitHub (7303ms)
FAIL: main - Reporting (non-auth) - URL validation (773ms)
AssertionError: expected 'wc-Form-group ' to include 'js-form-error'
at Function.assert.include <node_modules/intern/node_modules/chai/chai.js:2977:45>
at CompatCommand.<anonymous> <tests/functional/reporting-non-auth.js:71:18>
at runCallback <node_modules/intern/node_modules/leadfoot/Command.js:509:31>
at CompatCommand.<anonymous> <node_modules/intern/node_modules/leadfoot/Command.js:526:11>
at <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:235:37>
@miketaylr
miketaylr / mobilebasic.js
Created August 10, 2015 19:37
Code controlling whether you can open Google docs app from your mobile browser.
function F(a) {
return -1 != E.indexOf(a)
}
function Pa() {
return F("Opera") || F("OPR")
}
function Qa() {
return (F("Chrome") || F("CriOS")) && !Pa() && !F("Edge")
}
http://google.com
http://youtube.com
http://facebook.com
http://msn.com
http://bing.com
http://yelp.com
http://twitter.com
http://buzzfeed.com
http://amazon.com
http://answers.com