MCPcopy Create free account
hub / github.com/ChinaGodMan/UserScripts / get

Function get

script-finder-plus/script-finder-plus.user.js:207–211  ·  view source on GitHub ↗
(target, prop)

Source from the content-addressed store, hash-verified

205 },
206 {
207 get(target, prop) {
208 const lang = userLang
209 const strings = getTranslations(lang)
210 return strings[prop] || translations['en'][prop]
211 }
212 }
213 )
214 const domainParts = window.location.hostname.split('.').slice(-2)

Callers

nothing calls this directly

Calls 1

getTranslationsFunction · 0.70

Tested by

no test coverage detected