Use window.self == top to verify if a content script is in iframe