We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

website layout breaks if ask toolbar is installed over FF 3.6.8

  • 3 답장
  • 25 이 문제를 만남
  • 11 보기
  • 최종 답변자: cor-el

more options

Website layout breaks when browsing from FF 3.6.8 with ASK toolbar installed. user agent string looks like: "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 AskTbASK/3.8.0.12304 Firefox/3.6.8 (.NET CLR 3.5.30729)"

I am certain that this not due to any custom javascript written on our website to identify the browser version. What other things could result in such behavior?

Website layout breaks when browsing from FF 3.6.8 with ASK toolbar installed. user agent string looks like: "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 AskTbASK/3.8.0.12304 Firefox/3.6.8 (.NET CLR 3.5.30729)" I am certain that this not due to any custom javascript written on our website to identify the browser version. What other things could result in such behavior?

선택된 해결법

I see that you are using a MS server?

Did you check that server for server side (ASP) scripts that might be causing that problem?

It seems to be working better if the AskTbASK/3.8.0.12304 part is positioned after the Firefox part.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8  AskTbASK/3.8.0.12304  (.NET CLR 3.5.30729)


That would suggest a too sensitive check for the "Gecko/20100722 Firefox/3.6.8" part of the user agent.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (3)

more options

선택된 해결법

I see that you are using a MS server?

Did you check that server for server side (ASP) scripts that might be causing that problem?

It seems to be working better if the AskTbASK/3.8.0.12304 part is positioned after the Firefox part.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8  AskTbASK/3.8.0.12304  (.NET CLR 3.5.30729)


That would suggest a too sensitive check for the "Gecko/20100722 Firefox/3.6.8" part of the user agent.

more options

ASP.NET has a Request.Browser Property which when given the above user-agent string with ASK tb keys gets confused and says its Mozilla 1.0. (in case normal case, it would call it Firefox 3.0). Due to this a related browser specific css file was not linked.

Note: the issue occurs only with .NET 2.0 (till 3.5, becoz 2.0 is the base framework). They use .browsers file in Framework\[versionNumber]\Config\Browsers folder to identify a browser. This mechanism is enhanced in .NET 4.0 and so the issue does not exist in 4.0.

Thanks for a timely reply.

more options

You're welcome.

Identifying a browser via the user agent is very tricky.
You may need to test it as well with coming Firefox 4.0 user agents that are simplified by removing a lot of privacy sensitive information:

Mozilla/5.0 (Windows NT 5.1; rv:2.0b6pre) Gecko/20100909 Firefox/4.0b6pre
Mozilla/5.0 (X11; Linux i686; rv:2.0b6pre) Gecko/20100909 Firefox/4.0b6pre