Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to stop filename append (1) for existing file during add-on that uses WebExtensions API

  • Tidak ada balasan
  • 0 memiliki masalah ini
more options

I have tried multiple Firefox Extensions for saving images instead of using the default Right-click "Image Save as" function, so reduce steps. All of the extensions have the same issue. When the filename already exists, there is no failure but instead a (1) is appended to the end of the file name. No message/prompt either to skip/cancel. It just silently appends. And (2) (3) and so on.

Is this a limitation of the Firefox WebExtensions API? Is it not possible to return a verbose failure for existing filenames?

I have tried multiple Firefox Extensions for saving images instead of using the default Right-click "Image Save as" function, so reduce steps. All of the extensions have the same issue. When the filename already exists, there is no failure but instead a (1) is appended to the end of the file name. No message/prompt either to skip/cancel. It just silently appends. And (2) (3) and so on. Is this a limitation of the Firefox WebExtensions API? Is it not possible to return a verbose failure for existing filenames?

Anda harus masuk ke akun Anda untuk membalas kiriman ini. Sila mulai pertanyaan baru, jika Anda belum memiliki akun.