Forums
This topic is locked
over-ride client MIME-types with scripting??
29 Mar 2002 20:59:56 TC McFall posted:
ok, i am really stuck here. I need some brainstorming from anyone who might be interested:the issue is simple in theory: when a resource is requested (by URL or link) the local browser compares resource file type to local MIME types and decides what to do with the darn thang.
ok, simple enough. but I need to over-ride that. i need to ensure that a file (.txt in particular) does NOT open in browser, but rather opens in Notepad.
Now, since the MIME is technically already set to notepad and we are really dealing with local browser interpretation, and given that I, of course, cannot control their local environment...
is there a coding/scripting solution that anyone is aware of that could force "application-x" "onclick" ??
thanx in advance!!
~kr0m3
There are no "webmasters"...only "webstudents". Now, snatch the floppy from my hand, grasshopper.