Best method to spoof user agent?


Recommended Posts

Certain websites try to be a bit too helpful in telling you whether the program you wish to download will work or not, and end up saying that you need to have Vista or 7 installed to download. I've tried going with a useragent spoofing extension in Opera, and the site saw through it, so is there a foolproof way to do it?

Link to comment
Share on other sites

Don't know about Opera, but it's fairly easy to do in Chrome.

Developer Tools (F12) -> Settings icon (bottom right) -> Override User Agent -> Other

Enter user agent for Windows 7; something like: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML like Gecko) Chrome/18.0.1025.162 Safari/535.19

I think it only works for current tab, but it should be useful for your purpose.

Link to comment
Share on other sites

If the user agent spoofing in opera doesn't work (same as the one in chrome pretty much, except it's a bit easier in opera) then the site in question is looking beyond the user agent, which happens, those sites are hard to fool. why they do it is a more interesting question.

Link to comment
Share on other sites

Can you post a link to such website? I am curious how they look for OS version.

Only way I can think of, apart from user agent via HTTP request and javascript, is to use Flash.

Link to comment
Share on other sites

It's easy to do it in Opera. I think it was introduced in Opera 12, so make sure you're up to date.

go to the url: opera:config#UserPrefs|CustomUser-Agent

And in the field for 'Custom User-Agent' add in a user agent that you want.

For Windows 7: Opera/9.80 (Windows NT 6.1; U; Edition Next; en) Presto/2.11.310 Version/12.50

Link to comment
Share on other sites

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

    • No registered users viewing this page.