Skip to content

Instantly share code, notes, and snippets.

View miketaylr's full-sized avatar
🌭

Mike Taylor miketaylr

🌭
View GitHub Profile
function a(e, n, t) {
var o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}
, a = e.url
, i = e.type
, u = o.tryForceFlash
, d = !!o.reuseElements
, l = d ? C : M
, f = s.default.parse(a);
f.protocol && f.hostname || b.trace("Received relative URL as audio source! Might not work as expected: ", a);
var m = d ? T : new Audio;
window.jwplayer = function(e) {
function t(n) {
if (i[n]) return i[n].exports;
var r = i[n] = {
exports: {},
id: n,
loaded: !1
};
return e[n].call(r.exports, r, r.exports, t), r.loaded = !0, r.exports
}
USE_COUNTER2_DEPRECATED_AppCache_PAGE
<https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=bucket-0!bucket-1!bucket-2&cumulative=0&end_date=null&keys=&max_channel_version=release%252F52&measure=USE_COUNTER2_DEPRECATED_AppCache_PAGE&min_channel_version=release%252F44&processType=*&product=Firefox&sanitize=1&sort_keys=submissions&start_date=null&trim=1&use_submission_date=0>
Data is a bit hard to read, but it looks like usage is generally ~3%. IIRC, think this just measures if a manifest file was seen.
The number goes up quite a bit for Firefox Mobile (Android), FWIW.
We also have use counters for AppCache JS API methods and getters:
http://searchfox.org/mozilla-central/source/dom/base/UseCounters.conf#52
! function(e) {
function n(e) {
var n = [];
for (var i in e) e.hasOwnProperty(i) && n.push(i);
return n
}
function i() {
var e = window.document.getElementsByTagName(h);
for (var n in e)

Keybase proof

I hereby claim:

  • I am miketaylr on github.
  • I am miketaylr (https://keybase.io/miketaylr) on keybase.
  • I have a public key whose fingerprint is FD7D F817 F230 2E8F C1FA 1572 AA1E 0077 9EA4 B0AF

To claim this, I am signing this object:

<useragentswitcher><useragent description="Firefox OS (1.1.1)" useragent="Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1" appcodename="Mozilla" appname="Netscape" appversion="5.0 ()" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (1.2)" useragent="Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0" appcodename="Mozilla" appname="Netscape" appversion="5.0 ()" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (1.2)" useragent="Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0" appcodename="Mozilla" appname="Netscape" appversion="5.0 ()" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (ZTEOPEN)" useragent="Mozilla/5.0 (Mobile; ZTEOPEN; rv:18.1) Gecko/18.1 Firefox/18.1" appcodename="Mozilla" appname="Netscape" appversion="5.0" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (Fireweb)" useragent="Mozilla/5.0 (Mobile; LG-D300; rv:18.1) Gecko/18.1 Firefox/18.1" appcodename="Mozilla" appname="Netscape" appversion=
.lol-flexbox {
display: flex;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
}
diff --git a/webcompat/static/js/lib/comments.js b/webcompat/static/js/lib/comments.js
index ba03c93..56eee1e 100644
--- a/webcompat/static/js/lib/comments.js
+++ b/webcompat/static/js/lib/comments.js
@@ -7,14 +7,14 @@ var issues = issues || {};
issues.CommentsCollection = Backbone.Collection.extend({
model: issues.Comment,
url: function() {
- return '/api/issues/' + issueNumber + '/comments?page=' + this.param;
+ return '/api/issues/' + issueNumber + '/comments?page=' + this.pageNumber;
/*
* Copyright (c) 2015 by Marfeel Solutions (http://www.marfeel.com)
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Marfeel Solutions S.L and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Marfeel Solutions S.L and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
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()