搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Per site user agent switching with phony?

  • 1 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 Kevin

more options

I've installed Firefox Mobile on my HP Touchpad running CyanogenMod 7.1.

What I would like is for Phony to forge a user agent based on a "whitelist".

For example, identify as an iPad for *.google.com but identify as a Mac running OSX Lion for all other sites.

Inversely I could identify as a Windows 7 machine for *.hulu.com, *.rdio.com, *.last.fm, *.amazon.com, etc.

This would allow tablet formatted sites of sites that I want to use the tablet interface while allowing desktop versions of sites that have crippled tablet version.

I've installed Firefox Mobile on my HP Touchpad running CyanogenMod 7.1. What I would like is for Phony to forge a user agent based on a "whitelist". For example, identify as an iPad for *.google.com but identify as a Mac running OSX Lion for all other sites. Inversely I could identify as a Windows 7 machine for *.hulu.com, *.rdio.com, *.last.fm, *.amazon.com, etc. This would allow tablet formatted sites of sites that I want to use the tablet interface while allowing desktop versions of sites that have crippled tablet version.

所有回覆 (1)

more options

I don't think the developer has plans for that feature. However the code for the extension lives at http://hg.mozilla.org/users/mbrubeck_mozilla.com/phony/