How to print webpage without URL littering

That particular website is designed to do that.

Here's Firefox's inspector with print simulation enabled (circled red on the screenshot):

Screenshot of website, with ::after pseudoelement containing the URL highlighted

The inspector is accessed by right-clicking any link and selecting Inspect. Then you can expand the link node <a href="https://…"> and click on ::after. That will highlight just the URL part.

Under the print simulation button you can see the CSS property that creates ::after pseudoelements on all links with their URLs. Hovering mouse pointer over that property will reveal a checkbox. Uncheck it to hide link URLs.