[Project_owners] javascript print question

Pete Collins pete at mozdevgroup.com
Mon Aug 21 07:25:22 EDT 2006



Brian King wrote:

> Is it possible to intercept in the browser (from chrome) a print 
> command from Javascript, i.e.


  gBrowser.contentWindow.wrappedJSObject.print = function print () { 
Alert("blocked ..."); }

--pete

-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813



More information about the Project_owners mailing list