How do you create an HTMLDocument from a string in Mozilla?

I have a small POW application that stores data as HTML files. Currently, to read these files, I open them in a new tab, but I would like to reserve tabs for pages that are open for longer periods of time and remove the clutter from the history and recently closed tabs.

+3
source share
1 answer

Then I put my comment as an answer;)

Check out the HTML on the DOM .

Btw. if I want to find something related to Firefox, I am always looking mdc other terms. This will most likely find resources on MDC sites ...

+2
source

Source: https://habr.com/ru/post/1782913/


All Articles