3 ms·
>> Build a standard (or extend the AMP standard) that works just like this, but is enforced by the browser. >uMatrix and NoScript do a rather coarse-grained ve
by dorgo 7y ago
>> Build a standard (or extend the AMP standard) that works just like this, but is enforced by the browser.
>uMatrix and NoScript do a rather coarse-grained version of this
What about something like: window.MAX_ALLOWED_JS_STATEMENTS == 1.mio ? User could set this value in settings for each domain/subdomain. Developers could decide based on that value what should be executed and what not.
- progval 7y agoI'm not a frontend dev, but isn't this kind of variability across environment exactly what frontend devs loath? It may be even harder to properly test than checking multiple browsers.