Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

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

  • Няма отговори
  • 0 имат този проблем
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?

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.