code: function decodeBase64WebPDataURL(url) {
              if (typeof url !== "string" || !url.match(/^data:image\/webp;base64,/i)) {
                  return false;
              }
              
              return window.atob(url.substring("data:image\/webp;base64,".length));
          }
docs: Decode a Base64 data URL into a binary string.
  
  Returns the binary string, or false if the URL could not be decoded.