DEV Community

Discussion on: Question: How to complete disable notification window from Firefox extension?

Collapse
duhdugg profile image
Doug Elkin

One would need to stop bookdetect.js from executing browser.notifications.create like so:

// line 84
function notify(msg) {

    // browser.notifications.create({
    //  "type": "basic",
    //  "title": "Duplicate removed! - Bookmark Detector",
    //  "message": msg
    // });


}
Enter fullscreen mode Exit fullscreen mode