Определить, что юзер сидит на 2g
if(navigator.connection && navigator.connection.type === 'cellular' && navigator.connection.downlinkMax <= 0.115) // Notify your service to indicate that you might be affected by this restriction. }