How to load website from macOS as if using iOS for this particular website in safari?

I tried to watch live stream from cbsnews, however installation flash is required. I don't want to install flash, so I set Develop -> User Agent -> Safari iOS 10 as usual try to deceive the website that I'm using iPhone. However it didn't work. How does it recognize the device I'm using?

Is there any way to watch this live stream without using flash?


Solution 1:

I assume you have Google Chrome installed? Open the link in Google Chrome and click "enable flash." A "pop up blocked" message will appear at the right of the search box. Click on it and enable the website to use Shockwave Flash.

You do not need to have installed Adobe Flash using the Adobe Flash installer on your Mac for this to work.

Solution 2:

Open Safari Preferences, go to the 'Advanced' tab. At the bottom of that, enable the 'Develop' menu. This will add another menu to the Safari menus, called, you guessed it, 'Develop'. In newer versions of Safari, this menu contains an entry 'Enter Responsive Design Mode' which opens up any web page as if you are browsing from an Apple mobile device; User Agent, Screen size and all. That should get you what you are after.

Solution 3:

How does it recognize the device I'm using?

There are several ways for websites to determine which browser and kind of device you are using. Modifying your "User Agent" profile won't necessarily bypass them. See this related question from security.stackexchange. You can use the "What Is My User Agent" website to determine what you are sending out.

With Safari, try killing the process Safari Web Content (from Activity Monitor). Also, try clearing your cookie cache - including "supercookies".

The cbsnews live stream video plays on my iPhone 4S running iOS 9.3.5 so after clearing your cache and killing Safari Web Server, you could try a User Agent profile like:

Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_5 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13G36 Safari/601.1

...this User Agent profile was obtained from my iPhone using the "what's my user agent" website.

Also from this How-To site you could try these or similar "User Agent" profiles:

What is a User Agent Anyway?
When Safari visits a website, it will send a string of text such as this:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18

This tells the web server that this particular user is running Safari 8 on a Mac running OS X 10.10.2.

It will obviously be different per the operating system and web browser. > A computer running Windows 7 and Internet Explorer 10 would appear as such:

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)

but I think it is best to test a known, working user agent profile on your system.