[Zope] Show Traceback in Mozilla 1.x
Marius Gedminas
marius@codeworks.lt
Tue, 9 Jul 2002 16:25:37 +0200
On Tue, Jul 09, 2002 at 12:24:18PM +0100, felix@chaptereight.com wrote:
> How exactly does Mozilla not let you see the source? If it's a frame,
> you'll need to right-click and choose "This Frame -> View Frame Source".
>
> I'm not sure if it's relevant, but I think Mozilla has a bug which
> means that "view source" actually re-requests the url, so you're not
> getting an accurate source listing, because the parameters to your
> query may be missing. This is obviously only relevant when you have a
> page that is the result of processing a form.
A bookmarklet helps here. Add the following URL to your bookmarks and
call it "Show current DOM tree as HTML source":
javascript:(function(){ function htmlEscape(s){s=s.replace(/&/g,'&');s=s.replace(/>/g,'>');s=s.replace(/</g,'<');return s;} x=window.open(); x.document.write('<pre>' + htmlEscape('<html>\n' + document.documentElement.innerHTML + '\n</html>')); x.document.close(); })();
I think I found it at http://www.squarefree.com/bookmarklets/.
Marius Gedminas
--
Any sufficiently advanced Operating System is indistinguishable from Linux.
-- Jim Dennis