Features Podcasts Family Video Comics Music Tech Science Books Film & TV Games ✚

Jill

HOWTO break Google Print DRM

Cory Doctorow at 6:30 am Fri, Oct 8, 2004

— FEATURED —

Book Review

The Man Who Laughs: grotesque Victor Hugo potboiler was the basis for The Joker

Feature

Eurovision 2013: An American in London

Book Review

The Twelve-Fingered Boy - mesmerizing YA horror novel

— FOLLOW US —

Boing Boing is on Twitter and Facebook. Subscribe to our RSS feed or daily email.

 

— POLICIES —

Except where indicated, Boing Boing is licensed under a Creative Commons License permitting non-commercial sharing with attribution

 

— FONTS —

Tweet
Kindle
Seth has been exploring the DRM used by Google to disable your browser's key functions while you're browsing the new Google Print service -- while you're at those pages, your print, cut, copy, and save functions are disabled, even in Mozilla and even with Javascript switched off.

Seth's notes suggest some avenues toward breaking this DRM (beyond screenshotting, of course, which still works just fine!). This is a good avenue of research, possibly even worthy of a Mozilla variant optimized to circumvent the Google DRM.

If you wanted to write a proxy that would make Google Print pages capable of being saved to disk, you would presumably want to match

background-image:url("http://print.google.com/\([^"]+\)")

(although you'd need to be careful to match only the one in the definition of ".theimg", because it looks like there may at least one other background-image:url) and then replace

<div class="theimg"

with

<div class="x"

and somewhere nearby (I'm not sure how many tags up you'd need to go) insert a plain old

<img src="http://print.google.com/$1">

I haven't tried this because it felt like too much work relative to the previous two methods.

Contrary to what I expected, Google Print does not seem to check referer, so it seems to be possible merely to extract the URL from the definition of .theimg, and then to load it directly. Perhaps that will change in the future.

Link

I write books. My latest is a YA science fiction novel called Homeland (it's the sequel to Little Brother). More books: Rapture of the Nerds (a novel, with Charlie Stross); With a Little Help (short stories); and The Great Big Beautiful Tomorrow (novella and nonfic). I speak all over the place and I tweet and tumble, too.

More at Boing Boing

Eurovision 2013: An American in London

The technology that links taxonomy and Star Trek

Comments are closed.