DEV Community

Igor
Igor

Posted on

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

Question: How to complete disable notification window from Firefox extension?
Addons: "Bookmark Detector"
GitHub: https://github.com/szilardtester/bookmark-detector-firefox

Top comments (1)

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