Monday, November 08, 2010 at 12:06 AM.

on handleURL (url, mimetype, windowid, referrer) { <<called when the user goes to another URL
	<<called from system.verbs.traps.['WWW?'].URLE
	if string.lower (url) endswith ".gif" { <<filter out gif references
		return (true)};
	with {
		local (adroutline = openMenu ());
		local (title = webBrowser.getFrontWindowTitle ());
		local (scriptstring = " (\"" + url + "\")");
		menu.addMenuCommand (adroutline, tourname, title, scriptstring);
		return (true)}};

bundle { <<test code
	handleURL ("", "internal/parser", "", "538976321")}

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.