diff --git a/public/content-script.js b/public/content-script.js index fccfb26..912e172 100644 --- a/public/content-script.js +++ b/public/content-script.js @@ -117,9 +117,11 @@ function injectors(msgSource) { }; removeListener(eventType, callback) { + this.stream.removeListener(eventType, callback); } cancel() { + this.stream.cancel(); } }