Paste a URL copied from the clipboard into the new browser tab address bar

I would like to attach the URL copied from the clipboard to the address bar of the new browser tab
I’d appreciate it if you could tell me how to write a script.