Multi-select of tabs in chrome extension

I configured my Content.js like this:

chrome.tabs.query({active:true, currentWindow: true}

Then this extension ran only in one tab. When I changed tab, all variable's value was reset. What should I do to set the extension to run on multi-tab?