Skip to content

Instantly share code, notes, and snippets.

Created Jun 19, 2013
What would you like to do?
This script open all videos on the page. Put these two files in a directory called WWDCAccordionSmash.safariextz, and open in Safari.
var listItems = document.getElementsByClassName('session');
for (var i = 0, max = listItems.length; i < max; i++) {
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Patrick B. Gibson</string>
<key>Builder Version</key>
<string>WWDC Accordion Smash</string>
<string>Opens all the video list items on the stupid WWDC videos page.</string>
<key>Website Access</key>
<key>Allowed Domains</key>
<key>Include Secure Pages</key>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment