jsproxy icon indicating copy to clipboard operation
jsproxy copied to clipboard

无法保存图像

Open yqdl opened this issue 6 years ago • 9 comments

我用chrome浏览器,为啥不能存储图像

yqdl avatar Jun 19 '19 11:06 yqdl

有可复现问题的地址?google 首页的 logo 是可以保存的。

EtherDream avatar Jun 19 '19 11:06 EtherDream

我忘记说了,我的系统是os10.12.6

yqdl avatar Jun 19 '19 11:06 yqdl

我这边也碰到同样的问题了 @EtherDream https://jsproxy.gq/-----https://80sanime.tumblr.com/image/157243840697 图片用右键也无法保存 环境mac系统 chrome版本 75.0.3770.100(最新版本)

ZHKO1 avatar Jul 11 '19 13:07 ZHKO1

发现 Chrome 一个现象: 1.打开 ss,访问 https://80sanime.tumblr.com/image/157243840697,图片可以另存为 2.关闭 ss,清空浏览器文件缓存(页面不关闭),此时图像另存为没反应 3.过一会再打开 ss,大概几十秒后弹出另存为的文件框

猜测“图片另存为”需要浏览器对图片 URL 重新加载一次,而不是直接从内存里读取。

图片另存为请求走不走 Service Worker,我得再排查看看。

EtherDream avatar Jul 12 '19 01:07 EtherDream

发现 Chrome 一个现象: 1.打开 ss,访问 https://80sanime.tumblr.com/image/157243840697,图片可以另存为 2.关闭 ss,清空浏览器文件缓存(页面不关闭),此时图像另存为没反应 3.过一会再打开 ss,大概几十秒后弹出另存为的文件框

猜测“图片另存为”需要浏览器对图片 URL 重新加载一次,而不是直接从内存里读取。

图片另存为请求走不走 Service Worker,我得再排查看看。

可以试试:

  • chrome://net-internals/#sockets Clear idle sockets & Flush sockets pool
  • chrome://net-internals/#proxy Clear bad proxies & Re-apply settings

wi1dcard avatar Jul 12 '19 01:07 wi1dcard

貌似不走 Service Worker,看来得把 HTML 里的图片 URL 也调整成 -----url 的格式。。。

EtherDream avatar Jul 12 '19 01:07 EtherDream

之前测试有问题,当时网络本身可以访问任何网站,所以仍弹出了下载框~

EtherDream avatar Jul 12 '19 01:07 EtherDream

试了一下pdf无法下载,提示文件不存在 复现地址 https://sci-hub.se/downloads/2019-09-13/73/[email protected] https://zjcqoo.github.io/-----https://sci-hub.se/downloads/2019-09-13/73/[email protected] 可以预览,但保存会提示文件不存在

OliverBancroft avatar Sep 17 '19 09:09 OliverBancroft

大佬大佬,这个pdf问题现在解决了吗?请教一下

wangdaima avatar Mar 20 '20 06:03 wangdaima