Make platform checking work better on Chrome, where chrome.extension is defined even in userscript contexts. Also fix for global 'this' being undefined in said contexts.
Make platform checking work better on Chrome, where chrome.extension is defined even in userscript contexts. Also fix for global 'this' being undefined in said contexts.

Rothera/bpm,ByzantineFailure/BPM-for-Discord,ByzantineFailure/BPM-for-Discord,ILikePizza555/BPM-for-Discord,ILikePizza555/BPM-for-Discord,Carson-Shook/bpm,ByzantineFailure/bpm,ByzantineFailure/bpm,ILikePizza555/BPM-for-Discord,Rothera/bpm,ByzantineFailure/bpm,Rothera/bpm,Ajedi32/bpm,Carson-Shook/bpm,Carson-Shook/bpm,ILikePizza555/BPM-for-Discord,ByzantineFailure/BPM-for-Discord,ByzantineFailure/bpm,Ajedi32/bpm,ByzantineFailure/BPM-for-Discord,Ajedi32/bpm