Ok, I can disable media keys in Firefox, but it only stopped them from playing sound in random tab.

Ok, I can disable media keys in Firefox, but it only stopped them from playing sound in random tab. Keys still do not work properly. Instead of managing my Spotify music playback, wthey do nothing at all. What else can I do? (yes, I have restarted Firefox after applying changes)