Xah's Web Dev Blog

Tutorial on {HTML, CSS, JavaScript, …} + gossip on {Google, Internet, SEO, Spam, …}.

Want to master JavaScript in a week? Buy Xah JavaScript Tutorial.

randomize a html list

took me 3 hours to write a trivial 15 lines JavaScript code to randomize a list. See result here. Vocabulary: Words in Olympia Reader (view source to see the code)

i blame the besotted nature of the DOOM. NodeList, HTMLCollection, live vs not live, readable vs not readable, whitespace nodes, … truely hell.

but no, i did not subjugate myself to the lure of jQuery.

implemented Fisher-Yates shuffle. JavaScript: Random Range, Randomize Array

Google Chrome bug. html5 audio doesn't play midi https://code.google.com/p/chromium/issues/detail?id=418420

JavaScript: What's the Difference Between Function Declaration and Function Expression (major rewrite)

JavaScript Function Constructor (minor update)

twitter spam farm tweeting xah lee 2014-09-28
an army of twitter spam farm is tweeting my name, for reasons i do not know.

JavaScript Operators (major update. ECMAScript reference links added)

JavaScript: Bitwise Operators (on its own page)

Web Design (new index page)

Web Spam & Scam Collection (new index page)

How to Start Google Chrome in a New Instance?

JavaScript: What's Array-Like Object? (updated)

JavaScript: What's the Purpose of Boolean() Constructor/Object?

JavaScript Data Types (on its own page)

JavaScript: What's True or False? (on its own page)

JavaScript: Browser Info, Navigator Object

JavaScript: How to Detect Adobe Flash, QuickTime?

Douglas Crockford (JavaScript the Good Parts) said, the only good js book is David Flanagan's Definitive Guide. JavaScript & Ruby Books by David Flanagan, and the Man-made Complexity in Computer Language

Google Pushes Invalid HTML to the World still so.

Firefox now supports MP3 in HTML5 audio. Now, the MP3 & AAC are the formats supported in all major browsers. Test here: HTML5 Audio Tag Tutorial

massive number of Java applets were killed in the past few years due to global warming created by Apple.

HTML 5: no need for “type="text/css"” attribute in “style” element

when using the “style” tag in HTML page, you can omit the type="text/css" part. Just write <style>…</style>.

#twitter won't display a page unless you have cookies on #howthingsare

Just discovered. if you disable Flash, Facebook's video will cease to work. Good. How to Disable JavaScript, Flash, Java in Google Chrome, Firefox, Internet Explorer, Opera

disable Flash in Google Chrome. How to Disable JavaScript, Flash, Java in Google Chrome, Firefox, Internet Explorer, Opera

remember, today there are super cookies and undying cookis. Even if you have cookies turned off, there are a million ways to track you. The next step is to disable JavaScript. But also, Adobe Flash has similar power to JavaScript. You want to disable that.

also note, incognito mode only doesn'the log your browse history on your local machine, that's all. It doesn't prevent your internet service provider or company from knowing which sites you visit.

if you want true anonymous browsing, use tor browser. Download at https://www.torproject.org/projects/torbrowser.html.en

JavaScript x.y.z Associativity. Right or Left?

online movie sales trend 2013
online movie sales trend 2013. 〔image source http://online.wsj.com/news/articles/SB10001424052702304887104579306440621142958

Xah's Web Dev Blog Archive 2014-07

a long long time ago, when you visit some sites, it'll do popup windows. When you close it, it'll popup 2 more… JavaScript: Open URL 「window.open(…)」

The Unfortunate Fate of Music MIDI File (on its own page)

ancient technology: HTML: Auto Refresh, Auto Redirect

Google #Chrome today has the worst Unicode support. Math Font, Unicode, Gothic Letters, Double Struck, ℤ ℚ ℝ ℂ ℍ ℜ ℑ ⅇ ⅈ#comment-1573915239

JavaScript+DOM: What Does Live Object Mean?

HTML Table vs CSS layout myth

two golden articles:

The Tableless Table By Armin Wagnere. @ http://www.arminbwagner.com/text/the_tableless_table/

In defence of layout tables By Barry Pearson. @ http://www.barrypearson.co.uk/articles/layout_tables/defence.htm

CSS Layout & Layers (minor update)