I had chatgpt fix it, I only tested it in Google Chrome. Go to tapermonkey: edit the script. On line 18: // @connect img-org.poipiku.com Add another line below and put "// @connect cdn.poipiku.com". It would look like this: // @connect img-org.poipiku.com // @connect cdn.poipiku.com // @grant GM_download
Now on line 540: let name = "coofoUtils.commonUtils.format.string.filePathByMap(tools.setting.imageNameTemplate, info) + image.info.suffix;". Add a line below and write " name = name.replace(/\?.*$/, ""); " It would look like this: let name = coofoUtils.commonUtils.format.string.filePathByMap(tools.setting.imageNameTemplate, info) + image.info.suffix; name = name.replace(/\?.*$/, ""); zip.file(name, image.file);
I had chatgpt fix it, I only tested it in Google Chrome.
Go to tapermonkey: edit the script.
On line 18: // @connect img-org.poipiku.com
Add another line below and put "// @connect cdn.poipiku.com".
It would look like this:
// @connect img-org.poipiku.com
// @connect cdn.poipiku.com
// @grant GM_download
Now on line 540: let name = "coofoUtils.commonUtils.format.string.filePathByMap(tools.setting.imageNameTemplate, info) + image.info.suffix;".
Add a line below and write " name = name.replace(/\?.*$/, ""); "
It would look like this:
let name = coofoUtils.commonUtils.format.string.filePathByMap(tools.setting.imageNameTemplate, info) + image.info.suffix;
name = name.replace(/\?.*$/, "");
zip.file(name, image.file);
That's it, it worked for me.