node http2 and safari - node.js

I am well into building an single page application using nodejs and the http2 module. The client end is using Polymer and is a progressive web app, with a fairly minimal index.html. I have been doing most of the development in chrome, and am reasonably happy, since this is an intranet application and I can dictate the brower.
I would like to support the ipad, albeit perhaps at lesser performance. I have to borrow my wife's if want to try anything, and I couldn't get it to work at all. I do have a mac laptop and tried accessing my (in development) site using safari on that (I also have chrome on it and that works fine). With Safari it doesn't get anywhere. In fact with the web inspector open it doesn't even appear to have loaded the basic index.html file.
I am assuming that safari doesn't support http2. I am not sure what I should do about it through. How do you gracefully fall back to something else?

Safari does support http/2. Test your site at https://www.ssllabs.com/ssltest/ and see if you've a cipher config that safari supports.

Related

How else can I review the responsiveness of a local hosted app without using dev tools?

I'm working on an app on my machine and run it on local host. Sometimes browsers dev tools are not accurate and once I am making the changes in my code and then run, it doesn't look like how it was in dev tools. I'm talking about some alignment, responsiveness, not about styling, colors etc.
When I am comparing my app in different browsers it doesn't look the same in all of them, so I'm no sure which one is actually the accurate view.
I have tried Edge, Opera, Mozilla, Chrome. My company is monitoring my pc, so I can't install random stuff on it.
Is there any other option to preview accurately my app? Any extension or some site?
Thanks in advance.
You can always use other browsers like Opera which has developer mode, as well as, Microsoft Edge and Safari that offer web development tools. As for the alternatives for Firefox, I believe it was already answered, check this: What are the alternatives to the Firefox Developer Tools?
Moreover, these might not directly solve your problem but if you are looking for plugins or apps, check these useful tools out: Plunker, Percy, Ghost Inspector, Requestly.

Serving audio files from Web Api Project in IIS7.5

I have an audio file I'm trying to serve from a directory within a ASP.NET MVC Web Api Project. For some reason the file refuses to play in Safari or mobile browsers. I can use every other browser to play this file.
What's driving me nuts is that if I just create a Virtual Directory and add the file there then navigate to it like /NewSite/song.m4a it will play fine in safari and mobile.
I thought maybe my web.config was screwing something up so I tried creating another Web Api project hosted in IIS and I still cannot play the audio file in Safari or mobile browsers in the new app.
I've done everything I can think of. I have the mime type added to my site. Other browsers like firefox and chrome play the file fine.
Has anyone seen this behavior? I'm going insane here.
I seriously wasted an entire day on this.
My IIS server is using a self signed cert. I was trying to load the audio file through https.
apparently every other browser is cool with this except Safari and mobile browsers.
I changed the src attribute to be http instead of https and safari started working as well as my iOS simulator.

Testing a website in safari without installing safari on your machine

I was thinking of a situation where in I might need to test my website in safari or netscape or any other browser.
But the catch here is that I don't have anything else except Chrome and IE and FF.
Is there any possible way that a website can be tested in a browser without actually having to install the browser.
I am using this:
http://browsershots.org/
This is good to have a preview with each browser

How can I simulate my site?

I have a website that doesn't work in IE8, due to a ton of issues.
Apparently, some people don't understand. There is no way my site will ever work natively in IE8.
MY GAME WILL NEVER WORK NATIVELY IN IE VERSION EIGHT.
As a workaround, I want to place a Java applet on it that simulates a browser. This way, people - 25.8% of people - can see my site in IE8 by viewing the site through the applet.
Basically, it would work something like the emulator at http://www.opera.com/developer/tools/mini/ - except not Opera Mini.
Thus: Are there any emulators that I can put on my site that emulate other browsers? They could be JS/HTML5, Java, Flash, whatever.
{Opera Mini doesn't work with my site - so unfortunately this otherwise perfect example from Opera doesn't work, but any of the current versions of the Big 5 (IE, Chrome, FF, Opera, Safari) would work with my site flawlessly.}

Browser addon development

Are there any good websites for instructing how to write browser addon for IE, firefox, chrome and Safari?
Not sure whether writing there is some frameworks which can be used to write addon for all major browsers such that one sourcecode for all major browsers.
Thanks.
IE and Firefox have very different plug-in models. IE supports binary helper objects (your native code running in IE's processes). Here’s how you can build one: http://blogs.msdn.com/b/ie/archive/2008/04/04/designing-for-add-on-performance.aspx,
here’s why you should spend as little of your users’ time as possible in your code: http://blogs.msdn.com/b/ie/archive/2011/03/23/updates-to-add-on-performance-advisor.aspx

Resources