MCPcopy 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
310export const getCurrentTabUrl = async () => {
311 return (await getCurrentTab())?.url;
312};
313
314// https://stackoverflow.com/a/25226679/11898496
315export function focusToTab(tab) {

Callers 1

Calls 1

getCurrentTabFunction · 0.70

Tested by

no test coverage detected