Is it possible to use the following data of a webapp source with a chrome extention?
var listConfig = {
data: {"___focus":0,"model":{"instance":[{
"___italic":"false",
"status":"open",
"priority_code":"3 - Medium",
"number":"IM000000001",
"problem_status":"Open",
"open_time":"25/08/14 16:56:13",
"assignment":"MY GROUP",
},
I would like to check if the "status"
contains "open"
and "priority_code"
contains "3 - Medium"
and if they do contain these strings, beep a sound.
So can I use it like something like this?
listConfig.data.model.instance("status");
listConfig.data.model.instance("priority_code");