Created
October 30, 2009 21:32
-
-
Save leedo/222750 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$$('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