Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox window.controllers is deprecated. Do not use it for UA detection

My website works in Chrome, IE, and Safari, but when I load it in Firefox, Firefox complains saying "window.controllers is deprecated. Do not use it for UA detection." This code is in the OpenLayers API (OpenLayers 2, latest version), so I can't change it. Is there something I can put into my code so that it'll work in Firefox?

like image 995
user3148225 Avatar asked Dec 08 '14 22:12

user3148225


2 Answers

That's because of your medieval firefox extension you have installed. LiveHTTPHeaders in my case.

like image 140
alex91ivanov Avatar answered Nov 13 '22 13:11

alex91ivanov


You may just need to visit about:config and set the loglevel to all

Please refer to all options available in config here

like image 1
Logamurugan Pilavadi Santhanam Avatar answered Nov 13 '22 14:11

Logamurugan Pilavadi Santhanam