How to remove "Save Page As" from menu item in firefox using userChrome.css

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krndhi1983
    New Member
    • Jun 2007
    • 22

    How to remove "Save Page As" from menu item in firefox using userChrome.css

    Dear all,
    I am using firefox in RedHat Linux and I want to remove the option "Save Page As" from File Menu.I am using the code as belows in userChrome.css. I can remove all the options. but i unable to remove the Save Page As option. Any one can solve this, kindly post ur suggestion.

    Code:
    Code:
    #urlbar,#searchbar
    {
    display:none;
    }navigator-toolbox
    {
    display:none;
    }
                                                                                                                                 
    #PersonalToolbar
    {
    display:none;
    }
                                                                                                                                 
    .tabs-newtab-button
    {
    display:none;
    }
                                                                                                                                 
    menu[label="Edit"]
    {
    display:none !important;
    }
    menu[label="View"]
    {
    display:none !important;
    }
    menu[label="History"]
    {
    display:none !important;
    }
    menu[label="Bookmarks"]menu[label="Tools"]
    {
    display:none !important;
    }
    menu[label="Help"]
    {
    display:none !important;
    }
    menuitem[label="New Window"]
    {
    display: none;
    }
    menuitem[label="New Tab"]
    {
    display: none;
    }
    menuitem[label="Close Window"]
    {
    display: none;
    }
    menuitem[label="Close Tab"]
    {
    display: none;
    }
    menuitem[label="Work Offline"]
    {
    display: none;
    }
    menuitem[label="Print Preview"]
    {
    display: none;
    }
    menuitem[command="Browser:OpenLocation"]
    {
    display: none;
    }
    menuitem[command="Browser:OpenFile"]
    {
    display: none;
    }
    menuitem[command="Browser:SendLink"]
    {
    display: none;
    }
    menuitem[command="cmd_pageSetup"]
    {
    display: none;
    }
    menuitem[command="cmd_print"]
    {
    display: none;
    }
    menuitem[oncommand^="BrowserImport();"]
    {
    display: none;
    }
    #context-savepageas
    {
       display: none !important;
    }
    menuseparator
    {
    display:none;
    }
     
    
    
    I am using this code
    
                                                                                                                                #context-savepageas
    {
       display: none !important;
    }
    to remove that. but it's not working.




    Thanks & Regards,
    Karunanidhi.
    Last edited by numberwhun; Mar 22 '10, 06:30 PM. Reason: Please use code tags!
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    I am not sure about your question, but I do know that after 21 posts to the forums, you should be accustomed to using the code tags that are required around all code in forum posts. Please use them in the future!

    Regards,

    Jeff

    Comment

    Working...