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

edbrowse-dev - development list for edbrowse

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/edbrowse-dev

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 edbrowse-dev edbrowse-dev/ http://inbox.vuxu.org/edbrowse-dev \
		edbrowse-dev@edbrowse.org
	public-inbox-index edbrowse-dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.edbrowse.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git