Talk:GM.xmlHttpRequest: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
m (change ok)
Line 11: Line 11:


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. [[User:Arantius|Arantius]] 21:54, 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. [[User:Arantius|Arantius]] 21:54, 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)

Revision as of 03:02, 16 September 2009

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)