mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-08 20:54:49 +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'}
|
||
|
);
|