ad function in untrim and ununtrim tries to get all the text inside this. The call to ad is malformed and doesn't apply local this to it, hence, it equals to the whole window. Since there are multiple iframe in Gmail's code, jQuery tries to retrieve their contents as well, and fails miserably, while preventing untrim from continuing the execution.
ad
function inuntrim
andununtrim
tries to get all the text insidethis
. The call toad
is malformed and doesn't apply localthis
to it, hence, it equals to the whole window. Since there are multipleiframe
in Gmail's code, jQuery tries to retrieve their contents as well, and fails miserably, while preventinguntrim
from continuing the execution.