diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index 55dabc892..814c7e7ab 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -1216,7 +1216,10 @@ function jsonPrune( const extraArgs = safe.getExtraArgs(Array.from(arguments), 3); const logLevel = shouldLog(extraArgs); const fetchPropNeedles = parsePropertiesToMatch(extraArgs.fetchPropsToMatch, 'url'); - if ( fetchPropNeedles.size === 0 ) { + if ( + fetchPropNeedles.size === 0 || + matchObjectProperties(fetchPropNeedles, { url: 'undefined' }) + ) { JSON.parse = new Proxy(JSON.parse, { apply: function(target, thisArg, args) { return objectPrune(