I want external extension like Web component to call a url only

you might want to replace the spaces by %20 like this
https://www.google.com/hi%20this%20is%20test
Taifun