If multiple tabs/windows are open on www.deviantart.com, using the "Create Filters from this Deviation" context menu option on any tab/window shows the modal on all of the open tabs/windows.
This is caused by using the SendMessageToAllTabs helper function in the onClicked event handler for that menu item.
It appears to be a very simple fix: just change this logic to instead use browser.tabs.sendMessage() and pass the tab.id that is sent to the event handler.
If multiple tabs/windows are open on www.deviantart.com, using the "Create Filters from this Deviation" context menu option on any tab/window shows the modal on all of the open tabs/windows.
This is caused by using the
SendMessageToAllTabs
helper function in theonClicked
event handler for that menu item.It appears to be a very simple fix: just change this logic to instead use
browser.tabs.sendMessage()
and pass thetab.id
that is sent to the event handler.