My solution isn’t necessarily URL specific but rather template specific!
For example, if you would like to hide the Shopify chat widget on article pages! You’ll need to go to Themes>Edit code and then search for the “article.liquid” template in sections folder.
At the top of the section, insert the code below:
The above code should work for any template you’d like to hide the chat widget on.
If you are looking to hide the widget on a specific page, you’ll need to have slightly more developer knowledge. You’ll need to use handles!
Handles link:
https://shopify.dev/api/liquid/basics
Hope this helps (: