Extracts a file extension (upper-cased, no dot) from a URL, checking in order: the ?filetype=
query, the pathname, then the URL fragment. The fragment is the only reliable carrier for blob:
URLs (drag & drop) and filename-eliding URLs — e.g. blob:…/uuid#model.ply.
Extracts a file extension (upper-cased, no dot) from a URL, checking in order: the
?filetype=query, the pathname, then the URL fragment. The fragment is the only reliable carrier forblob:URLs (drag & drop) and filename-eliding URLs — e.g.blob:…/uuid#model.ply.