script logo v1.0     Take that menu :D

Convert the Help menu into an utility menu. Most items are removed and you can add as many as you want. The menu stays the same across the network and profile links are site sensitive



Usage

After activation, click on { settings } to remove/modify the default items and add your own:

The Help Center link is not removed; to do this, add ?help-remove=yes to any URL. And to open the HC link as _blank (in a new window), use ?help-blank=yes.


Installing

Install

View source


Acknowledgments


History

- Version 1.0: Script launch.


Other scripts

  • 2
    Looks useful. +1 for the logo. :) – Brock Adams Oct 3 '14 at 8:47
  • Sure, didn't count the "open menu" click. Anyway, am using it a lot to reach the Sandbox and chat rooms. Finally I'm being able to work with TM and GM, cheers! – brasofilo Oct 3 '14 at 8:56
  • 1
    Right now the title of this post is a bit confusing/misleading. Consider changing it to something more on point. EG: "Turbocharge the Help menu". ... "Customize the Help menu" would also work, but it's kinda boring. – Brock Adams Oct 3 '14 at 9:12
  • Me gusta. Agreed and done. – brasofilo Oct 3 '14 at 9:20
  • @brasofilo if I use with Greasemonkey on Firefox things like calendar and change chat user profile don't work if your script is enabled. – Jorge B. Jan 11 '16 at 15:03
  • ​​​​​​​​​​​​​​​Well, Stack Overflow now added About Us and Business and I don't want them. I've tried added ?help-remove=yes, then Help Center and About Us get removed, but the Business one is still there. – Kevin Guan Feb 24 '16 at 6:21
  • ​​​​​​​​​​​​​​​And the buttons link in the setting page seems broken by the way. – Kevin Guan Feb 24 '16 at 6:25
  • @KevinGuan, much probably the HTML changed and I didn't follow up with that... sorry for this :) & help is always welcome! – brasofilo Feb 24 '16 at 8:52
  • @brasofilo: ​​​​​​​​​​​​​​​Ah yeah, the help menu now added them. Could you add another option to remove these two links? I'm not good at JavaScript :( – Kevin Guan Feb 24 '16 at 8:53
  • @Jorge, meu bom, I wrote this and didn't come back, I'll ping you back when time comes! – brasofilo Feb 24 '16 at 8:54
  • 1
    @Kevin, I'll try to revise this soon and ping you back, thanks for trying it! – brasofilo Feb 24 '16 at 8:55

Ah, figured out how to remove the About Us and Business from the list.

I mean, the menu looks like this before:

What should the menu looks like

But it looks like this now:

What does the menu looks like

The problem is because, there're two more links have been added into the help menu, so they're also auto added into the Turbocharged Help Menu.

The new help menu


To remove them (I don't like them since they're...kinda useless for me :D):

remove_items = [ /* items to remove */
    '.topbar-dialog.help-dialog ul li:nth-of-type(5)', // add this line
    '.topbar-dialog.help-dialog ul li:nth-of-type(4)', // and this line
    '.topbar-dialog.help-dialog ul li:nth-of-type(3)',
    '.topbar-dialog.help-dialog ul li:nth-of-type(1)'
];
remove_meta = [
    '.topbar-dialog.help-dialog ul li:nth-of-type(6)', // also this
    '.topbar-dialog.help-dialog ul li:nth-of-type(5)', // and this
    '.topbar-dialog.help-dialog ul li:nth-of-type(4)',
    '.topbar-dialog.help-dialog ul li:nth-of-type(2)',
    '.topbar-dialog.help-dialog ul li:nth-of-type(1)'
],

They're from line 124 to line 132 (before changed).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .