Closed Aeres-u99 closed 2 years ago
Maybe --remove
flag.
htmlq -f file.html --remove 'script' > clean.html
It will remove all selected elements, and output everything else. It will be very useful.
Thanks a lot!
@mazznoer, is it possible to append or change the content inside a tag id?
I will truly appreciate an invert selector, something which will display everything else other than that. It will be very useful for excluding and remove weird javascript and google ads