But there were different exceptions depending on the page I wanted to load.
If you open the html, for example with firstobject XML editor, you will also see structural errors due to the embedded javascript. As already written above, very simple HTML/XML structures work.
If so, then it seems to be probably a problem with my phone. I do not want to exclude that. It is the Teracube 2e with Android 11 (there are some open issues with the phone).
I have now modified Bangle.js Gadgedbridge for my use and added Jsoup. I also added the possibility to execute multiple XPath expressions (or selectors) with one call. If I ever have some time, I'll refactor the code and create a merge request.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@myxor, thank you for your response.
I'll have another look this evening.
But there were different exceptions depending on the page I wanted to load.
If you open the html, for example with firstobject XML editor, you will also see structural errors due to the embedded javascript. As already written above, very simple HTML/XML structures work.
Does the example work for you/anyone?
If so, then it seems to be probably a problem with my phone. I do not want to exclude that. It is the Teracube 2e with Android 11 (there are some open issues with the phone).
I have now modified Bangle.js Gadgedbridge for my use and added Jsoup. I also added the possibility to execute multiple XPath expressions (or selectors) with one call. If I ever have some time, I'll refactor the code and create a merge request.