Closed Bug 270534 Opened 20 years ago Closed 20 years ago

Should be an indicator of XUL support in ACCEPT header.

Categories

(Firefox :: General, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 88067

People

(Reporter: cfox, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041117 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041117 Firefox/1.0

I'm building a website that can respond with XUL pages or HTML pages, based on
whether the browser coming in has XUL support. There's no way for me to just
query the string, since XUL doesn't appear anywhere in the Mozilla ACCEPT header.

I can look for the string "Gecko", but that also appears in Safari (for some
reason they have "Like gecko"). So I have to explicitly filter out safari. This
is a clumsy hack. If I'm looking for XUL support, the ideal method would be to
simply ask if the browser has XUL support.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

*** This bug has been marked as a duplicate of 88067 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.