Skip to content

Instantly share code, notes, and snippets.

View lancewillett's full-sized avatar

Lance Willett lancewillett

View GitHub Profile
@mtias
mtias / gist:6243071
Last active December 21, 2015 03:29

THX38

Theme Experience.

What problem(s) are you trying to solve?

  • Significantly improve and re-imagine the theme browsing screens for a better user experience.
  • More beautiful, visually focused, fast, and up to date with the current times of mobile ubiquitousness, flexible resolutions and retina devices.
  • Make it easier and enjoyable for people to find the best and most suitable themes for their needs and tastes.
@lancewillett
lancewillett / shorten-bookmarklet.js
Created October 21, 2010 06:53 — forked from simonw/shorten-bookmarklet.js
Add support for shortlink
/* Expanded form of a bookmarklet for extracting rev=canonical OR tinyurling a page */
(function(){
var url=document.location;
var links=document.getElementsByTagName('link');
var found=0;
for(var i = 0, l; l = links[i]; i++) {
if (l.getAttribute('rev') == 'canonical' || (/alternate short/).exec(l.getAttribute('rel'))) {
found=l.getAttribute('href');
break;
}