Lich_Ray wrote:
> > Firefox has the ViewSourceWith extension (among others) - maybe less
> > convenient but provides a few more features 
> >
> > <URL: https://addons.mozilla.org/firefox/394/ >
> >
> > --
> > Rob
>
> It's not a bug. The reason of that script you loaded has'nt run is it
> hasn't loaded completely.
> 1. you can load the script in a script chunk before your main chunk;
> 2. use XMLHttp load script from xml files, than use global function
> eval() to run it.
> 3. set a setTimeout() to wait for all the code loaded completely.
I think you completely missed the discussion. No one mentioned bug or
defect. There is no reason to suspect that the js file hasn't fully
loaded. There is no benefit to using eval() to execute the code since
the OP wants to view the source.
Using setTimeout() presumes that load latency is an issue, which it
isn't (see above). If it was, trying to view the source after some
guesstimate of how long the file might take to load is not a
particularly robust solution.
--
Rob