How to fool Microsoft's JavaScript detection?
Posted: Tue Nov 28, 2006 2:53 am
When you go to http://office.microsoft.com with JS disabled, you will get an error message saying something like:
---
"To help optimize how your Web pages are displayed, we are checking to see if a Microsoft Office 2007 program is installed.
If this page does not automatically redirect, you have scripts disabled. See more information on scripts.
Follow this link if the page is not redirected."
---
Do you think there is a way to "fool" MS you have JS installed when you try to get the page contents though PHP - be it with simple file_get_contents() or cURL? What I want is to get into a string the http://office.microsoft.com page with the contents one can normally see with JS & cookies enabled browser. I tried Lynx but it does not have any reasonable JS support so that does not work either.
Yeah, strange question, I know
Tomas
---
"To help optimize how your Web pages are displayed, we are checking to see if a Microsoft Office 2007 program is installed.
If this page does not automatically redirect, you have scripts disabled. See more information on scripts.
Follow this link if the page is not redirected."
---
Do you think there is a way to "fool" MS you have JS installed when you try to get the page contents though PHP - be it with simple file_get_contents() or cURL? What I want is to get into a string the http://office.microsoft.com page with the contents one can normally see with JS & cookies enabled browser. I tried Lynx but it does not have any reasonable JS support so that does not work either.
Yeah, strange question, I know
Tomas