-2👍
Maybe this?
var scripts = document.querySelectorAll('scripts');
var l = 0;
while (l<scripts.length) {
if (scripts[l].src = '/_nuxt/cc2978d89512be6a8374.js') {
scripts[l].setAttribute('NAME', 'VALUE');
}
l++;
}
Source:stackexchange.com