Skip to content

Instantly share code, notes, and snippets.

Created November 30, 2017 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/daba74dc099e7306478ca00b3dead11f to your computer and use it in GitHub Desktop.
Save anonymous/daba74dc099e7306478ca00b3dead11f to your computer and use it in GitHub Desktop.
subsidy-calculator-embed-es-js.html
<script type="text/javascript">
document.write('<ifr' + 'ame id="nnc-widget" frameborder="0" src="https://www.kff.org/interactive/calculadora-del-mercado-de-seguros-medicos-frameless/" width="100%" height="400"></ifr' + 'ame>');
window.addEventListener('message', function(e) {
if (e.origin !== "https://kff.org" && e.origin !== "https://www.kff.org") return;
document.getElementById('nnc-widget').style.height = e.data.height;
}, false);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment