To: Scott Pedigo who wrote (6 ) 2/28/1998 10:17:00 AM From: Jon Tara Respond to of 205
I've given this a bit more thought, and I think it would be possible to use a plugin, but it would have to be used in a very unconventional way. You need to have a unique MIME type in order to use a plugin. That is, something OTHER than text/html. The plugin is only called when the browser sees a specific MIME type. And the server has to serve that MIME type. Oh, well... The solution is to request a LOCAL document. The extension would have to be set-up in Windows to have a unique mime type. (Say, .dtk = text/x-filtered-datek-html). Now, when you request, say, C:\datek.dtk?https:/orders7.datek.com/vfpwebn.exe, your plugin will get control, because a .dtk file has the MIME type text/x-filtered-datek-html. The plugin would need to parse the parameter on the end of the URL and use it to fetch the REAL page from Datek's server, then filter the HTML received and display it. In MSIE 4 (but not in Netscape, as of yet) it's possible to forgo the plugin and have Javascript reach in and actually change the HTML in a document. Kinda weird, unless you do a two-step process using a hidden layer, since first you'd see everything, and then some stuff would be gone! (That is, , say, the logo would show up and then disappear once the OnLoad() Javascript function removed it!) This could be done with Javascript loaded into another frame - that is, in my case, the upper frame. So, if you can figure out how to recognize an ad banner, there's your ad banner remover! I may fiddle around with this over the weekend and see if I can enhance the Super-Express order screen at least for MSIE 4.x users. I should be able to kill the logo pretty easily as it will be the first item in the image array.