gorhill / httpswitchboard

Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.
GNU General Public License v3.0
1.33k stars 83 forks source link

Save As blocked when right-clicking links #407

Open Tanath opened 9 years ago

Tanath commented 9 years ago

From Opera:

We checked the extension and it's working as expected. With it setting to block all request it's supposed to not show Save As dialog when right clicking on links. That's how this extension seems to be designed. IF you think it shouldn't block such requests please contact authors of this extensions on https://github.com/gorhill/httpswitchboard/issues and ask them for some workaround for this case.

Is there some reason I'm not aware of why it'd be a good idea to block Save As, or is this a bug?

gorhill commented 9 years ago

Requests of type other are used by the "Save as..." feature to download what you want to save. Hence you need to allow requests of type other for the hostname(s) from where the content is downloaded.

Tanath commented 9 years ago

I realize it currently falls into the other category. What reason might there be for Save As to be blocked? Is there a risk? Why catch it at all?

On Wed, Sep 3, 2014 at 10:00 AM, Raymond Hill notifications@github.com wrote:

Requests of type other are used by the "Save as..." feature to download what you want to save. Hence you need to allow requests of type other for the hostname(s) from which the content is downloaded.

— Reply to this email directly or view it on GitHub https://github.com/gorhill/httpswitchboard/issues/407#issuecomment-54301213 .

gorhill commented 9 years ago

HTTPSB doesn't block specifically "Save as". HTTPSB is a low-level utility to deal with net requests, it doesn't have knowledge of high-level features such as "Save as", and when it inspects net requests, there is no context information attached to the next requests for HTTPSB to know why these net requests are made.

Tanath commented 9 years ago

So I guess there's no way to make an exception for it then?

On Thu, Sep 4, 2014 at 9:18 AM, Raymond Hill notifications@github.com wrote:

HTTPSB doesn't block specifically "Save as". HTTPSB is a low-level utility to deal with net requests, it doesn't have knowledge of high-level features such as "Save as", and when it inspects net requests, there is no context information attached to the next requests for HTTPSB to know why these net requests are made.

— Reply to this email directly or view it on GitHub https://github.com/gorhill/httpswitchboard/issues/407#issuecomment-54474067 .

gorhill commented 9 years ago

Aside whitelisting the other column, no.