The title of the question should be that you can dynamically enter the URL to get it. You can do it with node. The main thing is to load your html first, and thenwindow.getComputedStyle(document.body).backgroundColor
For web pages, it should be possible to use an iframe with a width and height of 0 to introduce the target page, and then obtain the dom elements in the iframe
The title of the question should be that you can dynamically enter the URL to get it. You can do it with node. The main thing is to load your html first, and then
window.getComputedStyle(document.body).backgroundColor
For methods like this, it mainly depends on what element the background color is on.
For web pages, it should be possible to use an iframe with a width and height of 0 to introduce the target page, and then obtain the dom elements in the iframe