473,385 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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:
Expand|Select|Wrap|Line Numbers
  1. #urlbar,#searchbar
  2. {
  3. display:none;
  4. }navigator-toolbox
  5. {
  6. display:none;
  7. }
  8.  
  9. #PersonalToolbar
  10. {
  11. display:none;
  12. }
  13.  
  14. .tabs-newtab-button
  15. {
  16. display:none;
  17. }
  18.  
  19. menu[label="Edit"]
  20. {
  21. display:none !important;
  22. }
  23. menu[label="View"]
  24. {
  25. display:none !important;
  26. }
  27. menu[label="History"]
  28. {
  29. display:none !important;
  30. }
  31. menu[label="Bookmarks"]menu[label="Tools"]
  32. {
  33. display:none !important;
  34. }
  35. menu[label="Help"]
  36. {
  37. display:none !important;
  38. }
  39. menuitem[label="New Window"]
  40. {
  41. display: none;
  42. }
  43. menuitem[label="New Tab"]
  44. {
  45. display: none;
  46. }
  47. menuitem[label="Close Window"]
  48. {
  49. display: none;
  50. }
  51. menuitem[label="Close Tab"]
  52. {
  53. display: none;
  54. }
  55. menuitem[label="Work Offline"]
  56. {
  57. display: none;
  58. }
  59. menuitem[label="Print Preview"]
  60. {
  61. display: none;
  62. }
  63. menuitem[command="Browser:OpenLocation"]
  64. {
  65. display: none;
  66. }
  67. menuitem[command="Browser:OpenFile"]
  68. {
  69. display: none;
  70. }
  71. menuitem[command="Browser:SendLink"]
  72. {
  73. display: none;
  74. }
  75. menuitem[command="cmd_pageSetup"]
  76. {
  77. display: none;
  78. }
  79. menuitem[command="cmd_print"]
  80. {
  81. display: none;
  82. }
  83. menuitem[oncommand^="BrowserImport();"]
  84. {
  85. display: none;
  86. }
  87. #context-savepageas
  88. {
  89.    display: none !important;
  90. }
  91. menuseparator
  92. {
  93. display:none;
  94. }
  95.  
  96.  
  97.  
  98. I am using this code
  99.  
  100.                                                                                                                             #context-savepageas
  101. {
  102.    display: none !important;
  103. }
  104.  
to remove that. but it's not working.




Thanks & Regards,
Karunanidhi.
Mar 22 '10 #1
1 3236
numberwhun
3,509 Expert Mod 2GB
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
Mar 22 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
0
by: Karuna | last post by:
Hi Am newbie to VB script. Am struck with a problem. I am trying to use an array of pages ( many pages added in "multipage" control). And am using a for loop sending each page item to a...
1
by: Mark | last post by:
I am creating a search engine that will scan pages on my Web site. I do not want any false-positive hits, being defined as any match that does not appear on the page using a Web browser. I am...
2
by: quitaxe | last post by:
hi i am facing this problem when i redirect to a asp page using - Response.redirect "mynext.asp" the problem is that the current page is using frames so this mynext.asp is also getting loaded...
6
by: The Bicycling Guitarist | last post by:
I've used and loved the webmaster tools at Delorie.com for some years now. I just added some more text content to my home page, but in the web page "purifier" the text doesn't render as I thought...
3
by: John | last post by:
Does anyone know how to simulate the right click "Save Target As" using MSHTML? I find that I can navigate through the LinksCollection on any given page but often these links are links to files...
5
by: Dave | last post by:
What is the benefit of using "as" vs the other? HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://www.contoso.com/"); vs. HttpWebRequest myReq...
5
by: girishmat | last post by:
how to embed or open microsoft word file in a page using php script
3
by: Aaron | last post by:
I'm trying to parse a table on a webpage to pull down some data I need. The page is based off of information entered into a form. when you submit the data from the form it displays a...
3
by: MrCorbeaux | last post by:
My "Email a Webpage" form works find except when the end user receives the email, the URL is text only and not a hyperlink. The "Email a Page" form calls the URL from the previous page using: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.