Read Firefox Preferences Names (about:config)
-
- Posts: 9
- Joined: April 10th, 2017, 6:32 am
Read Firefox Preferences Names (about:config)
Hi,
I am searching how to read FireFox about:config Preference Names. My web page should be able to check print.always_print_silent = true in about:config. Because I don't want to prompt print dialog. This is to block user for printing multiple documents.
Thank You,
Supun Silva
I am searching how to read FireFox about:config Preference Names. My web page should be able to check print.always_print_silent = true in about:config. Because I don't want to prompt print dialog. This is to block user for printing multiple documents.
Thank You,
Supun Silva
- LIMPET235
- Moderator
- Posts: 39956
- Joined: October 19th, 2007, 1:53 am
- Location: The South Coast of N.S.W. Oz.
Re: Read Firefox Preferences Names (about:config)
Moving to Firefox Support...
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.
(Always choose the "Custom" Install.)
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.
(Always choose the "Custom" Install.)
- dfoulkes
- Posts: 22525
- Joined: June 28th, 2008, 10:31 pm
- Location: Mesquite, Nevada
Re: Read Firefox Preferences Names (about:config)
Not real sure how updated this is... I would think that it is current... helped me in the past...
About:config entries - MozillaZine Knowledge Base
About:config entries - MozillaZine Knowledge Base
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
- Reflective
- Posts: 2283
- Joined: February 15th, 2007, 11:13 am
Re: Read Firefox Preferences Names (about:config)
That setting you mentioned doesn't exist in about:config.supun151515 wrote:Hi,
I am searching how to read FireFox about:config Preference Names. My web page should be able to check print.always_print_silent = true in about:config. Because I don't want to prompt print dialog. This is to block user for printing multiple documents.
Thank You,
Supun Silva
- Grumpus
- Posts: 13246
- Joined: October 19th, 2007, 4:23 am
- Location: ... Da' Swamp
Re: Read Firefox Preferences Names (about:config)
You can add the item to about:config on your own system as boolean or string.
Whether it works or not is another matter.
READ ALL FIRST
Open about:config, click on the "I accept the risk" button.
Right click anywhere in the list and then move mouse to "New" and select boolean.
Type print.always_print_silent in the text area supplied and hit enter.
You should be OK from there just select true or false.
You might want to select string instead of boolean so you can blank it out should it cause any issues.
Whether it works or not is another matter.
READ ALL FIRST
Open about:config, click on the "I accept the risk" button.
Right click anywhere in the list and then move mouse to "New" and select boolean.
Type print.always_print_silent in the text area supplied and hit enter.
You should be OK from there just select true or false.
You might want to select string instead of boolean so you can blank it out should it cause any issues.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
- the-edmeister
- Posts: 32249
- Joined: February 25th, 2003, 12:51 am
- Location: Chicago, IL, USA
Re: Read Firefox Preferences Names (about:config)
AFAIK, that preference is long gone from Firefox - possibly as far back as Firefox 3.0.
I did use that preference briefly and I recall being disappointed when it was deprecated.
.
I did use that preference briefly and I recall being disappointed when it was deprecated.
.
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.
-
- Posts: 9
- Joined: April 10th, 2017, 6:32 am
Re: Read Firefox Preferences Names (about:config)
always_print_silent is still working. We have to add it first.
I want to know, how can I get that value (true/false) with javascript or jquery from my web app?
Because before I send print command, I want to confirm, this value is true. otherwise, users will get the print dialog box. Then a user can select any number of copies to print. In this web app, it is allowed to print one copy only.
Hope you guys understand my point.
Thank you,
Supun Silva
I want to know, how can I get that value (true/false) with javascript or jquery from my web app?
Because before I send print command, I want to confirm, this value is true. otherwise, users will get the print dialog box. Then a user can select any number of copies to print. In this web app, it is allowed to print one copy only.
Hope you guys understand my point.
Thank you,
Supun Silva
-
- Posts: 778
- Joined: December 30th, 2009, 11:25 pm
Re: Read Firefox Preferences Names (about:config)
That would be one mean security flop if web pages could access the contents of Firefox's "about:config" page . . .
The attempt to control other peoples' printers is also absurd . . .
The attempt to control other peoples' printers is also absurd . . .
-
- Posts: 9
- Joined: April 10th, 2017, 6:32 am
Re: Read Firefox Preferences Names (about:config)
Kindly give me a solution for this
-
- Posts: 778
- Joined: December 30th, 2009, 11:25 pm
Re: Read Firefox Preferences Names (about:config)
Send me some money first. Lots of money.supun151515 wrote:Kindly give me a solution for this
-
- Posts: 9
- Joined: April 10th, 2017, 6:32 am
- Grumpus
- Posts: 13246
- Joined: October 19th, 2007, 4:23 am
- Location: ... Da' Swamp
Re: Read Firefox Preferences Names (about:config)
If my memory serves there are other methods inside JavaScript and html which can control whether a visitor has print privileges at a site.
What you want, to access a users preferences, has negative ramifications and highly improper.
What you want, to access a users preferences, has negative ramifications and highly improper.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
-
- Posts: 9
- Joined: April 10th, 2017, 6:32 am
Re: Read Firefox Preferences Names (about:config)
Grumpus,
I just want user to limit prints of a page. User should only print one copy. I am using PHP/Jquery/Apache/MySQL for development.
Hope you have a solution for this.
Thank You,
Supun Silva
I just want user to limit prints of a page. User should only print one copy. I am using PHP/Jquery/Apache/MySQL for development.
Hope you have a solution for this.
Thank You,
Supun Silva
- Grumpus
- Posts: 13246
- Joined: October 19th, 2007, 4:23 am
- Location: ... Da' Swamp
Re: Read Firefox Preferences Names (about:config)
Limitation would require managing the user's printer controls directly to reduce copies or closing the users ability to access the printed material.
No, I do not have a solution nor would I provide one if known, it's unethical, intrusive and a security breach.
No, I do not have a solution nor would I provide one if known, it's unethical, intrusive and a security breach.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
-
- Posts: 9
- Joined: April 10th, 2017, 6:32 am
Re: Read Firefox Preferences Names (about:config)
If you do not have any solution for this. I have a previous option. I just want to read a about:config variable with jQuery.