Is it possible to automatically delete ad serving URLs when the user clicks on them?

Here is an example.

https://ad.doubleclick.net/ddm/clk/424820995;226634224;j;u=ds&sv1=35552940865&sv2=3107793110469450&sv3=8467911281198942966&gclid=EAIaIQobChMIj9LS3auo4QIVB9RkCh0ozQq4EAAYASABEgIss_D_BwE;%3fhttps://www.safeway.com/ShopStores/justforU.page?gclsrc = aw.ds

I see him often. I would like to delete everything before https://www.safeway.com automatically. You may be familiar with a browser extension that does this.