[Firefox] 1.3.0 breaks many sites / video players
Tested with a Clean profile on FF 68.01 with only User-Agent Switcher installed
Steps to reproduce:
- Install User-Agent Switcher on a clean FF profile
- Set a useragent string (global or per domain), in my case I set it to FF 67 just because its one of the defaults
- Navigate to a youtube video
- be greeted in the console with this error msg, nothing solves it, only downgrading to the previous addon release on AMO and disabling auto updates.
17:40:56.800 TypeError: 'plugins' called on an object that does not implement interface Navigator. df57911b-72db-4fd0-856a-ba82c0987b11:56:20
get self-hosted:4489
get blob:moz-extension://ce25b0e5-08c5-47ee-991d-5470efb84b3b/df57911b-72db-4fd0-856a-ba82c0987b11:56
<anonymous> https://www.youtube.com/yts/jsbin/player_ias-vflFxFa3y/en_US/base.js:4460
<anonymous> https://www.youtube.com/yts/jsbin/player_ias-vflFxFa3y/en_US/base.js:4461
<anonymous> https://www.youtube.com/yts/jsbin/player_ias-vflFxFa3y/en_US/base.js:6766
I spent a good 20 minutes or so verifying that it wasn't my user.js or anything else interfering with the addon or causing breakage, as stated above I eventually made a clean profile and can reproduce the issue 100% of the time.