-
-
Save rfunduk/1149506 to your computer and use it in GitHub Desktop.
Code snippets for http://ryanfunduk.com/webkit-plus-jquery
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
InjectedScript._type = function(obj) | |
{ | |
// ... some code ... | |
// ... some conditions ... | |
// Add our own: | |
if (obj.__proto__ && obj.__proto__.jquery) | |
return "array"; | |
// ... leave the fall back ... | |
return type; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment