Skip to content

Instantly share code, notes, and snippets.

{
"id": "MULTISTAGE_SPOTLIGHT_MESSAGE",
"template": "spotlight",
"content": {
"id": "MULTISTAGE_SPOTLIGHT_MESSAGE",
"template": "multistage",
"backdrop": "transparent",
"transitions": true,
"screens": [
{
@amychurchwell
amychurchwell / download-button.html
Last active April 29, 2020 20:47
Convert Firefox desktop download button.
<div id="download-button-desktop-release" class="download-button mzp-c-button-download-container">
<div class="nojs-download">
<div class="download download-dumb">
<p role="heading" class="download-heading">
Download Firefox
— English (US)
</p>
<ul>
<li><a href="https://download.mozilla.org/?product=firefox-stub&amp;os=win64&amp;lang=en-US" class="download-link button button-green mzp-c-button mzp-t-product" data-link-type="download" data-download-version="win64" data-download-os="Desktop">Windows 64-bit</a>
</li><li><a href="https://download.mozilla.org/?product=firefox-msi-latest-ssl&amp;os=win64&amp;lang=en-US" class="download-link button button-green mzp-c-button mzp-t-product" data-link-type="download" data-download-version="win64-msi" data-download-os="Desktop">Windows 64-bit MSI</a>
@amychurchwell
amychurchwell / keybase.md
Created November 21, 2019 19:28
keybase.md

Keybase proof

I hereby claim:

  • I am amychurchwell on github.
  • I am amyless (https://keybase.io/amyless) on keybase.
  • I have a public key ASA_6pHzLdJmUIspqwmhixGyFoZqFJC9PvebCRQdWUyYowo

To claim this, I am signing this object:

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* global YT */
/* eslint no-unused-vars: [2, { "varsIgnorePattern": "onYouTubeIframeAPIReady" }] */
// YouTube API hook has to be in global scope
function onYouTubeIframeAPIReady() {
'use strict';