I'd like to make an extension for Google Chrome that would enable a horizontal bar that was always at the disposal at the top of the user window. The placement would be something like this:
Thequestionis:howtoachievethisbehavior?IthoughtaboutaddingtheHTMLfileasapopup
inthebrowser_action
ofthemanifestfile,butthatmadeitdisappearassoonasIlostfocus,whichisnotquitewhatIwant.Ialsothoughtof"wrapping" the HTML code inside a Javascript (changing, ex, <tag></tag>
by document.write("<tag></tag>")
, and adding in the manifest as a content_script
, but I could not make any bar appear when trying this. help?