3 ms·
For the interim, may it be a wise idea to include an inlined script at the very top of any page which includes untrusted 3rd party code, in order to overwrite t
by masswerk 9y ago
For the interim, may it be a wise idea to include an inlined script at the very top of any page which includes untrusted 3rd party code, in order to overwrite the Performance tools by a wrapper? By adding some random to the real numbers this may help mitigating effects ...
E.g.,
(function() {
var global = (function() { return this; }).call(),
_Performance = global.Performance,
_performance = global.performance;
global.Performance = /* ... snip ... */;
global.performance = /* ... snip ... */;
})();
[Edit]: This could be injected by a browser-plugin on the user's side, as well.
- masswerk 9y agoNote: "May it be a wise idea ... ?" is an open question, meant to start a discussion. No need for down-voting, just answer or ignore it. :-)