begin quoting Bob La Quey as of Tue, Aug 28, 2007 at 12:37:08AM -0700: > On 8/27/07, Stewart Stremler <[EMAIL PROTECTED]> wrote: > > > What I really want to do is to rewrite all the javascript in a page. > > I do not understand why this is a problem. Can one not > simply download a page, including its Javascript, then > write a program to do anything one might imagine with > that page?
That was my intent, but I did not find a decent https proxy that had the capability that I want (muffin works well, but it doesn't handle https). Greasemonkey lets me rewrite the page, but I have not yet found any documentation about how to obtain the javascript used by that page. All the javascript rewrite examples that I've seen thus far are doing only string-subtitution in tag attribute values. This is not useful. > Yes, it is work. But is there any fundamental issue > that prevents one doing this? I do not perceive any > such issue. Ideally, I could write my own browser and/or javascript engine, and provide "no unmediated code" as a basic feature/requirement. > Or are you simply saying, "This is work. I do not > want to do work." If I didn't want to work, I would be a lazy SOB and just enable Javascript, rather than trying to make the Web work in a sane and reasonable manner. (Re)writing a browser and Javascript engine is *too* much work. -- Remember that discussion we just had about "cleaning" user-input? It applies. Stewart Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
