Skip to content

fix popup options for firefox

Chidambaranathan Anirudh requested to merge c_anirudh/MindTheWord:firefox into master

Fixes: #347 (closed)

The issue was caused by the tabs.getSelected() function which has been deprecated [source].

The function has been replaced with the tabs.query({active: true}) function in three places in popup.js. The blacklist/whitelist website button and switch extension on/off button in the popup now works in Mozilla Firefox.

Video illustrating working:

Untitled__Jan_22__2020_10_23_PM

Merge request reports