X
Tap here to go to the mobile version of the site.

Support Forum

In Firefox 36.0.1, can I show ONLY copy and paste in the navigation toolbar without showing cut?

Posted

In Firefox 36.0.1, can I show ONLY copy and paste in the navigation toolbar without showing cut?

In Firefox 36.0.1, can I show ONLY copy and paste in the navigation toolbar without showing cut?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 16.0 r0
  • Google Update
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • 20-20 3D Viewer for IKEA - Mozilla Plug-In v5.0.94.1
  • Next Generation Java Plug-in 11.25.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • 5.1.31211.0
  • Facebook Video Calling Plugin
  • iTunes Detector Plug-in
  • GEPlugin
  • Adobe PDF Plug-In For Firefox and Netscape "9.5.5"
  • NPWLPG

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17586 solutions 159096 answers

Do you only want this to happen if you right-click in the location/address bar?


You can ddd code to the userChrome.css file below the default @namespace line.


@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#urlbar menupopup menuitem[label="Cut"] { display:none !important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

You can use this button to go to the currently used Firefox profile folder:

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
Do you only want this to happen if you right-click in the location/address bar? ---- You can ddd code to the <b>userChrome.css</b> file below the default @namespace line. *http://kb.mozillazine.org/userChrome.css ---- <pre><nowiki>@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #urlbar menupopup menuitem[label="Cut"] { display:none !important; } </nowiki></pre> ---- The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder. *http://kb.mozillazine.org/Editing_configuration You can use this button to go to the currently used Firefox profile folder: *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder) *http://kb.mozillazine.org/Profile_folder_-_Firefox *Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist *Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive) *Paste the code in the userChrome.css file in the editor window *Make sure that the userChrome.css file starts with the default @namespace line *Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.<br>Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file

Question owner

I Firefox versions 28 and earlier you could have a "copy" icon and a separate "paste" icon in the navigation toolbar. After version 28 they lumped "cut, copy and paste" all together. I do not want "cut". ONLY "copy" and "paste".

I Firefox versions 28 and earlier you could have a "copy" icon and a separate "paste" icon in the navigation toolbar. After version 28 they lumped "cut, copy and paste" all together. I do not want "cut". ONLY "copy" and "paste".
cor-el
  • Top 10 Contributor
  • Moderator
17586 solutions 159096 answers

Use this code instead in the userChrome.css file:

@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#cut-button { display:none !important; }
Use this code instead in the userChrome.css file: <pre><nowiki>@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #cut-button { display:none !important; } </nowiki></pre>