Access an element inside a dynamically-created, cross-domain iFrame? [duplicate]
问题 This question already has an answer here : Userscript to hide a child node of a cross-domain iframe (1 answer) Closed 4 years ago . I want to access an element inside an iFrame, but because of the way the iFrame is being called, I am not succeeding. This is the target page (www1.k9webprotection.com/...). The iframe is on a different subdomain: <iframe src="http://license.k9webprotection.com/..." ...></iframe> Setting a timeout or an event listener for when the iframe is loaded, did not help.