MozillaZine

SeaMonkey 2.46 Right Click Menu (Context Menu) Modification

Discussion of general topics about Seamonkey
Stereodoc
 
Posts: 6
Joined: July 23rd, 2011, 12:34 pm

Post Posted December 7th, 2017, 1:09 pm

Is it possible to modify the right click or context menu in SM2.46 to put "Open link in New Window" above "Open Link in New Tab"? If so, how?

I tried modifying userChrome.css from a much earlier and similar post for SM2.2 with this (shown in blue below) but no luck in getting it to swap.

OS is Win 7.


Paste the following into your userChrome.css (which should be located, together with file
userChrome-example.css, in the folder "chrome" in your profile folder).
This will restore context menus to as they were before SM 2.1, in browser links as well as bookmarks and SM Mail.

It addition, the first three lines of the code will also get rid of the "Open in All Tabs"
annoyance at the bottom of your bookmarks.

If you don't have userChrome.css in your profile folder, paste into userChrome-example.css
instead and save the file ("Save As") as userChrome.css.


.openintabs-menuseparator,
.openintabs-menuitem {
display: none !important;}

#contentAreaContextMenu > * {-moz-box-ordinal-group:2;}

menuitem[label="Open Link in New Window"]
{-moz-box-ordinal-group:1!important;}

#placesContext > * {-moz-box-ordinal-group:3;}

menuitem[label="Open"]
{-moz-box-ordinal-group:1!important;}
menuitem[label="Open in a New Window"]
{-moz-box-ordinal-group:2!important;}

#mailContext > * {-moz-box-ordinal-group:2;}

menuitem[label="Open Message in New Window"]
{-moz-box-ordinal-group:1!important;}
menuitem[label="Open Link in New Window"]
{-moz-box-ordinal-group:1!important;}

#folderPaneContext > * {-moz-box-ordinal-group:3;}

menuitem[label="Get Messages For Account"]
{-moz-box-ordinal-group:1!important;}
menuitem[label="Open in New Mail Window"]
{-moz-box-ordinal-group:2!important;}


ElTxolo

User avatar
 
Posts: 2257
Joined: July 30th, 2007, 9:35 am
Location: Localhost

Post Posted December 7th, 2017, 3:56 pm

Stereodoc wrote:Is it possible to modify the right click or context menu in SM2.46 to put "Open link in New Window" above "Open Link in New Tab"? If so, how?
....

    Image You can use Menu Wizard extension, for SeaMonkey.







    Cheers !! Image
How to Ask Questions The Smart Way - How to Report Bugs Effectively ;)
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20171015 SeaMonkey/2.49.1
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20170619 SeaMonkey/2.51

Stereodoc
 
Posts: 6
Joined: July 23rd, 2011, 12:34 pm

Post Posted December 9th, 2017, 3:33 pm

That did the trick. Thanks.

ElTxolo

User avatar
 
Posts: 2257
Joined: July 30th, 2007, 9:35 am
Location: Localhost

Post Posted December 10th, 2017, 4:22 am

Stereodoc wrote:That did the trick. Thanks.

How to Ask Questions The Smart Way - How to Report Bugs Effectively ;)
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20171015 SeaMonkey/2.49.1
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20170619 SeaMonkey/2.51

Stereodoc
 
Posts: 6
Joined: July 23rd, 2011, 12:34 pm

Post Posted December 10th, 2017, 6:23 am

I discovered that SeaMonkey went to 2.49.1 after posting my original post and upgraded accordingly. Thanks for the tip.

vladmir
 
Posts: 316
Joined: October 18th, 2004, 9:47 am

Post Posted December 11th, 2017, 10:02 pm

.bookmarks-actions-menuseparator,
.openintabs-menuitem{
display:none !important;
}

Return to SeaMonkey General


Who is online

Users browsing this forum: No registered users and 2 guests