Unused JS code detection in Safari
Closed this issue · 2 comments
pankajparashar commented
Safari does have a neat way to show unused JS code in the Sources panel. It basically fades the unexecuted parts of the code. I had covered this in canidev.tools/find-unused-javascript/safari.
captainbrosset commented
Thanks Pankaj. Very useful as always!
From CIDT, I see that you only need to click the C
icon. So, no need to start coverage instrumentation from any other tool, right?
pankajparashar commented
Yes correct. Click the "C" icon > Reload the page to fade unexecuted code. Here is a complete demo: