The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

27. September 2011, 09:29:58

athlon1989

Posts: 10

Get a content from tab

Hello

How can I get selected text from opera tab? I mean something like "Get active tab's url to popup window?" http://dev.opera.com/forums/topic/1046932 topic but with selected text.

Thank you

1. October 2011, 17:24:50

spadija

Posts: 1643

Use an injected script in the tab to get the selected text from the page, then pass it back to the background script with a message.

Forums » Dev.Opera » Opera Extensions Development Discussions