jquery.captureDocumentWrite (nuget): Allows getting the content written by script files which use the document.write() method. Originally created to support the SignalR chat sample application when adding content providers for reading entries from pastie or git. Sample usage: $('<div/>').captureDocumentWrite('https://gist.github.com/1158895.js?file=gistfile1.cs', function(content){/*callback after content is inserted into the div element*/}).appendTo(wrapper);
Keywords: jquery|document.write|javascript