Skip to content

Instantly share code, notes, and snippets.

* This Script adds every song in the playlist you're currently
* viewing at to "Your Music".
* Open your browser console and paste this script to run it.
(function() {
// Check this web browser has all the functionality we need to do this task.
var hasQuerySelector = typeof document.querySelector === 'function';
ShaneHudson / functions.php
Created July 20, 2012 14:04 — forked from johnmegahan/functions.php
Extended Walker class for use with the Zurb Foundation Template Dropdown menus in Wordpress. Forked from a Twitter Bootstrap walker.
class Foundation_Walker_Nav_Menu extends Walker_Nav_Menu {
function start_lvl( &$output, $depth ) {
$indent = str_repeat( "\t", $depth );
$output .= "\n$indent<ul class=\"flyout\">\n";