Re:Google adds experimental setting to hide full URLs in Chr...
by shadowgovt on Sunday June 14, 2020 @11:15AM
(#23518255)
An extension can get window.location and can then paint it anywhere on the page the developer chooses, or put it in a drop down, or send it to an external service via an HTTP request and beam it to the moon, if the developer wishes.
Interesting. Other comments in this thread indicate that the only extension that can do this has its ID hard-coded in the url parsing code to be whitelisted.