1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00
CanvasBlocker/webextension/contentScript.js

8 lines
129 B
JavaScript

var oldAlert = alert;
exportFunction(
function(str){
oldAlert("From page script: " + str);
},
window,
{defineAs:'alert'}
);