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

system.verbs.builtins.webBrowser.protocols.otherhandlers.usrtlk

on usrtlk (url) {
	<<DW Sun, Apr 14, 1996 at 9:24:15 AM
		<<disabled the safetyCheck call
			<<if you want to experiment with Frontier as a safe client scripting platform
			<<uncomment the call to webBrowser.protocols.safetyCheck below
	local (protocolstring = string.nthField (url, ':', 1));
	url = string.delete (url, 1, sizeof (protocolstring) + 1);
	url = toys.urlDecode (url);
	<<if not webBrowser.protocols.safetyCheck (url)
		<<return (false)
	evaluate (url);
	return (true)}



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.