I have a script which handles something in content of the frames. I want to except iframe
from another domains (cross-domains) or filter iframe
of same domain.
function isCrossDomain(ifr) {
// what i need
// Return true or false
}
if (! isCrossDomain(ifr)) {
var doc = ifr.contents();
}