The Secret JavaScript Console and Debugger in the Default Android Browser

The official Android browser is a mess. It doesn’t even have a name. It’s no wonder that Google plans to replace it with Chrome.

There’s a lot of  browser UI that looks gorgeous in Safari Mobile for iOS. But when try to see it through an Android browser, it often doesn’t even work. The problem is frequently a JavaScript issue, but there’s no documentation indicating how to determine if this is the case. You might be throwing a JS error on line 1 and you’d never know it.

Well, there’s a debugger built in to the default Android browser. In order to access it, you need to put a special instruction in the address bar, “about:debug” (you’ll receive no indication that anything happened).

Once you do this, you should notice two differences: 1) pressing the “Menu” button reveals a few new options at the end of the menu list 2) the settings panel has a bevy of new options available, a section called “Debug.”

We’re looking for one of the items in the new “Debug” section of the default Android browser’s settings: “JavaScript Console.”

The JavaScript console will show you if your JS is erring out, where it’s doing so, and also allow you to write a little debug code.

AMC Theatres to MPAA: “Fuck off”

Suck it, Valenti.

Dead Culture

“This isn’t just about business. This is about overthrowing dead culture.”

– Steve Jobs, from The Pirates of Silicon Valley

As the concept of intellectual property fades into obscurity, the people of planet earth have reached a major milestone. I don’t think this has ever happened since the creation of that McCarthyistic dinosaur we call the MPAA. A national movie chain has rejected the MPAA’s restricted rating of Bully and gone their own route. It seems AMC feels pretty strongly about the nature and cultural significance of this film. Consequently, they’re skipping the simpleton rating system and going it on their own.

And that’s our play of the day.

Usually, when a film is released without a rating by the MPAA, it’s because it contains so much mature content — usually sexual in nature — that it was going to get an NC-17. In turn, major theater chains have traditionally treated unrated films as if they have an NC-17 rating, and won’t screen the film for any audience.

via Bully: AMC Theaters to screen for minors, with permission | Inside Movies | EW.com.