Issues Locking Preferences

I am attempting to lock some user preferences in firefox 5.0.1 for windows XP. I have completed the following steps:
1. Created and converted "Mozilla.txt" to mozilla.cfg with proper ROT13 encoding as per http://kb.mozillazine.org/Locking_preferences.
2. Created local_setting.js with proper code as per http://kb.mozillazine.org/Locking_preferences
3. Moved both files in required directories as required per thead above.
4. Restart Firefox.
Upon restart, no setting where locked.
below is a copy of my mozilla.cfg file before converting it.
<pre><nowiki>//
lockPref("security.enable_ssl3", false);
lockPref("security.default_personal_cert", "Ask Every Time");
lockPref("network.protocol-handler.external.shell", false);
lockPref(“plugin.disable_full_page_plugin_for_types”, "PDF, FDF, XFDF, LSL, LSO, LSS, IQY, RQY, XLK, XLS, XLT, POT PPS, PPT, DOS, DOT, WKS, BAT, PS, EPS, WCH, WCM, WB1, WB3, RTF");
lockPref("browser.formfill.enable", false);
lockPref("signon.prefillForms", false);
lockPref("signon.rememberSignons", false);
lockPref("privacy.sanitize.sanitizeOnShutdown", false);
lockPref("privacy.sanitize.promptOnSanitize", true);
lockPref("dom.disable_window_open_feature.status"; true);
lockPref("dom.disable_window_move_resize", true);
lockPref("security.enable_ssl2", false);
lockPref("security.enable_tls", true);
lockPref("dom.disable_window_flip", true);
lockPref("dom.event.contextmenu.enabled", false);
lockPref("dom.disable_window_status_change", true);
lockPref("dom.disable_window_open_feature.status", true);
lockPref("security.warn_leaving_secure", true);</nowiki></pre>
Did I do something wrong? I thought I might have missed a step so I verified I did not and I am now sure I have completed all steps as required. Anyone know the trick here? I expected the setting to be greyed out. Am I expected the wrong result here?

I have done the following and still no luck:
1. Changed "lockPref" to "lockpref"
2. Change "false" to "False" and "true" to "True"
No Luck!
Other things I have noticed:
1. If i rename the original mozilla.txt to mozilla.cfg and edit the local_setting.js to not include the ("general.config.obscure_value", 0); the appication opens fines but no setting are locked.
2. To use the "coverted file" I need to have the "("general.config.obscure_value", 0);" within the "local_setting.js". Maybe I am reading the directions wrong but I feel like they are telling me to do the exact opposite.
Are text files created through notepad in windows created with ROT13 format?
I think there is an issue with my .cfg file. I copied and pasted it in my original post and I am now attaching it in a screen shot.
I have seem other ways to do this on the web but I do not want to edit the omni.jar file. I need a solution that will be easy to maintain.

