[mdlug] User agent partial success
Drew
drew4096 at gmail.com
Wed Dec 20 16:53:43 EST 2006
I dug out the .ipk for Opera 7.55, extracted it, then went into
the executable binary with hexedit, and looked for every instance of
"Mozilla" and overwrote the "Opera" following each one with spaces.
I also managed to change "Qt embedded" to "Windows 98 ".
Then I tarred it back up, put it on the camera's CF card, and
untarred it into the Zaurus. I now have the user agent string saying
"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98 Linux armv41; 240x320
[en]".
Still can't get rid of the "Linux" and "armv41" in spite of having
spaced out the only "Linux" in the binary, and there being no "armv41"
in it in the first place. Maybe gmail and the other site I'm interested
in will buy it anyway; I'll know on the next Panera visit. If not,
I'll try spacing out the %s characters next.
It seems that the Opera writers have gone out of their way to
make it difficult for the user to specify the user agent string as he
likes. But at least I've gotten rid of the telltale "Opera" string.
----
- Drew.
More information about the mdlug
mailing list