Skip to content

Instantly share code, notes, and snippets.

@leedo
Created October 30, 2009 21:32
Show Gist options
  • Save leedo/222750 to your computer and use it in GitHub Desktop.
Save leedo/222750 to your computer and use it in GitHub Desktop.
$$('head script[src]').findAll(function(s) {
return s.src.match(js);
}).each(function(s) {
var params = s.src.match(js)[1];
params.split("&").each(function(o) {
var kv = o.split("=");
options[kv[0]] = kv[1];
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment