mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
8 lines
129 B
JavaScript
8 lines
129 B
JavaScript
var oldAlert = alert;
|
|
exportFunction(
|
|
function(str){
|
|
oldAlert("From page script: " + str);
|
|
},
|
|
window,
|
|
{defineAs:'alert'}
|
|
); |