Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

250 B
Raw Blame
// Firefox returns promises only through `browser`: its `chrome` takes callbacks. Chrome has
// `browser` from 148, and promises on `chrome` before that.
export const api: typeof chrome = (globalThis as { browser?: typeof chrome }).browser ?? chrome