Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
chrome extension get current tab from popup
Google
Programming language:
Javascript
2021-06-13 04:03:47
0
Q:
chrome extension get current tab from popup
language learner
Code:
Javascript
2021-01-28 19:18:57
chrome.tabs.query({active: true, currentWindow: true},function(tabs){ var currentTab = tabs[0]; });
0
Tags
get
tab
pop()
Related
window open same tab
javascript window.location new tab
open popup window javascript
open new window chrome extension
get script result chrome.tabs.executeScript
mac os chrome opne debug new tab
javascript open in new window not tab
New to Communities?
Join the community