list of javascript quirks
This post is to remind myself of mistakes I did or encountered with javascript.
Do not use window.location.origin
It is undefined in Firefox currently (ver. 14.0.1). Instead, use window.location.protocol + '//' + window.location.host
to be continued...
Comments