const tracks = [
"TheAttack",
"Orinoco Flow"
];
(() => {
[ 'clearInterval', 'clearTimeout' ].forEach(method_name => {
const original_method = window[ method_name ];
window[ method_name ] = function() {
console.log(`method ${ method_name } is called with arguments:`, arguments)
return original_method.apply(this, arguments)
}
})
})()