Recommended Posts

I need to do some online test and its such a ****ty tests because it won't let you do the test unless you have a compatible operating system / browser. I have Windows 8 and tried Chrome, IE 10 and firefox and nothing works.

Anyone know how to trick a website into thinking you have Windows 7? I tried user agent string but that only fools it into thinking you have a different browser and also causes different problems...

SSSSOOO frustrating wth..

Just run whatever OS you need to test with in a VM, that is prob your best option for testing with a "compatible" OS ;)

But the OS is included in the useragent string - so you should be able to change it to "trick" the website - does not mean what your testing will work if your not really on that OS, etc.

There are a few addons for firefox that let you easy change the useragent string.

Just run whatever OS you need to test with in a VM, that is prob your best option for testing with a "compatible" OS ;)

But the OS is included in the useragent string - so you should be able to change it to "trick" the website - does not mean what your testing will work if your not really on that OS, etc.

There are a few addons for firefox that let you easy change the useragent string.

None of the add-ons let appear to let me change the OS, only the browser. Which add-on you referring to?

Yeah, its so annoying, its just some online test for a job and they are making it incredibly difficult to even start the test...

EDIT: I've managed to get it working using the user agent string in chrome. How do I save the setting permanently though so I don't have to keep the developer window up?

Like BudMan said, it's probably a user agent string check. You should just be able to install an addon for Firefox or Chrome that will create a fake one for you that will tell the site you're running Windows 7 or IE9. I'm pretty sure you can set the user agent to whatever you like in Internet Explorer too by editing the registry. I don't know how up-to-date this article is (It talks about Firefox 2 and IE7), but it might help: http://whatsmyuseragent.com/SwitchingUserAgents.asp

When you've done the test, email the webmaster and tell them to use feature detection instead of browser sniffing. Every time a UA-string is parsed, god kills a kitten.

"UA-string is parsed, god kills a kitten."

dude if that was the case - there wouldn't be any kittens

post-14624-0-66894800-1352846544.jpg

This a simple report on different UA hitting web fiitering for 1 customer I support, and they are not even that big ;) for just today!!

I would have to lookup an exact addon - but you can see in this example from couple of lines in the report

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8)

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8)

That OS is included in the UA

"UA-string is parsed, god kills a kitten."

dude if that was the case - there wouldn't be any kittens

I didn't mean just storing it, I meant parsing it as a way of determining if a browser is capable of running a website. Websites that "forbid" certain browsers usually do it (in my brief experience) because of IE-specific features that were added later in other browsers, or vice-versa :p

Incidentally, poor browser sniffing practices are the whole reason that all web browsers start with "Mozilla" :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Just remember - Microsoft is a trillion dollar company. They didn't have to raise the price this high. They chose to.
    • PowerToys is getting a new window management utility by Taras Buria If you use PowerToys on Windows 11 or 10, you probably know that the app has quite a few utilities for window management. Fancy Zones, Always on Top, Crop and Lock, just to name a few. Soon, Microsoft will add another one, and fans of Alt + Tab should be excited. Proposed by Clint Rutkas, the module has a very simple idea: use a keyboard shortcut to toggle between windows within one app. For example, if you have four browser windows open, Alt + ` will let you switch between them just like Alt + Tab switches between all running apps. Here is the utility description from its GitHub pull request: Like other PowerToys utilities, Alt Window Cycle will offer shortcut customization. You will be able to use default shortcuts (Alt + ` for the next window or Alt + Shift + ` for the previous one) or remap them to something else. For now, there is no information on when Alt Window Cycle will arrive, so we will have to wait for the next PowerToys feature update (Microsoft usually pushes them on a monthly basis). Recently, Microsoft released version 0.100, which reworked the shortcuts guide, introduced an extension gallery for Command Palette, and more. Shortly after, version 0.100.1 arrived as a bug-fixing update. PowerToys is available on Windows 10 and 11, and you can get the app from the official GitHub repository, the Microsoft Store, or winget. Although Windows 10 is no longer supported, PowerToys developers currently do not plan to drop the now-unsupported operating system. And with Microsoft giving Windows 10 one more year in the Extended Security Update, you can expect PowerToys to remain available on Windows 10 for quite a while.
  • Recent Achievements

    • First Post
      kinowa earned a badge
      First Post
    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      412
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      132
    4. 4
      Xenon
      73
    5. 5
      Michael Scrip
      73
  • Tell a friend

    Love Neowin? Tell a friend!