Last active
June 22, 2020 23:46
-
-
Save binux/1face1406d0bb849e3f7e6579e52078d to your computer and use it in GitHub Desktop.
cross origin iframe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<iframe src="sub_frame.html" width="640" height="480"></iframe> | |
<iframe src="https://httpbin.org/html" width="640" height="480"></iframe> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<h1>hello</h1> | |
<iframe src="https://httpbin.org/html" width="640" height="480"></iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment