Commit 0a04d8f2 authored by mjs's avatar mjs

Reviewed by John.

	- fixed 3123041 - VIP: Spewage at bottom of oregonlive.com and other similar pages

        * WebView.subproj/WebUserAgentSpoofTable.gperf: Added nj.com to spoof list
	below oregonlive.com (which was already in there). Added comment explaining the
	need to spoof a bit more.
        * WebView.subproj/WebUserAgentSpoofTable.c:
        (hash):
        (_web_findSpoofTableEntry): Regenerated.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f34db7c8
2003-01-18 Maciej Stachowiak <mjs@apple.com>
Reviewed by John.
- fixed 3123041 - VIP: Spewage at bottom of oregonlive.com and other similar pages
* WebView.subproj/WebUserAgentSpoofTable.gperf: Added nj.com to spoof list
below oregonlive.com (which was already in there). Added comment explaining the
need to spoof a bit more.
* WebView.subproj/WebUserAgentSpoofTable.c:
(hash):
(_web_findSpoofTableEntry): Regenerated.
2003-01-17 Chris Blumenberg <cblu@apple.com>
Fixed: 3143656 - crash in MIMETypeForFile when a large QT movie is dragged over window
......
......@@ -25,7 +25,7 @@ hash (register const char *str, register unsigned int len)
27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 27, 27, 27, 0, 0, 0,
0, 0, 10, 0, 0, 0, 5, 27, 0, 0,
0, 0, 10, 0, 0, 0, 14, 27, 0, 0,
0, 0, 0, 27, 0, 0, 0, 0, 5, 0,
27, 5, 27, 27, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
......@@ -96,8 +96,8 @@ _web_findSpoofTableEntry (register const char *str, register unsigned int len)
{
enum
{
TOTAL_KEYWORDS = 13,
MIN_WORD_LENGTH = 9,
TOTAL_KEYWORDS = 14,
MIN_WORD_LENGTH = 6,
MAX_WORD_LENGTH = 18,
MIN_HASH_VALUE = 9,
MAX_HASH_VALUE = 26
......@@ -113,16 +113,17 @@ _web_findSpoofTableEntry (register const char *str, register unsigned int len)
{"",0},
{"hondacars.com", MacIE},
{"abcnews.go.com", WinIE},
{"jaguar.com", MacIE},
{"",0},
{"olympic.org", MacIE},
{"",0},
{"hondaredriders.com", MacIE},
{"oregonlive.com", MacIE},
{"",0},
{"nj.com", MacIE},
{"freebsd.org", MacIE},
{"firstusa.com", MacIE},
{"microsoft.com", MacIE},
{"",0}, {"",0},
{"jaguar.com", MacIE},
{"",0},
{"bang-olufsen.com", MacIE}
};
......
......@@ -27,7 +27,9 @@ battle.net, MacIE
freebsd.org, MacIE
#
# pretend to be Mac IE to work around bug and avoid "spewage" at the bottom of some pages
# the problems is that if the site thinks we are netscape, it tries to use layers
oregonlive.com, MacIE
nj.com, MacIE
#
# pretend to be Win IE to get the smaller font sizes the site gives for Windows
abcnews.go.com, WinIE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment