Skip to content

Instantly share code, notes, and snippets.

Avatar
🍪

Mike Taylor miketaylr

🍪
View GitHub Profile
@miketaylr
miketaylr / gist:4b07867c9ab563b4aa380d1627ae5d23
Created Jan 20, 2021
accept-ch values in http archive latest (desktop)
View gist:4b07867c9ab563b4aa380d1627ae5d23
select url, accept_ch_value
from (
select distinct NET.REG_DOMAIN(url) as url,
# {"name":"Accept-CH","value":"
REGEXP_EXTRACT(payload, r'(?i)Accept\-CH","value":"(.+?)"') as accept_ch_value
from
`httparchive.latest.requests_desktop`
where
JSON_EXTRACT(payload, '$._headers.response') LIKE '%CH-%'
)
View gist:8c525fb45526554a24369f312210b90d
window.NREUM || (NREUM = {});
NREUM.info = {
beacon: "bam-cell.nr-data.net",
errorBeacon: "bam-cell.nr-data.net",
licenseKey: "2d3ab7f8d6",
applicationID: "1341859",
transactionName: "blFbbUQEWEBZUkRcClcbdG91Sn5cVVRzWgtNRlZVWgBEHHFfVFAd",
queueTime: 0,
applicationTime: 146,
agent: "",
View bitmovinplayer-polyfill.js
/****************************************************************************
* Copyright (C) 2020, Bitmovin, Inc., All Rights Reserved
*
* This source code and its use and distribution, is subject to the terms
* and conditions of the applicable license agreement.
*
* Bitmovin Player Version 8.26.0
*
****************************************************************************/
(function() {
View week-1.md
Bug Cause Outcome
bz-1486494 no idea - debugging is messy, unable to find the right event handler to debug further… :( Pinged tom.
bz-1490459 fullscreen API seems to focus the opened bz-1502093
https://webcompat.com/issues/20347 moved to bugzilla 1502233 Google chrome ignore the padding on select elements. It seems to be a regression for the twitter case.
https://webcompat.com/issues/20344 duplicate of bugzilla 1489914 The current UA override is bogus and we get a desktop site instead of a mobile site.
https://webcompat.com/issues/20338 not sure what to do here Flash related issue.
https://webcompat.com/issues/20312 worksforme Focus + blocking cookies break the CSS but that's expected.
https://webcompat.com/issues/20306 needscontact server side sniffing. It doesn't send the mobile version.
https://webcompat.com/issues/20298 duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1498257 or https://w
View gist:a22197e331c4ea6a30c73f066b817fda
.fancyselect {
background: url(_gfx/arrow04.gif) right 4px no-repeat #fff;
color: #0098cd;
padding-right: 12px;
-webkit-appearance: none;
-moz-appearance: menulist-textfield;
-ms-appearance: none;
border: 0
}
View gist:e618f4db4ecd83b775131d73b3bf1d76
https://s3-us-west-2.amazonaws.com/support-portal-assets/static/js/main.js
.quick-actions-dropdown{-webkit-appearance:menulist-button;-moz-appearance:menulist-textfield;appearance:menulist-button}
(repeated in 3 different places)
View gist:6a443e2f4113b3ee26bf8e772ae44d4d
https://owners.hyundaiusa.com/etc/designs/ownercommon/us/clientlib-hyundai-all.min.ACSHASH38387dacd0dd8fb621fa3d02d70944c1.css
.interior-image-wrapper .slick-arrow {
-webkit-appearance: menulist-textfield;
background: url(clientlib-hyundai-site/css/clientlib-hyundai-site/images/arrows-sprite.png) #fff !important;
background-repeat: no-repeat !important;
background-size: auto !important;
background-position: 0 0;
padding-top: 3px;
padding-left: 0;
View gist:3eb6c5804b9ba7bce4cdcfd7757810f9
(function(u){var m="embeddedServiceHelpButton";var x=[".salesforce.com",".force.com",".sfdc.net"];var ad="esw_storage_iframe";var V="4.0";var F=100;var y="__snapinsLoginCallback";var t="__snapinsLogoutCallback";var Z="snapins_invite";function j(){var ae=false;this.settings={appendHelpButton:true,displayHelpButton:true,isExternalPage:true,devMode:false,targetElement:document.body,elementForOnlineDisplay:undefined,elementForOfflineDisplay:undefined,defaultMinimizedText:"",disabledMinimizedText:"",loadingText:"Loading",enabledFeatures:[],entryFeature:"FieldService",storageDomain:document.domain,language:undefined,linkAction:{feature:undefined,name:undefined,valid:false},linkActionParameters:{}};this.featureScripts={};this.eventHandlers={};this.messageHandlers={};this.storageKeys=["ESW_BODY_SCROLL_POSITION","ESW_IS_MINIMIZED","ESW_MINIMIZED_TEXT"];this.defaultSettings={};this.eswFrame=undefined;this.availableFeatures=["script","session"];this.pendingMessages={};this.iframeScriptsToLoad=[];this.domInitInProgress=f