The scripts in this page are bookmarklets: store their link version in a bookmark, and later activate the bookmark on a page to run the script.

TED Talks captions

Get links to the captions

d ="", "sub", "width=256,height=512,resizable=yes,scrollbars=yes").document;
l = document.getElementById("languageCode").getElementsByTagName("option");
for (i = 1; i < l.length ; i++) {
  d.body.appendChild(p = d.createElement("p"));
  p.appendChild(a = d.createElement("a"));
  a.href="" + talkID+"/lang/" + l[i].value;