Similar Messages

  • How to lock preferences per-profile (not for all profiles)?

    Hello. I managed to lock some preferences as I needed (plugin states as "ask-to-activate", as seen here: https://support.mozilla.org/en-US/questions/1031649), but I decided to create a new profile for my online banking only. I would like to set these same plugins to "always activate" in it, but their states are locked all over the application (even new profiles). How can I lock preferences individually a single profile only?

    Note that you may not have to lock the prefs, but that you can set a new default value to use when you haven't changed a pref from the default.
    These functions can be used in the mozilla.cfg file:
    defaultPref(); // set new default value
    pref(); // set pref, allow changes in current session
    lockPref(); // lock pref, disallow changes
    *http://mxr.mozilla.org/mozilla-release/source/extensions/pref/autoconfig/src/prefcalls.js
    You could probably use code like this to check the location of the current profile and only run the code to lock prefs with a specific profile (adjust the RegExp to match the profile name):
    <pre><nowiki>profD = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties).get("ProfD", Ci.nsIFile).path;
    if (/xxxxxxxx[.]default$/.test(profD)){
    lockPref("<pref name>", <value>);
    }</nowiki></pre>

  • Lock preference for all printers.

    How can i lock preferences for all printers in FF? In about:config there are individual settings for every connected printer. So I have to know the name/identifier of every printer to apply lockPref() in CFG file. But i need some common solution, without connection to printer ID's.

    Hi kshatra,
    Thank you for your question. At the moment the way to lock preferences can be read about in: [http://kb.mozillazine.org/Locking_preferences Mozillazine: Locking Preferences]
    I have not tried this before, but it may be useful to you:
    *[http://www.brighthub.com/internet/google/articles/107735.aspx]
    *[https://addons.mozilla.org/en-US/firefox/addon/r-kiosk/ R Kiosk Add on]

  • Locking preference settings

    Is there a way to lock preference settings. For example, I'd like to lock the Desktop and Screen Saver settings so users cannot change them. Is there a way to do this?
    Thanks

    Need a bit more information. Do the other users have separate accounts? Are they admin users or regular users? More information is needed.

  • Issue: Lock table is out of available object entries

    Hi all,
    We have a method to add records into BDB, and after there are more than 10000 records, if we continue add records into BDB, such as add 400 records into BDB, then do other update/add operation to BDB, it will be failed.
    The error message is Lock table is out of available object entries.
    How to resolve it?
    Thanks.
    Jane.

    Frist the BDB stat as bellow:
    1786 Last allocated locker ID
    0x7fffffff Current maximum unused locker ID
    9 Number of lock modes
    2000 Maximum number of locks possible
    2000 Maximum number of lockers possible
    2000 Maximum number of lock objects possible
    52 Number of current locks
    1959 Maximum number of locks at any one time
    126 Number of current lockers
    136 Maximum number of lockers at any one time
    26 Number of current lock objects
    1930 Maximum number of lock objects at any one time
    21M Total number of locks requested (21397151)
    21M Total number of locks released (21397099)
    0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
    0 Total number of locks not immediately available due to conflicts
    0 Number of deadlocks
    0 Lock timeout value
    0 Number of locks that have timed out
    0 Transaction timeout value
    0 Number of transactions that have timed out
    736KB The size of the lock region
    0 The number of region locks that required waiting (0%)
    Then I run the method to insert 29 records into BDB, the BDB isn't locked yet, and the stat:
    1794 Last allocated locker ID
    0x7fffffff Current maximum unused locker ID
    9 Number of lock modes
    2000 Maximum number of locks possible
    2000 Maximum number of lockers possible
    2000 Maximum number of lock objects possible
    52 Number of current locks
    1959 Maximum number of locks at any one time
    134 Number of current lockers
    136 Maximum number of lockers at any one time
    26 Number of current lock objects
    1930 Maximum number of lock objects at any one time
    22M Total number of locks requested (22734514)
    22M Total number of locks released (22734462)
    0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
    0 Total number of locks not immediately available due to conflicts
    0 Number of deadlocks
    0 Lock timeout value
    0 Number of locks that have timed out
    0 Transaction timeout value
    0 Number of transactions that have timed out
    736KB The size of the lock region
    0 The number of region locks that required waiting (0%)
    Then I run the method again to insert records, the issue "Lock table is out of available locks" occur, and the BDB stat:
    1795 Last allocated locker ID
    0x7fffffff Current maximum unused locker ID
    9 Number of lock modes
    2000 Maximum number of locks possible
    2000 Maximum number of lockers possible
    2000 Maximum number of lock objects possible
    52 Number of current locks
    2000 Maximum number of locks at any one time
    135 Number of current lockers
    137 Maximum number of lockers at any one time
    27 Number of current lock objects
    1975 Maximum number of lock objects at any one time
    26M Total number of locks requested (26504607)
    26M Total number of locks released (26504553)
    0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
    0 Total number of locks not immediately available due to conflicts
    0 Number of deadlocks
    0 Lock timeout value
    0 Number of locks that have timed out
    0 Transaction timeout value
    0 Number of transactions that have timed out
    736KB The size of the lock region
    0 The number of region locks that required waiting (0%)
    Why this issue occur and how to resolve this issue.
    Thanks very much.
    Jane

  • Lock Preferences option goes away after reboot

    After I lock changing Energy Saving preferences it gets unlocked again after I reboot and enter password on login screen! That's how Mac OS is secure?

    The problem is that sometimes Mac OS X doesn't turn off my display after idle time specified at System Preferences, so it shows me screensaver and keyboard blacklight all the time (only reboot helps). Moreover the lock can't be closed at the time of this issue (it gets unlocked instantly after i click lock).

  • Issues (Lock ups) with iTunes 10.6.3

    Hi everyone!
    I've recently updated my windows 64-bit version of iTunes to 10.6.3 and ever since I'm getting slow response times (ok, that actually occured in the preceding version, too) and lock ups by not doinig anything special other than flipping through my music and deleting or adding files. I'm not even talking about synchronization with other devices here, but simple managing tasks.
    Has anybody the same issues or ist it just me. Mr. Google could not help me out on this one
    I'm pretty dissappointed and haven't had any othe bad experience with Apple yet. But this is unbearable...

    You may be seeing something like what is described in this Apple article -> Apple software on Windows: May see performance issues and blank iTunes Store
    If it's what you're seeing, you can try resetting Winsock as a temporary fix or folllow along with the article.
    1. To do so, please do the following in an administrator user:
    Windows Vista and Windows 7: Right click All Programs and choose Accessories > Command Prompt. Choose to open as an administrator.
    Windows XP: Click Start > Run and type in cmd.
    2. Enter the following command: 
    netsh winsock reset
    3. Restart the computer and test the issue.
    Note:  If the issue returns, third-party software may be reinserting the LSP.

  • Issues locking firefox Settings

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/853068]]</blockquote>
    I am trying to "Lock" some preferences in Firefox 5.0.1 for a windows based system.
    I have completed the following steps as per the "http://kb.mozillazine.org/Locking_preferences."
    1. Created a "mozilla.txt" file with my settings I want to lock.<br />
    2. Converted the "mozilla.txt" to "mozilla.cfg" with the proper encoding i found in another thread.<br />
    3. Created the require "local_setting.js" file as require in mozilla thread above.<br />
    4. Places mozilla.cfg in folder with firefox.exe.<br />
    5. Placed local_setting.js in c:\PF\...\defaults\pref.<br />
    6. Restarted firefox.<br />
    No setting are greyed out and all settings are still changeable by users.<br />
    Below is a copy of my mozilla.cfg before i converted it.<br />
    ____________________________________________<br />
    //<br />
    lockPref("security.enable_ssl3", false);<br />
    lockPref("security.default_personal_cert", "Ask Every Time");<br />
    lockPref("network.protocol-handler.external.shell", false);<br />
    lockPref("browser.formfill.enable", false);<br />
    lockPref("signon.prefillForms", false);<br />
    lockPref("signon.rememberSignons", false); <br />
    lockPref("privacy.sanitize.sanitizeOnShutdown", false);<br />
    lockPref("privacy.sanitize.promptOnSanitize", true);<br />
    lockPref("dom.disable_window_open_feature.status"; true);<br />
    lockPref("dom.disable_window_move_resize", true);<br />
    lockPref("security.enable_ssl2", false);<br />
    lockPref("security.enable_tls", true);<br />
    lockPref("dom.disable_window_flip", true);<br />
    lockPref("dom.event.contextmenu.enabled", false);<br />
    lockPref("dom.disable_window_status_change", true);<br />
    lockPref("dom.disable_window_open_feature.status", true);<br />
    lockPref("security.warn_leaving_secure", true);<br />
    If anyone can see something i did wrong, please help me.
    Thank you for your time...

    This does not seem to apply to Firefox 6. I cant locate a place to configure all user settings like there was in the previous versions of Firefox. My Scenario is-
    Terminal Server on 2008 R2 and trying to configure all user settings that will apply to all users launching Firefox from the TS.
    All documentation and references I have found after an exhaustive search all reference FF 4 and before. Any thoughts?

  • Critical Issue - Locking Error - Stateless BC4J Application

    Hi,
    We are using "Stateless" mode in our BC4J project. Our View form done with Datawebbeans, Edit Form and Submit Edit Form done with Datatags. We are using Jdeveloper 3.2.
    In multi-user environment, we are noticing that if two users open the same record at the same time, for editing, it is allowing both the users to edit the same record. We expect the second user to get an error message something like "Row Has been Changed - Re-query to see the change". But its not the case.
    This is a very critical issue for us and any help from JDEV team is appreciated.
    Thank you in advance
    Virinchi
    null

    The following information from Jdeveloper 3.1 Help (User Guides - Developing Business Components - Understanding Transactions - About Application Modules and Transactions) might be useful:
    Client applications connect to databases and manage transactions by using the oracle.jbo.Transaction interface. Some useful methods of the Transaction interface with regard to Application Modules are:
    commit - Commit the transaction; saves all changes to the database. If the database connection is established, the transaction is implicitly started.
    connect - Attempt to establish a connection to the given database URL.
    disconnect - Disconnect the server from the database.
    **getLockingMode** - Get the preferred locking mode for this transaction. Currently the locking mode defaults to LOCK_PESSIMISTIC.
    rollback - Rollback the transaction; discard all changes.
    setLockingMode - Set the preferred locking mode for this transaction. Changing the locking mode affects only subsequent locks that are placed
    If you have an Application Module and DataSource defined with Data Tags like this:
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="dbproject3.Dbproject3Module.Dbproject3ModuleLocal"
    id="Dbproject3Module" username="db" password="project" />
    <jbo:DataSource id="ds" appid="Dbproject3Module" viewobject="BlChangesView" >
    </jbo:DataSource>
    Then you can access the Application Module, using Java Code like this:
    jsp:useBean class="oracle.jbo.html.databeans.RowsetNavigator" id="rsn" scope="page" >
    <%
    rsn.setReleaseApplicationResources(false);
    rsn.initialize(pageContext,"JSPFrame_dbproject3_Dbproject3Module.BlChangesView");
    oracle.jbo.Row row = rsn.getRowSet().last();
    oracle.jbo.domain.Number num = ((oracle.jbo.domain.Number)row.getAttribute("ChangeCode"));
    ccode = num.intValue();
    out.println("<h2>Change Code, by webbean is: " + ccode);
    %>
    </jsp:useBean>
    Use:
    ApplicationModule am =rsn.getRowSet().getApplicationModule()
    then get the transacton with
    am.getTransaction()
    Hope this helps.
    null

  • 2010 i5 17" MacBook Pro USB Port issue locks up iTunes when attaching iPhon

    Two things - 3 USB ports, but only the center one charges my iPhone. Is this a feature or a defect? Also itunes locks up when the iPhone is connected in the only port that charges.

    I had the exact same problem as Aaron Scott. I have a Core i5 15" MBP, and the 1st USB port wouldn't charge my phone, but the 2nd one did. Weird thing is my flash drive worked in the 1st one, but it was really slow compared to the 2nd one. I took my laptop to the apple store today, and one of the guys at the genius bar reset the PRAM and then the SMC (System Management Controller). Doing that fixed both my slow boot issue and fixed my USB port. You can try doing that. He did mention to try resetting the PRAM first, then resetting the SMC after that though. Here's the documentation on how to do it:
    PRAM: http://support.apple.com/kb/ht1379
    SMC: http://support.apple.com/kb/HT3964?viewlocale=en_US

  • Storm 2 Issues - Locks up and Calls echo

    My phone tends to lock up when trying to view messages, text, email or even applications. The other issue is that when I place  a call about 75% of the time it says connected when I call, but all I hear is my voice echoing back to me. 
    The phone is reset every night and it is updated to the latest OS.
    Anyone else having this issue?

    Android10 wrote:
    Try doing a soft reset on the device.  
     To do a soft rest,  power the device off, then remove and replace the battery. 
    Then could I get you to power the phone back on, then dial *228 send and option 1 on the device, then  afterwards dial *228 send and option 2.
     Next you would want to make sure that you are removing old information like emails and messages that you no longer need.  By removing  old messages and emails you would free up  memory on   the device to make it perform better.  
    A soft reset or .228 will probably not correct this.  Sounds like the original poster is using OS .713 on the Storm 2.  It has known problems with the "robotic voice problem" that Verizon is aware of.

  • Locking preferences

    i work for the school and kids get into things that are easy but annoying fixes. it may not seem like it but when you haveto do some fixes 7 or 8 times in a school year it gets annoying. i want to lock system preferences but i can't click the lock because i don't have enough privaleges. there is no way to change them either. it just shows them i can't edit them. i have 1 account on the computers and it is the administrator. i also need to lock the other folders the same way.

    Hi lucaskoch!
    In your User Profile, you state your Occupation: as 6th grade.
    Do you teach 6th grade?
    "... i have 1 account on the computers and it is the administrator..."
    Are you the Administrator?
    ali b

  • Issue with preference values defined in composite xml file

    We are on 11g PS2. I have defined dynamic preference value for Email List in my SOA composite and that is used by the bpel process in composite.
    <property name="preference.ErrorEmailTo">[email protected]</property>
    <property name="preference.AuditEmailTo">[email protected],[email protected]</property>
    We changed the Email list from System MBeans and it was getting reflected properly until we restart the system. When we restarted the system, the modified values were lost and they were replaced by the original values. This has happened on our production environment yesterday. Plese help.

    Thats a none thing, refer the below post to solve it.
    Oracle SOA 11g- bpel.preference
    Thanks,
    Vijay

  • Performance issue with Preferences class in JDK1.4

    I am very excited about the new Preferences class in JDK1.4, however, my co-workers are not too thrilled about it, as the Windows implementation of it writes everything into Registry, and it is slow when we are talking about hundreds or thousands of users, and storing each user's preferences in the Windows registry is a slow and dangerous thing.
    Is the argument valid? If it does, any solution to that, except not using Windows platform?
    Thanks,

    Well I just got to say I uninstall 1.4 and and got1.3.1_02.I had 1.3.1_01 witch worked for me pertty good but i am trying 1.3.1_02 now.I did not care for 1.4

  • Anyone know how to lock preferences?

    Hello All.
    I set my cookies to "always" block cookies, except for here, and a very few other sites.
    Yet, constantly, the setting gets changed to "from third parties and advertisers"- AND in all cases, hundreds of cookies come through anyway.
    Then on the flash player pref's I set it to deny the ability of creepy people being able to turn on my camera and mocrophones, and THAT gets switched back to allow it!
    WHO ARE THE CRIMINALS DOING THAT< and how can I make it hold the settings I choose, PLEASE?
    Thanks to all. C

    If preferences are not saved, delete the plist file for that application.
    The plist files are in your user Library/Preferences folder (not the main Library you can see in Macintosh HD).
    To get there, hold down the option key and select Library from the Go menu in Finder.
    plist files are usually named com.company.program.plist.
    Safari's would be com.apple.safari.plist. 
    I don't know what Flash Player's is named.
    When you delete them, you will have to reset all of your personal preferences in the application.
    I vaguely remember people having trouble with Safari's cookie settings. However, I didn't care so didn't bother investigating. You might google for more info on that or search this site.

Maybe you are looking for

  • Best Practices for Service Entry Sheet Approval

    Hi All Just like to get some opinion on best practices for external service management - particularly approval process for Service Entry Sheet. We have a 2 step approval process using workflow: 1 Entry Sheet Created (blocked) 2. Workflow to requisiti

  • 1142 APs LEDs not working in normal operation

    Hi guys, just installed 6 new APs to a client remote site off a 5508 controller. 5508 is running 7.0.116 total of 78 installed APs, mostly 1142's with a dozen or so 1242s All going perfectly until I was about to leave site and noticed two of the APs

  • HT4759 ever time i go to log in it's say's connecion error...... y is that?

    i can not log in to my icloud

  • Migration Assistant Crashes when importing from ext HD using Time Machine

    Hi there, I'm having issues restoring a harddrive using migration assistant to import a TimeMachine backup. I've just reinstalled Mac OS X 10.5.8 onto a Mac Pro 2.66 GHz Quad-Core Intel Xeon with 2GB RAM. I've done all updates and repaired permission

  • AR Module

    I have a few queries that you may be able to help with relating to Receivables: a, Is there anyway you can configure Oracle to support credit checks for transactions entered in AR? b, Is there anyway we could configure the Transactions form in AR to