Maybe the title isn't clear enough...
I want to make a chrome extension or for just for the start a function that find a text inside an object, not I don't mean a simple find..
Let me show you an example...
Let's say I have an object like this...
Object {el:: jQuery.fn.jQuery.init[1], <-- JqueryObject
$root: jQuery.fn.jQuery.init[1], <-- JqueryObject
children: Array[2], <-- JavaScript Array
_events: Object, <-- JavaScript Object
fileSystem: FileSystem, <-- Object/Class
id: "project", <-- String
registeredModules: Array[10], <-- JavaScript Array
etc.... <-- And so on..
}
Now what I want to make is a function that will search and find a text param in every single item in this Object...
For example searching the text 'container':
//THIS IS JUST PSEUDO CODE!
'el'.match('container') <-- checking if the text 'el' contain the text 'container'
'el'[0].'context'.match('container') <-- checking if the text 'context' contain the text 'container'
'el'[0].context.'URL'.match('container') <-- checking if the text 'URL' contain the text 'container'
'el'[0].context.URL[0].match('container') <-- checking if the VALUE in URL contain the text 'container'
and so on...
Now my question is, Is there already a function that doing that or even better a chrome extension. Or should I start making this function?
(would be happy to here you opinion for this solution...)