How to clear Firefox search box terms after submission? [duplicate]
If what you are trying to do is clear the text field because you are on a UNIX like OS and want to use middle click to paste, there are some extensions for that. I use ClearFields.
It adds a button to the right of the search box and clicking on it clears the text.