chrome native messaging: how to receive > 1MB
问题 What would be a good way to work with Chrome's incoming 1MB limit for native messaging extensions? The data that we would be sending to the extension is json-serialized gpx, if that matters. When the original message is >1MB, it seems like this question really has two parts: how to partition the data on the sending end (i.e. the client) this part should be pretty trivial. Even if we need to split into separate self-contained complete gpx strings, that is pretty straightforward. how to join