<script id="s1" src="foo.js"></script>
<script>
alert('foo.js contains' + _source_code_of('s1'))
</script>
上記のような、_source_code_ofをimplementすることは不可能である。 ファイルを読み込むscriptタグの場合、childNodesなどをアクセスすることはできない。
some other content
some other content
end of the page