Layers off and on

If you install this snippet (It is not really an extension, but you can install with Extension Manager if you allow Unrestricted extension):

Dezmo_Hide_Layer_Tag.rbz (555 Bytes)

As usual: No warranties! Use at your own risk!

Right click on an object give you a Context menu “Hide Layer: layer_name” / “Hide Tag: tag_name”.
Where the layer_name / tag_name is a name of layer/tag which associated to the current object .
Only one object should be in selection and the associated layer/tag should not be the actual (active) one to get the context menu.