Do in chat window:
1. /reloadui
2. /script ClearMenu() AddMenuItem("") ShowMenu() ClearMenu()
3. Go and use an item of your inventory using context-menu
unsecure code?!?
Try this:
1. /reloadui
2. go and open journal and right-click a quest to open a context-menu. In fact any build-in context-menu would be ok. You could also open the context-menu of the inventory.
3. /script ClearMenu() AddMenuItem("") ShowMenu() ClearMenu()
4. Go and use an item of your inventory using context-menu
now the same code is secure
Any addon opening a context-menu before build-in code does it is unsecure.
If you add the code from above to startup code of an addon, you can not use/pickup/destory any item with context-menu anymore. But key-bind (E) would work.
ups!