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!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

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