Re: Netsurf and User Agent faking



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.
.



Relevant Pages

  • Re: Netsurf and User Agent faking
    ... NetSurf doesn't currently do this. ... the user agent string can only be changed at compile time. ... In some ways I would like not to use faking, ... could "do the right thing" here, by sending the relevant load message ...
    (comp.sys.acorn.apps)
  • Re: Netsurf and User Agent faking
    ... NetSurf doesn't currently do this. ... the user agent string can only be changed at compile time. ... In some ways I would like not to use faking, ... I think I better have a closer look at bookmaker at talk to the author. ...
    (comp.sys.acorn.apps)
  • Re: Netsurf and User Agent faking
    ... NetSurf doesn't currently do this. ... the user agent string can only be changed at compile ... In some ways I would like not to use faking, ...
    (comp.sys.acorn.apps)
  • Netsurf and User Agent faking
    ... Netsurf and User Agent faking ... I can see how you set Netsurf to fake the User Agent! ...
    (comp.sys.acorn.apps)
  • Re: TurboTax.com (Here we go again...)
    ... is a User Agent string on an XP system with FireFox 3.0.5. ... set the alternate useragent header without installing a plugin. ... We just installed the windows version of Firefox ...
    (Fedora)