MCPcopy Index your code
hub / github.com/MALSync/MALSync / getUrls

Function getUrls

webpackConfig/missingPermissions.js:80–92  ·  view source on GitHub ↗
(manifest)

Source from the content-addressed store, hash-verified

78}
79
80function getUrls(manifest) {
81 const urls = [];
82 if (manifest.content_scripts) {
83 manifest.content_scripts.forEach(script => {
84 if (script.matches) {
85 script.matches.forEach(url => {
86 urls.push(url);
87 });
88 }
89 });
90 }
91 return urls;
92}
93
94async function ex(command) {
95 return new Promise((resolve, reject) => {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected