Whatever what content, for example if you know that on this popup page is at least one link then use same I posted previous but in attribute set href and in value set .* and in event you can set focus if you want only for check...
It will search for any link on TAB popup, so if there will not be any popup tab then red dot, if will be tab popup with at least one link on page then green dot