Last active
December 23, 2023 10:13
-
-
Save rajeshpv/18c9046727781d3b5b13a56dc624487a to your computer and use it in GitHub Desktop.
test.html
This file contains 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"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
</head> | |
<body> | |
<iframe id="dhamma" src="https://www.dhamma.org/en-US/schedules/schpubbananda" /> | |
<script> | |
function log(msg){ console.log(msg); } | |
if (window.frames && window.frames.dhamma) { | |
let frWindow = window.frames.dhamma; | |
let doc = window.frames.dhamma.document; | |
} else log(`not able to get ref`); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment