I am developing a chrome extensions, so that this plugin used to send the selected text from a site to a server and return the text back to client. How can I make my plugin to float on the site, once the user select any text then my plugin must appear beside the selected text (Bubble), exactly like google translation plugin, which appears immediately when a user select some text.
I attached some picture to explain what I want exactly!