News for hackers. Stuff that matters.
Re:Firefox and IE's "View source" can be spoofed to show any... by dave1010uk on Thursday September 08, 2011 @02:00PM (#2974935)
What that means (though is not how I would word it) is a document.write that is called asynchronously. The post uses an ajax request to do it but I've recreated it here [1] like this:

    setTimeout(function() {
      document.write('foo');
      document.close();
    }, 1);
[1] http://taskthere.com/viewsource/

There are no comments on this comment yet.