Blogs

Return to a Scroll …

I recently needed to “remember” my current position on a web page and wanted to automatically return to that position if there were a page refresh. I put together a simple solution that will track the window’s position and store the value in localStorage. By adding the script …

Modify Puppeteer User …

There are times we need to use Puppeteer and appear as a different user type or from a different user device. This value is set in the User-Agent request header. Applications will use this value to determine what browser their users commonly use to determine things like how much they want to focus …

Prevent Nodemon from …

It’s not often that I run across this issue, but it does happen from time to time where Nodemon seems to constantly restart. If you’re not familiar, Nodemon is a fantastic NPM package that will watch for file changes and restart your Node process automatically. This really speeds up …