You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

netbox-contextmenus

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netbox-contextmenus

Add context menu to links in NetBox

1.4.8
pipPyPI
Maintainers
1

netbox_contextmenus

Add context buttons to the links, making navigating in netbox less clicky

nbcm1

nbcm2

The menu items can easliy be personalised

INSTALLATION

  • install as a any regular plugin. See https://docs.netbox.dev/en/stable/plugins/installation/
  • PyPi Packagename is 'netbox-contextmenus'.
  • NetBox packagename is 'netbox_contextmenus'.
  • restart the netbox service

NBCM is compatible with NetBox v3 and v4.0

IMPORTANT NOTE !

NBCM version <= 1.4.3 used the 'BOTTOM_BANNER' variable to inject the javascript.

As of v1.4.4, the javascript is injected using django middleware. Make sure to remove the setting from the ConfigRevision BOTTOM_BANNER or from your configuration.py The nbcm.js file located in /opt/netbox/netbox/netbox/scripts can be removed.

This is a preparation to create a GUI to modifiy the Contect Menu items

CONFIGURATION

These settings can be customized using the PLUGINS_CONFIG variable in 'configuration.py'

PLUGINS_CONFIG = {
    'netbox_contextmenus': {
        'nbcmopendelay': 150
    }
}
variabledefaultfunction
nbcmopendelay150Time in milliseconds that the opening of the contextmenu will be delayed

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts