Like described initially, I’m using a config file and I set maxTextLength to 5. That worked fine: I got an error, while testing a longer text than 5 characters.
To be sure to be right, I’ve done this again, and if I configure it to 5, I get an error. If I set it to 50000 I still can’t test a text with more than 10000 character.
What is the limit for you? The limit with a local server is probably 40,000 (there should be no limit, but that’s a bug in the add-on, so you’ll need to wait for a new add-on release).
For me personality, 40,000 would be Ok. But imho, there should not a small limit inside the Add-on of a browser. The server admin should be able to allow much larger texts too.
Transferring 100,000 characters should today not a big problem of the internet.
And after a browser sent 200,000 characters, the server can answer the limit, which he can handle (set by the maxTextLength). The browser can handle this, to not send a longer request again.
Maybe the Add-On can store the received limit somewhere, not to send a longer requests again within 24 h…