[whatwg] [html5] onbeforeprint/onafterprint (was window.print() undefined)

James Graham jg307 at cam.ac.uk
Wed Jul 20 09:42:39 PDT 2005


Matthew Raymond wrote:

>>>3) It can be easily disabled with a modified open source browser or
>>>browser extension.
>>>      
>>>
>>So?
>>    
>>
>
>   So it's useless for keeping people from printing stuff without paying
>if the people in question really want to print something. Also, you
>could probably also use copying and pasting to a word processor to do a
>complete end run around these events.
>  
>
Just to muddy the waters a bit - it is quite likely that Gecko 1.9 will 
allow pages to be 'exported' to a variety of formats (in a manner 
analogous to http://gecko.dynalivery.com/ ). Clearly I have no idea what 
the UI for this functionality will be but lets pretend that it's not 
through the standard print dialog (this isn't strictly important). 
Should any function that transforms html -> non-html fire hypothetical 
onprint events?

-- 
"It seems to be a constant throughout history: In every period, people believed things that were just ridiculous, and believed them so strongly that you would have gotten in terrible trouble for saying otherwise."

-- http://www.paulgraham.com/say.html




More information about the whatwg mailing list