Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Useful-Scripts-Extension/useful-script
/ getCurrentTabUrl
Function
getCurrentTabUrl
scripts/helpers/utils.js:310–312 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
308
};
309
310
export
const
getCurrentTabUrl =
async
() => {
311
return
(
await
getCurrentTab())?.url;
312
};
313
314
// https://stackoverflow.com/a/25226679/11898496
315
export
function
focusToTab(tab) {
Callers
1
medium_readFullArticle.js
File · 0.85
Calls
1
getCurrentTab
Function · 0.70
Tested by
no test coverage detected