gyng / save-in

WebExtension for saving media, links, or selections into user-defined directories
MIT License
204 stars 25 forks source link

Unable to save image on website, where right click is not allowed #136

Open Lumbago1337 opened 4 years ago

Lumbago1337 commented 4 years ago

On a Website, where it's "fobidden" to use right click to prevent images from saving I get this error at the bottom right, when trying to save a image:

Failed to save .......... SERVER_FAILED

As a workaround for right click I've tryed the following (with all you can open the menu, but saving fails): -addon https://addons.mozilla.org/de/firefox/addon/re-enable-right-click/ -shift+right click -and also dom.event.contextmenu.enabled set to false in about:config

Before the Firefox had this sort of "feature" to hide or overwrite the right click menu it worked fine without an issue. Also the normal build in image option "save as" works without problems. The website, which causes the problem is nsfw, if you want to know it to try it out yourself, let me know - could also write the link via mail.

gyng commented 4 years ago

I cannot reproduce this on a random site I found online. Shift+Right-click worked for me. SERVER_FAILED probably indicates that the downloading failed. FF has poorer support for changing download names, so you can try using this extension on Chrome and see if it works.

hkmaly commented 11 months ago

@gyng Try https://www.webtoons.com/en/canvas/erma/13-days-of-ermaween-2023-day-1/viewer?title_no=170650&episode_no=555 - I'm getting "SERVER_FORBIDDEN" from this.

(And the site is SFW)

I suspect it's not related to the right click being blocked but just that the same kind of people who blocks right click thinking it will stop anyone copying their images may also be using some other feature for blocking image download. Which also doesn't work, the image can be saved the normal way just fine.