Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

25 views
Skip to first unread message

Michelle Konzack

unread,
Aug 29, 2012, 3:51:39 AM8/29/12
to dev-tech...@lists.mozilla.org
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 linux4m...@jabber.ccc.de
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/
signature.pgp
0 new messages