DevToys icon indicating copy to clipboard operation
DevToys copied to clipboard

"Pretty print" formatter for HTML/Javascript

Open lynnewu opened this issue 1 year ago • 0 comments

What feature or new tool do you think should be added to DevToys?

When doing analysis on email malware, I often run across HTML, Javascript, and HTML with embedded Javascript that's been obfuscated in various ways. Usually I end up copy/pasting to a website or editor capable of automatic, syntax-driven reformatting.

Why do you think this is needed?

DevToys already supports XML & JSON. This fills out that capability.

Solution/Idea

When the "reformat" tool is selected, automatically copy from the clipboard and reformat.

Provide switches to control formatting, like placement of tabs/spaces, syntactical sugar items, etc.

If it could also do inline HTML and Base64 decoding that would be a bonus.

Comments

No response

lynnewu avatar Jun 25 '24 14:06 lynnewu