How to make mdd/mdx from websites containing MathJax?

Recently, I have come across this topic about integrating MathJax into mdd/mdx. The result is beautiful, especially with the new release of GoldenDict.

Could somebody provide me with instructions on how to do so with these 2 html’s?

image

image