Those browser's vulnerability to those attacks are entirely based on the fact that they execute JavaScript. Thus, if your browser doesn't execute JS, it's immune.
I hope on that, but it would be cool get more details why text-based browsers are much more secure than modern browsers in 2018.
P.S.: Screenshot[0] from my web-browser with this thread.