DEV Community

JS Bits Bill
JS Bits Bill

Posted on • Edited on

2

Filter Log by Script Source

On any given website, your typical console might look like this:

Yuck! 🤮 We may not be able to control these messages if they're coming from a third-party vendor for instance. So what could we do to make things look at little neater?

DevTools provides a nifty way you can temporarily filter logs by script source. Check it!

Click the console side bar then click on one of the source scripts to see all logs originating *only* from that source.

Now your log is clean as a whistle!🧼

Links

Chrome Dev Tools Article on Log Messages


Check out more #JSBits at my blog, jsbits-yo.com. Or follow me on Twitter!

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay