Re: Netsurf and User Agent faking
- From: Rob Kendrick <nntp@xxxxxxxx>
- Date: Tue, 12 Feb 2008 11:11:32 GMT
On Tue, 12 Feb 2008 10:09:10 +0000, Chris Evans wrote:
In article <G_%rj.13997$xm6.490@xxxxxxxxxxxxxxxxxxxx>, Rob Kendrick
<URL:mailto:nntp@xxxxxxxx> wrote:
On Mon, 11 Feb 2008 17:45:10 +0000, Chris Evans wrote:
I've searched for agent, fake & faking in the manual and no finds,
I've also done a search of the newsgroup archives!
NetSurf doesn't currently do this. We've thought about it though.
At the moment, the user agent string can only be changed at compile
time.
In some ways I would like not to use faking, but pragmaticlly using
faking lets me into quite a few sites that reject me otherwise.
Not having faking does discourage me from using NetSurf as my default
browser:-( Any chance of moving it up the wishlist?
There are things we feel are more important to do at the moment, alas.
And we don't have much time. It's pretty simple to change NetSurf to
use a specific user agent string for all its requests if you have the
GCC tool chain and libraries installed.
What is the 'user agent' text NetSurf gives? As I don't know C I'm
wondering for test purposes if I could hack the binary!
If you do this, please don't expect any technical support from us when
things break! It uses a template string, which is:
"NetSurf/%d.%d (%s; %s)"
The first and second %d is replaced with the major and minor version
number. The first %s is replaced with the operating system name ("RISC
OS" in your case), and the second %s is the model of CPU. I doubt you'll
have enough room to express what you want, however.
Alternatively, the template is stored in netsurf/utils/useragent.c in the
source code.
B.
.
- Follow-Ups:
- Re: Netsurf and User Agent faking
- From: Chris Evans
- Re: Netsurf and User Agent faking
- References:
- Netsurf and User Agent faking
- From: Chris Evans
- Re: Netsurf and User Agent faking
- From: Rob Kendrick
- Re: Netsurf and User Agent faking
- From: Chris Evans
- Re: Netsurf and User Agent faking
- From: Rob Kendrick
- Re: Netsurf and User Agent faking
- From: Chris Evans
- Netsurf and User Agent faking
- Prev by Date: Re: PDF and RO 6.06
- Next by Date: Re: PhotoFiler is now freeware + source included
- Previous by thread: Re: Netsurf and User Agent faking
- Next by thread: Re: Netsurf and User Agent faking
- Index(es):
Relevant Pages
|