Author Topic: [SOLVED] User Agent  (Read 384 times)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10630
  • MLUs Forever!
[SOLVED] User Agent
« on: November 24, 2012, 10:40:04 AM »
There is a service on my ISP's site which is limited to Windows and Macintosh.

Is there a User Agent I can use - in ANY browser -  that will pretend it is Win or MAC?

Any I have tried in Firefox either give Linux as the OS or N/A .....  and as N/S is neither Win nor Mac I cannot get access to the service.

Any suggestions for browser and/or user agent choice?

Thanks.

« Last Edit: November 25, 2012, 10:15:08 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3791
Re: User Agent
« Reply #1 on: November 24, 2012, 10:54:49 AM »
There is an add-on for Firefox called "User Agent Switcher". I am pretty sure that Chrome and Opera have add-ons for this too.

Galen

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10630
  • MLUs Forever!
Re: User Agent
« Reply #2 on: November 24, 2012, 11:39:52 AM »
There is an add-on for Firefox called "User Agent Switcher". I am pretty sure that Chrome and Opera have add-ons for this too.

Galen


As I said above I use one ......  but is there one in particular you recommend that will spoof the OS as well as the browser?
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sir_herrbatka

  • Full Member
  • ***
  • Posts: 238
Re: User Agent
« Reply #3 on: November 24, 2012, 12:02:16 PM »
There should be no difference. Just make sure that you use correct user agent

http://www.useragentstring.com/pages/Internet Explorer/

examples

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3791
Re: User Agent
« Reply #4 on: November 24, 2012, 04:10:05 PM »
User agent switcher has several Windows agent choices, but the link sir_herrbatka provided will probably give you even more choices.

Galen

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10630
  • MLUs Forever!
Re: User Agent
« Reply #5 on: November 25, 2012, 10:06:20 AM »
OK, what am I missing please?

Any I have looked at ....  mostly Firefox .....  will change the browser ID to something other than Firefox, but the operating system ID remains as Linux.

What is needed to change the OS ID when selecting one of the user agent options?

DUH!

Found what I needed thanks to  sir_herrbatka's post.

Although I could not watch what I wanted in the browser I was able to extract the stream URI and am now watching in VLC  :D

« Last Edit: November 25, 2012, 10:14:51 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: User Agent
« Reply #6 on: November 25, 2012, 10:16:42 AM »
Firefox > Tools > Default user agent > Edit user agents > Click and expand Internet Explorer > Select IE8 > Edit.
What do you see?

I see this:
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10630
  • MLUs Forever!
Re: [SOLVED] User Agent
« Reply #7 on: November 25, 2012, 10:38:55 AM »
Sling-shot ......  it appears that I must have been doing something wrong ....  or expecting too much.

The video stream I was trying to access is blocked by my ISP for OSs other than Win & Mac .....  and none of the user agents worked .....  I continued to get blocked because of using Linux.

I used a Firefox & Windows user agent string and got a result today ..... not that the stream would display but I was able to copy the URL from the failed embedded Mediaplayer window and am watching the Brazilian Grand Prix now using VLC on PCLOS.

Next thing is to see if I can manage to get an embedded player to work with this .....  but I think it looks specifically for Windows Media Player.

Thanks.

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: [SOLVED] User Agent
« Reply #8 on: November 25, 2012, 10:43:26 AM »
You mean to say a user agent that looks like what I have shown above still is being identified as coming from a Linux machine? They must be using some other technology to determine the OS then.

Another thing to do could be try Windows build of Firefox in Wine?
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10630
  • MLUs Forever!
Re: [SOLVED] User Agent
« Reply #9 on: November 25, 2012, 11:23:33 AM »
You mean to say a user agent that looks like what I have shown above still is being identified as coming from a Linux machine? They must be using some other technology to determine the OS then.

Another thing to do could be try Windows build of Firefox in Wine?


As I said above .....  it came good when I used a user agent for Firefox .....  or at least good enough to show the Mplayer window even though it would not play ....  and from that Window I was able to copy the URL and VLC followed through it to the actual stream which it played.

Hence, as far as I am concerned, my problem is solved .....  and maybe if I had a VLC plugin for Firefox it would play embedded ......  don't know as yet ......

Either way, I get to watch the video stream, despite the blocks .......

This is what I was getting from most of the non-Linux user agents I tried ..... but all is good now  ;)

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT