diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 232fff22c0d0..8761aeb17401 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -1960,13 +1960,6 @@ var UserAgent = { if (tab == null) break; - if (channel.URI.host.indexOf("youtube") != -1) { - let ua = Cc["@mozilla.org/network/protocol;1?name=http"].getService(Ci.nsIHttpProtocolHandler).userAgent; -#expand let version = "__MOZ_APP_VERSION__"; - ua += " Fennec/" + version; - channel.setRequestHeader("User-Agent", ua, false); - } - // Send desktop UA if "Request Desktop Site" is enabled if (tab.desktopMode) channel.setRequestHeader("User-Agent", this.DESKTOP_UA, false);