cross domain - Javascript: Tell if window.opener is acceptable without triggering an error. -


as title suggests, need able tell if window opened application or other application. in first case, can invoke javascript functions on opener, in second, cross origin error.

is there way tell before try , error, or way wrap call window.opener in try catch?

thanks


Comments