in some time, Firefox will use tar.xz packaging instead of tar.bz2 packaging :
https://blog.nightly.mozilla.org/2024/1 ... packaging/
I don't think it is absolutely necessary to modify ff-dl-latest at that time
because the Firefox tarball is renamed firefox.tar.bz2 in the script and the unpack command is the same for tar.xz and tar.bz2