var OLDGetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.getContext = function () { var context = OLDGetContext.apply(this, arguments); if (context === null) { return null; } var contextNames = ["webgl", "experimental-webgl", "webgl2", "experimental-webgl2"]; if (contextNames.indexOf(arguments[0]) !== -1) { context.canvas.setAttribute("__spector_context_type", arguments[0]); } return context; }
var OLDGetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.getContext = function () { var context = OLDGetContext.apply(this, arguments); if (context === null) { return null; } var contextNames = ["webgl", "experimental-webgl", "webgl2", "experimental-webgl2"]; if (contextNames.indexOf(arguments[0]) !== -1) { context.canvas.setAttribute("__spector_context_type", arguments[0]); } return context; }
Comunicato ASET - Variazione orari di apertura del Centro Raccolta Differenziata di Pergola