Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox下载多图没有.zip后缀 #67

Open
5 tasks done
yuzhen1024 opened this issue Jan 5, 2022 · 4 comments
Open
5 tasks done

firefox下载多图没有.zip后缀 #67

yuzhen1024 opened this issue Jan 5, 2022 · 4 comments

Comments

@yuzhen1024
Copy link

基本信息

我确认我已经完成以下步骤

  • 我确认除了此脚本外, 其他任意脚本能正常运行
  • 我确认此脚本是最新版本
  • 我确认已经翻阅GreasyFork的反馈区, 以及GitHub的Issue, 均未发现相似问题

如题

@TAKAYANORIKO
Copy link

我也一样。

@yuzhen1024
Copy link
Author

yuzhen1024 commented Aug 18, 2023

我也一样。

687行 改为:

 GM.getValue(GMkeys.downloadName, `{pid}`).then(name => {
                            zip.generateAsync({type: 'blob', base64: true})
                                .then(content => saveAs(content, getDownloadName(name) + 
                                    (navigator.userAgent.indexOf("Firefox") > -1 ? '.zip' : '')
                                ));
                        });

@TAKAYANORIKO
Copy link

我也一样。

687行 改为:

 GM.getValue(GMkeys.downloadName, `{pid}`).then(name => {
                            zip.generateAsync({type: 'blob', base64: true})
                                .then(content => saveAs(content, getDownloadName(name) + 
                                    (navigator.userAgent.indexOf("Firefox") > -1 ? '.zip' : '')
                                ));
                        });

@TAKAYANORIKO
Copy link

谢谢,光改687行没有成功,最后是用上面说的增强js成功了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants