Flip the Script!
https://mondaybynoon.com/geniusflip-the-script/
The extension lists all of the JavaScript and CSS on page, allowing you to double click a file to see the source. Using the Cleanup JavaScript button you can de-minify it on the fly. Once it’s cleaned up, you can edit it: