Jump to content

How to trick website that im using firefox not ie


Recommended Posts

I was trying these user agents but i always get errors so im asking for some help/advice.

$oIE = _IECreateEmbedded ()
$GUIActiveX = GUICtrlCreateObj($oIE, 160, 0, 467, 601)
$oIE.SetRequestHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.1)")
_IENavigate($oIE, "http://whatsmyuseragent.com/")

Hmmm it shows to this website but it wont trick other websites. Whats wrong? How to make it more powerfull?

Edit: Everything is ok. It works. Only website dont supports ie lol

Edited by Edgaras
Link to comment
Share on other sites

Ok, now I want to change ie to opera mini. I changed settings in regedit for opera. Before changing setting my user agent was mozzila (even i used ie embeded in gui) now when i changed settings i get this

Mozilla/4.0 (compatible; Opera/9.80 (J2ME/MIDP; Opera Mini/4.2.20464/28.1857; U; lt) Presto/2.8.119 Version/11.10; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; Media Center PC 4.0; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)

I need to show only that string.

Opera Mini/4.2.20464/28.1857; U; lt) Presto/2.8.119 Version/11.10

I managed to change it to

Opera/9.80 (J2ME/MIDP; Opera Mini/4.2.20464/28.1857; Presto/2.8.119 Version/11.10; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; Media Center PC 4.0; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)

But cant get rid of that Mozzila things. And why they are there when im using ie?

Edited by Edgaras
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...