Or just go to http://wttr.in/
For other options see http://wttr.in/:help
That's the wrong Santa Rosa, in the wrong country. There's an interesting bug in there somewhere.
> Search weather for city
Note that even if you get the country right it won't be enough, because there is a "Springfield" in each of the 50 states. You'll have to get keep all of the location info you get from the IP lookup, not throw part of it away and attempt to recover it.
Turns out that when I'm in the US, I can't use my credit card to order takeaway food online, because they universally require zip code validation, and neither the postcode for my Swiss credit card (8047) or my UK credit card (IV548JS) (both codes modified to protect the guilty) pass the very simple minded zip code validation.
...and Ireland only had them at all since 2015.
So, you can't just enter any zip code in there. There would be clashes since zip codes aren't unique across countries.
Your assumption is that zip code == "U.S zip code" which is a fair assumption if the site only supports the U.S. Other comments on the thread shows the site does support locations outside of the U.S. It is therefore also a fair assumption that it _might_ support similar functionality outside the U.S., kuschku simply tested said assumption and stated that it was incorrect so that other readers were aware.
Short Country prefix (same as on international car ID plates), then a minus, then the ZIP code.
So, for Germany, D-24107 would be one such code.
Yet, it doesn't handle that either.
D'oh!
D'oh! (All these years.... How many other things do I "know" that aren't true...?)
https://www.wunderground.com/cgi-bin/findweather/getForecast...
Note you can click the controls at the top right of the graph and add/remove elements. The graph is a bit heavy, but that may be necessary to generate the visualization.
Same trick works for many sites, particularly old media (TV, newspapers, content spam etc).
https://www.weather.gov but mixed content
This is a slow down caused by browser rendering/parsing/JS execution. I'm not sure what the server operating system would have to do with it.
That AngularJS is a slow piece of ... is another part. I coded up a simple Twitter client using Cordova with Angular, scrapped and rebuilt it in jQuery with Cordova (was a test if one can actually build a backendless Twitter app). Such speed, many awesome.
I guess many of the "hipster" JS devs use the latest, max-spec macbook/iphone only and totally ignore the rest of ordinary PCs/average Android phone, or they wouldn't dare to touch Angular and friends even with a pole.
Source: operating a couple Drupal instances.