Re: how to stop web browser redirects to download url when clicking?

Michelle Konzack <[email protected]>
Newsgroups gmane.comp.mozilla.devel.plugins
Organization Tamay Dogan Network
Message-ID <20120829075139.GJ24598@work1>
Hello azol.young,

Am 2012-08-03 22:41:35, hacktest Du folgendes herunter:
> hi,i'm developing a npapi plugin to monitor which user click a url to
> download file,i.e zip file. 
> now i can monitor this action, and get the zip file url,but the  web
> browser still redirects to the zip file url.
> So, how can i stop the web browser's actions, and keep the web browser
> staying in the origin page url?

This has nothing to do with your plugin, but with the Server from which
the file comes, because the CGI script can send with

    Content-Disposition: inline; ${FILENAME}
or
    Content-Disposition: attachment; ${FILENAME}

> thanks. 

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux
               Internet Service Provider, Cloud Computing
                <http://www.itsystems.tamay-dogan.net/>

itsystems@tdnet                     Jabber  [email protected]
Owner Michelle Konzack

Gewerbe Strasse 3                   Tel office: +49-176-86004575
77694 Kehl                          Tel mobil:  +49-177-9351947
Germany                             Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/

_______________________________________________
dev-tech-plugins mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-plugins
signature.pgp (application/pgp-signature, 190 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.