Miscellaneous > Technical Support

Elinks user agent

(1/4) > >>

GenuineAdvantage:
How do you change the user agent in elinks? Is there a simple way to edit a config file, or does it have to be compiled that way. In either case, how?

piratePenguin:

--- Quote from: GenuineAdvantage ---How do you change the user agent in elinks? Is there a simple way to edit a config file, or does it have to be compiled that way. In either case, how?
--- End quote ---
for mozilla-based browsers:
http://prefbar.mozdev.org/ that extension can do it.. but it's one fecking ugly toolbar, and you can't remove it like you can the web-dev toolbar etc.

maybe there's a better extension..
EDIT: https://addons.mozilla.org/firefox/59/

GenuineAdvantage:
Not for Firefox, for the Elinks browser on linux, since some people seem to know a bit about linux. pardon me, I sometimes forget to not be vague!

piratePenguin:

--- Quote from: GenuineAdvantage ---Not for Firefox, for the Elinks browser on linux, since some people seem to know a bit about linux. pardon me, I sometimes forget to not be vague!
--- End quote ---
Oh, heh, that was absolutely not your fault. I was not on this planet when I read your post, I accidentally posted my reply in another thread, quoting another person, and only realized afterwards :/

Anyhow:
--- Code: ---declan@declan-desktop:~$ grep -i agent /etc/elinks/elinks.conf
    ## protocol.http.user_agent
    #  Change the User Agent ID. That means identification string, which
    #  a standard for new textmode user agents, so that the webmasters can
    #  Use " " if you don't want any User-Agent header to be sent at all.
    set protocol.http.user_agent = "ELinks/0.10.6-1ubuntu3-debian (textmode; %s; %t-%b)"
--- End code ---
;)

GenuineAdvantage:
It's not working for me:(

Navigation

[0] Message Index

[#] Next page

Go to full version