Solve the Cross-Origin Access error when working with iframes