MCPcopy
hub / github.com/NeverDecaf/chromium-web-store / getExtensionId

Function getExtensionId

src/scripts/util.js:67–72  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

65}
66
67function getExtensionId(url) {
68 return (cws_re.exec(url) ||
69 ncws_re.exec(url) ||
70 ows_re.exec(url) ||
71 ews_re.exec(url) || [undefined, undefined])[1];
72}
73
74function buildExtensionUrl(href, extensionId = undefined) {
75 extensionId = extensionId || getExtensionId(href);

Callers 4

buildExtensionUrlFunction · 0.70
createButtonFunction · 0.70
modifyNewCWSButtonFunction · 0.70
inject.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected