Part of this problem is sites presenting data the browser can't understand; people have long gritted their teeth at Netscape popping up a dialogue box for every single ticky error. Part of it is the browser simply lacking core functionality. Unfortunately, there have been no maintained compilers for the classic Mac OS for years and even the venerable CodeWarrior can't compile a lot of new ANSI code. So if building a new browser is difficult, change the input the browser is getting -- in other words, build a proxy and feed it data it can actually understand.
Naturally, anyone could go throw such a proxy on their local server, and there are such tools that could be modified for this purpose, but it defeats the purpose of using a classic Mac for web browsing because the server is doing the work (and would probably be considered cheating by the annual Retro Challenge judges). That brings us to Copperweb, an implementation of such a proxy that you can run locally on the Mac itself.
Copperweb is a work in progress and essentially a toy project. You should not expect much out of it and I would be impressed if you tried to use it on a practical basis. But I do accept patches!
To use it, disable your browser's multiple connection support (as it will probably make the browser act funny) and point your browser's proxy settings to your Mac's IP, port 8080. You might need to restart your browser, and some browsers may not work right with Copperweb; see below. Sites you know don't need proxy processing can be placed into your browser's "don't proxy" list, if it supports that.
Copperweb will then take requests from your browser and fetch them, rewriting the requests as needed on the fly. Anything that is not HTML will simply be spewed back. If the document is HTML, however, then it will be checked and stripped of most JavaScript, CSS and iframes. When done, it will wait for another request.
That said, there were some sites that the IIci could never have accessed before that Copperweb enabled. There is always a price to be paid.
Copperweb for MacOS only works well with a subset of browsers. Internet Explorer 2.1 works okay with it. Netscape 2.02 will talk to it, but throws frequent socket errors (this appears to be a manifestation of the infamous error -3155 which still plagues WaMCom and is finally being fixed in Classilla). NCSA Mosaic seems not to like it at all. You may need to experiment to see what will tolerate it, as the socket code in MacPerl seems to have some glitches. The A/UX version doesn't have this problem, by the way.
To begin, preconfigure your browser to point to your Mac's IP and port 8080 as its HTTP proxy, and quit the browser. Make sure you have MacPerl installed (here is a naked binary with just the MacPerl 4.1.8 executable), then download Copperweb for Mac (MacBinary) and decode it. Double-click the script and press Cmd-Shift-R to start it. A new window will appear. Press RETURN to start the proxy and wait until the camel spinning cursor appears, then start your browser. You can watch network and proxy activity in the MacPerl window to reassure you during the slow moments that your Mac has not frozen.
Because the MacOS version cannot preemptively multitask, the browser can steal CPU cycles from it trying to process things faster (and in this case starving itself for data by idling Copperweb, making it slower). Also, because MacPerl doesn't and will never support multiple processes, and MacPerl 4.1.8 has specific bugs in its implementation of select(), it cannot handle multiple requests at once. Occasionally these socket irregularities will conspire to unsettle the browser and even uncover a bug. Well, it's not that the dog walked well, as they say.
Also, due to the incomplete socket implementation available and MacPerl 4.1.8 lacking alarm(), it is possible to hang sockets waiting for hosts that will never answer. Fortunately this shouldn't hang the OS; just switch to MacPerl and press Cmd-Period once. This will interrupt the current connection call and cause it to return an error message to the browser.
Finally, never quit MacPerl with Copperweb running. Stop the proxy first with Cmd-Period, and then it is safe to quit MacPerl. If you don't, handlers don't get cleaned up and can cause the Mac to freeze.
Copperweb on A/UX is started from the CommandShell. Download it and use fcnvt if needed to turn it into a regular Unix text file. Then, in a CommandShell window, run it under perl (such as /usr/local/bin/perl copperweb.aux.pl). It will start immediately, unlike the MacOS version, and flag ready when it has bound the port and is ready to serve. If you get bind: errors, quit your browser and the CommandShell, cycle to the Finder, and restart CommandShell.
The A/UX version works happily with most browsers (note: this is only true for A/UX! -- it is not the case for running browsers in Classic with 10.4, as Classic suffers from the same drawbacks as the MacOS version despite the proxy running on a native Perl) and was tested with Netscape 2.02 and IE 2.1. It is also about 25% faster than the MacOS version, largely due to the fact that it can preemptively multitask and thus the browser can't starve it of CPU cycles, and it is able to timeout sockets and save itself if a host is not answering.
Send me your comments.