getCurrentshould be what you need getSelected- this is the tab that is currently selected in the browser. When they can be different - perhaps your extension launches some cronjob background in the tabs, so the tab cannot be selected by the user at the moment.
, . getCurrent , (, options.html), . getSelected - , .
- , , . script , , , sender.