Difference between revisions of "Widget:High-Elf-Swordsman"
From Rivendom
| Line 1: | Line 1: | ||
| − | <iframe id="monsterframe" src="https://wiki.rivendom.net/monsters/CR-1-High-Elf-Swordsman.html | + | <iframe id="monsterframe" src="https://wiki.rivendom.net/monsters/CR-1-High-Elf-Swordsman.html"></iframe> |
<script> | <script> | ||
Revision as of 18:11, 20 August 2015
<iframe id="monsterframe" src="https://wiki.rivendom.net/monsters/CR-1-High-Elf-Swordsman.html"></iframe>
<script>
var iframe = document.getElementById('monsterframe');
var innerDoc = iframe.contentDocument || iframe.contentWindow.document;
var statblock = innerDoc.getElementsByTagName('stat-block')[0].innerHTML;
document.body.innerHTML += statblock;
</script>