Warns you if you're trying to download a torrent that will push your ratio into the danger zone.
Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.
Added prefix.
Added a try block for the material fonts css update.
Pushed a bug by mistake. Removed the matching check. Return is already closing all arguments when it matches.
Needed to rearrange some things as B is also present in KiB, GiB, etc. So, the check for B needs to be at the end. Added a new flag to stop checking if an existing one has matched. So, if GiB matches, it will not check if B also matches.
Changed (Bytes > B) as I've seen that unit being used.
Interchanged position of critical with fatal.
Detects freeleech and says "safe, no change to ratio".You will now receive a status check in text (safe, dangerous, risky, etc.) in the button.Clicking on this button will reveal the expected future ratio after downloading.Clicking again will go back to the previous text.
Organized stuff a bit.
The core functionality done and the script may be considered complete.