Writing text with JavaScript

This page is testing various different methods of writing text with JavaScript, to see what the different search engines can work out. Hopefully they'll at least understand document.write, no?

Lets get started with a plain old document.write

Next we'll try document.writeln

Next lets write multiple bits of text, but in one write method:

Next lets write multiple bits of text, in multiple write methods (it should read it all as one word):

Write the contents of a variable:

This time document is assigned to a var then written to:

This time it calls a function

This time it's simply wrapped in an eval

This is heavily obfuscated using The Enkoder Form

This time it calls a function in an external file

Lastly, this one calls a function in an external file that is excluded by robots.txt

Page: NRTestsIndexingWrite