View Full Version : Changing Firefox values in about:config via Javascript
DivineOmega
November 20th, 2007, 06:36 AM
Is there any way of changing the values in about:config (specifically print.print_printer) using Javascript, or via any other method when a page loads?
Basically, I need a way of telling Firefox to print a document to specific printer (in this case a label printer). If there is a better way of doing this, I'm open to all suggestions?
Thanks. :)
CptPicard
November 20th, 2007, 07:11 AM
I'm pretty much absolutely certain the answer is "no" as that would be a huge security hole...
DivineOmega
November 20th, 2007, 07:17 AM
I'm pretty much absolutely certain the answer is "no" as that would be a huge security hole...
That's what I expected. Is there any chance this could be done via an Firefox add on/extension?
smartbei
November 20th, 2007, 08:07 AM
You can use a local javascript file which is called, I believe user.js in the profile folder to control firefox for that particular profile. You might be able to use it to print a certain page when it is opened in the browser. Since this file is local and must be installed by the user it is not a security risk :).
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.