How to clear a Firefox address bar without selecting its content?
Ctrl + L selects the Location Bar, giving it focus and highlights whatever is in the field. Simply use that keyboard shortcut just after giving the Firefox window focus but before you paste your intended target URL.
Just use Xclear add-on.
Clear url and search field easily https://addons.mozilla.org/en-US/firefox/addon/xclear/