chrome.tabs returns undefined despite the fact I set tabs in the permissions block.
chrome.tabs
\"permissions\": [ \"tabs\", \"http://*/*\", \"h
As content script has its own limitations,
chrome.tabs is only available in background scripts and popup scripts.
If you wanna to use chrome.tabs then pass message from content_script to background script and play with chrome.tabs.