[Javascript] Script removed by snapshot save in Firefox
David Hucklesby
hucklesby at gmail.com
Tue Jan 4 13:17:46 CST 2011
On 1/3/11 5:00 AM, Alberto Domingo wrote:
[...]
>
> I use firefox because the generated code can be saved and creates a
> working page. I use to create not only the html code but also
> javascript scripts, I have been doing this for years, and everything
> was perfect, but for some reason (update? Plugins? Complements?) now
> the contents of the script tag is replaced by this text:
>
> /* Script removed by snapshot save */
>
How did you manage to save code generated by JavaScript? Are you using
some add-on I don't know about? The only way I get to see generated code
is by using Chris Pederick's Web Developer toolbar-- and that does not
show a complete page, as many elements in the <head> are left out.
> The same happens when I save any page. I used to save all (at least
> many) scripts present or called in the page, but not any more.
>
FWIW - I use the "Save Complete"[1] add-on to save everything, including
scripts inside Conditional Comments. But this does not necessarily give
a working set of files. If your scripts include a path to resources, for
example, it will fail because all resources are placed in a single
directory... :(
[1] <https://addons.mozilla.org/en-US/firefox/addon/4723/>
Cordially,
David
--
More information about the Javascript
mailing list