How can I remove items from right-click context menu?
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Here is a list of IDs: http://kb.mozillazine.org/Chrome_element_names_and_IDs
[q]: "Wondering, is this the way to add Right-Click-Copy Text Back into Right-Click?
(not to mention, why did it disappear) Thanks"
The Copy item should be there in the context menu if you select some text or Copy is otherwise useable in that context: #context-copy {display: -moz-box !important;}
You can check if you have a userChrome.css file that removes it.
You can start Firefox in -safe-mode to test if it is removed by an extension (or theme).
[q]: "Wondering, is this the way to add Right-Click-Copy Text Back into Right-Click?
(not to mention, why did it disappear) Thanks"
The Copy item should be there in the context menu if you select some text or Copy is otherwise useable in that context: #context-copy {display: -moz-box !important;}
You can check if you have a userChrome.css file that removes it.
You can start Firefox in -safe-mode to test if it is removed by an extension (or theme).
-
- Posts: 8
- Joined: June 4th, 2007, 12:49 am
I cant seam to get rid of Send Image... Context. because when im in a site with lots of good pictures and I frustrate myself with hitting this command next to Save image As I get frustrated when I have to wait for my email proggy to start.
I've tried entering #context-sendimage, /* "Send Image..." */ and nothing works
even did the whole
/* =============== Remove Items In Context Menu: IMAGES
*/#context-sendimage,
/* "Send Image..."
and still nothing I've tried a bunch of different suggestions from this discussion and still nothing. am I doing something wrong?
I've tried entering #context-sendimage, /* "Send Image..." */ and nothing works
even did the whole
/* =============== Remove Items In Context Menu: IMAGES
*/#context-sendimage,
/* "Send Image..."
and still nothing I've tried a bunch of different suggestions from this discussion and still nothing. am I doing something wrong?
Joe g Russell
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
This code should remove that context menu entry:
If that doesn't work then check that you put the code in the correct file (userChrome.css) and in the correct folder (chrome folder).
See: Where is my profile folder? (KB)
Code: Select all
#context-sendimage {display: none !important;}
See: Where is my profile folder? (KB)
-
- Posts: 8
- Joined: June 4th, 2007, 12:49 am
I found the userchrome.css file in C:\Program Files\Mozilla Firefox\defaults\profile\chrome I changed it from the userchrome-example.css
I tried inputting the #context-sendimage {display: none !important;} at the end so now it reads
* display: none !important;
* }
*/
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
#context-sendimage {display: none !important;}
I tried inputting the #context-sendimage {display: none !important;} at the end so now it reads
* display: none !important;
* }
*/
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
#context-sendimage {display: none !important;}
Joe g Russell
- Soul Stealer
- Posts: 480
- Joined: March 31st, 2007, 1:18 pm
- Location: God's Country
Check the name of your file. It's supposed to be:
userChrome.css (notice the capital 'C')
At the top you'll see:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
Below that, put EXACTLY what dickvl posted:
#context-sendimage {display: none !important;}
It should work fine. It did for me.
userChrome.css (notice the capital 'C')
At the top you'll see:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
Below that, put EXACTLY what dickvl posted:
#context-sendimage {display: none !important;}
It should work fine. It did for me.
It's like I said.
-
- Posts: 3
- Joined: June 5th, 2007, 3:32 am
1.Click Start
2. Click Run
3. Type in regedit and click ENTER
4. Browse to the following:
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
(This is where programs attach to the right click menu.)
5. You simply delete or export then delete the keys you do not want.
2. Click Run
3. Type in regedit and click ENTER
4. Browse to the following:
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
(This is where programs attach to the right click menu.)
5. You simply delete or export then delete the keys you do not want.
[url=http:/www.refinance-autoloans.info/used_car_loan.php]Used Car Loan[/url] | [url=http:/www.e-carloans.info/bad_credit_carloan.php]Bad Credit Car Loan[/url] | [url=http:/www.carloansinsurance.info/affordable_car_insurance.php]Affordable Car Insurance[/url]
- Soul Stealer
- Posts: 480
- Joined: March 31st, 2007, 1:18 pm
- Location: God's Country
-
- Posts: 8
- Joined: June 4th, 2007, 12:49 am
-
- Posts: 8
- Joined: June 4th, 2007, 12:49 am
k the file was userChrome.css and I found the
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
and right below it no space is already /* set default namespace to XUL */ so I put the new command between the http://www and the set default lines. and nothing changed. and yes all along im saving and closing both the notepad and firefox when I make my changes.
then I tried putting the (Set Default) line back where it was and put the new command right after and still nothing. maybe its just the new firefox.
maybe if I just got one of you guys to send me your working userChrome.css file??
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
and right below it no space is already /* set default namespace to XUL */ so I put the new command between the http://www and the set default lines. and nothing changed. and yes all along im saving and closing both the notepad and firefox when I make my changes.
then I tried putting the (Set Default) line back where it was and put the new command right after and still nothing. maybe its just the new firefox.
maybe if I just got one of you guys to send me your working userChrome.css file??
Joe g Russell
- Soul Stealer
- Posts: 480
- Joined: March 31st, 2007, 1:18 pm
- Location: God's Country
Your current userChrome.css file should read this:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#context-sendimage {display: none !important;}
After making sure you save the file as userChrome.css (make sure the extension is .css and not .txt), reboot FF and it should work. I'd send you mine but it reads exactly what I just posted.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#context-sendimage {display: none !important;}
After making sure you save the file as userChrome.css (make sure the extension is .css and not .txt), reboot FF and it should work. I'd send you mine but it reads exactly what I just posted.
It's like I said.
- James
- Moderator
- Posts: 28005
- Joined: June 18th, 2003, 3:07 pm
- Location: Made in Canada
remieres wrote:I found the userchrome.css file in C:\Program Files\Mozilla Firefox\defaults\profile\chrome I changed it from the userchrome-example.css
Wrong place as it should be in your Profile folder not the program folder, so if your putting the userChrome.css there then no wonder it is not working.
dickvl linked to a article on where your profile is located http://kb.mozillazine.org/Profile_folde ... _folder.3F earlier before you posted finding it C:\Program Files\Mozilla Firefox\...
dickvl wrote:If that doesn't work then check that you put the code in the correct file (userChrome.css) and in the correct folder (chrome folder).
See: Where is my profile folder? (KB)
The underlined words in the quote are links.
-
- Posts: 5
- Joined: April 22nd, 2007, 10:44 pm