Created
February 17, 2023 13:11
-
-
Save seoutopico/619d16ab62ffe3abc5b5fe464204725a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.tabs.query({ active: true, currentWindow: true }, function (tabs) { | |
var currentUrl = tabs[0].url; | |
document.getElementById("test").innerHTML = currentUrl; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment