Re: stop browser downloading a js script



peter.boot <peter.boot@xxxxxxxxx> wrote:
I didn't realize you wanted to block just one particular script
file. Is that what you want?

Yes that is what I want to do

Just a single script? Out of curiosity, why do you want to do that?

You could install a temporary Asynchronous Pluggable Protocol (APP) for
HTTP protocol. Your implementation would error out (say, return E_ABORT)
in IInternetProtocol::Start when given this particular URL, and return
INET_E_USE_DEFAULT_PROTOCOLHANDLER in all other cases (this return code
means "use default built-in handler").
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.


Loading