Skip to content

Instantly share code, notes, and snippets.

@brandonrozek
brandonrozek / createVCard.js
Created December 27, 2015 18:40
Userscript that generates a vCard from the representative h-card
View createVCard.js
// ==UserScript==
// @name Create vCard
// @description Creates a vCard and displays the link on the top left of the page
// @include *
// @grant none
// ==/UserScript==
/*
microformat-shiv - v1.3.1
Built: 2015-10-08 10:10 - http://microformat-shiv.com
@brandonrozek
brandonrozek / basic-serviceworker.js
Last active November 7, 2023 09:10
A basic serviceworker implementation for offline website viewing
View basic-serviceworker.js
// Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// http://creativecommons.org/publicdomain/zero/1.0/
var version = 'v2.0.24:';
var offlineFundamentals = [
'/',
'/offline/'
];