Talk:GM.xmlHttpRequest: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
Line 19: Line 19:


: Sounds good, just needed a 2nd opinion before changing it's meaning again... It originally said <code>"User-Agent":"monkeyagent"</code> from LouCypher.  As people usually follow by example, most people were spoofing the user agent with GM specific agent and sites were beginning to block requests when the agent was set to that... would rather not have a repeat of that. [[User:Marti|Marti]] 23:02, 15 September 2009 (EDT)
: Sounds good, just needed a 2nd opinion before changing it's meaning again... It originally said <code>"User-Agent":"monkeyagent"</code> from LouCypher.  As people usually follow by example, most people were spoofing the user agent with GM specific agent and sites were beginning to block requests when the agent was set to that... would rather not have a repeat of that. [[User:Marti|Marti]] 23:02, 15 September 2009 (EDT)
== Абсолютно новенький Asus за 453 рубля ==
Абсолютно новенький Asus за 453 рубля. LG телефоны по 277 рублей. <a href=most-profit.ru>most-profit.ru</a>

Revision as of 07:31, 1 September 2011

Altering User Agent Script: Read Only if you care about private browsing

I think most people want straightforward instructions how to alter the useragent and "referrer" and every other unneeded bullcrap their browser sends to websites, but it's not explained here and really should be.

Usarajent 18:10, 13 February 2011 (UTC)

Core Example Proposal from Aavindraa

Reference: Core Example
Aavindraa has proposed a change in a comment field to modify the existing reference from:
"User-Agent": "Mozilla/5.0", // Recommend using navigator.userAgent when possible
to
"User-Agent": "Mozilla/5.0", // If not specified, navigator.userAgent is automatically used.

Discuss pros and cons here:

Obliterating the meaning is a concern... I do agree that some sort of merge should be incorporated with this as the normal default behaviour, if this atom is omitted, of the browser typically chooses it for the ScriptWright. I do want to make sure that the meaning behind it currently isn't removed. The original contributor didn't clearly note why one would want to do this in the first place (e.g. Override the default user agent for either browser anonymity or spoofing another browser type). I would prefer to make this ultra clear along with Aavindraa's change. Comments and suggestions on merging and meaning are appreciated. Marti 00:20, 15 September 2009 (EDT)

I am very unsure where the "recommendation" currently there came from. I think the "If not specified..." statement is significantly more clear, and actually represents reality. Arantius 21:54, 15 September 2009 (EDT)

Sounds good, just needed a 2nd opinion before changing it's meaning again... It originally said "User-Agent":"monkeyagent" from LouCypher. As people usually follow by example, most people were spoofing the user agent with GM specific agent and sites were beginning to block requests when the agent was set to that... would rather not have a repeat of that. Marti 23:02, 15 September 2009 (EDT)

Абсолютно новенький Asus за 453 рубля

Абсолютно новенький Asus за 453 рубля. LG телефоны по 277 рублей. <a href=most-profit.ru>most-profit.ru</a>