Domain serach widget

I would like to create a widget that will allow someone to select text and perform a domain search, but have not been able to get it to work.

Can anyone give me some ideas?

I’m aware that you can perform a domain search from within the search toolbar but that requires too many steps and staff don’t catch on to it.

Thanks.