Nifty Snippets

Nifty SnippetsTM of code, techniques, and information focussing on Ajax, web scripting, and engineering.

Friday, 15 June 2018

Common `fetch` errors

›
The new fetch API is a great improvement on XMLHttpRequest but it does have a very surprising behavior that catches people out a lot. Sepa...
2 comments:
Wednesday, 16 September 2015

Automatic Semicolon Insertion

›
I've been recommending to people that they not rely on Automatic Semicolon Insertion for years now, and frankly wish that the strict var...
4 comments:
Tuesday, 29 July 2014

JavaScript's Date/Time Format Is Not ISO-8601

›
TL;DR JavaScript's date/time string format isn't ISO-8601. It's much simpler, covers fewer use cases, and assumes strings writ...
5 comments:
Sunday, 1 June 2014

VirtualBox -- USB not working

›
Just a snippet today, as much to remember it as anything else: If you're using VirtualBox on Linux and USB devices aren't working d...
1 comment:
Thursday, 29 May 2014

Chrome and Java

›
If you use Chrome and are unfortunate enough to still have to use Java applets from time-to-time, you may recently have been unpleasantly su...
5 comments:
Monday, 17 March 2014

Session tokens, cookies, and local storage

›
Link-post today, the Meteor blog has a very interesting post about why Meteor has so-far avoided session cookies in favor of localStorage ,...
2 comments:
Tuesday, 18 February 2014

Centering Made Easy

›
Almost a note-to-self today. :-) Now that IE6 and IE7 are dead unless you need to support users from the far East, centering content within ...
8 comments:
›
Home
View web version
Powered by Blogger.