DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
chrome extension get current tab url
chrome.tabs.query({currentWindow: true, active: true}, function(tabs){ console.log(tabs[0].url); });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#chrome
#extension
#current
#tab
#url
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit