edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [edbrowse-dev] agentsite
@ 2019-09-17 13:49 Karl Dahlke
  0 siblings, 0 replies; only message in thread
From: Karl Dahlke @ 2019-09-17 13:49 UTC (permalink / raw)
  To: edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

Experimental, but it seems to work.
This is a directive in .ebrc
Here is some text from the users guide.

agent = Lynx/2.8.4rel.1 libwww-FM/2.14
agent = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

You can specify different agents in your .ebrc file,
and activate them with the `ua' (user agent) command.
If the previous lines are in your .ebrc file,
you can type ua1 to pretend to bee lynx, or ua2 to pretend to be Mozilla.
Type ua0 to resurrect the standard edbrowse identification.

agentsite = google.com 2

Pretend to be user agent 2, that is, Internet Explorer version 7,
when talking to google.com or any of its subdomains.
I chose this example because it became necessary as of 05/25/2019.
google.com will not present the h3 headings on the search results unless you
look like Internet Explorer. I don't know why,
I'm just trying to go with the flow.
Other sites are also particular about the type of browser,
and none of them are looking for edbrowse.

Karl Dahlke

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-17 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17 13:49 [edbrowse-dev] agentsite Karl Dahlke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).