MV How do I remove "use / back" menu from Item menu

I want to make Item menu for my project into something like item gallery where you can only look at them and maybe read some interesting information about the item (i want them to be uniteractable). I want to remove the "use / back" menu that pops up completely.

Is it possible? I really want it gone / prevent it from showing up.

I'm using Yanfly's Item Core + Item Categories + Item Picture Images
My RPG Maker MV's version is 1.6.2
To be clear, you're fine with no items in your game being usable? I think just disabling everything that happens when you select an item should do it (unless one of those plugins messes with it).

JavaScript:
Scene_Item.prototype.onItemOk = function () {};

Add this snippet as a plugin, below anything else that changes the item scene.
Yes, I'm fine with them being unusable. It's just for the kind of project I have in mind, there is no use for them other than collectibles or maybe achievements.

I added this one as you said, and while, yes, it prevents that window from popping up, it also freezes the game after pressing on the item (and there is no way to unfreeze the game); it stays in a frozen state, and the only way to fix that is by closing the game.

View attachment 278111

(PluginPattern is just the name of the template plugin that I picked a while ago)
To be clear, you're fine with no items in your game being usable? I think just disabling everything that happens when you select an item should do it (unless one of those plugins messes with it).

JavaScript:
Scene_Item.prototype.onItemOk = function () {};

Add this snippet as a plugin, below anything else that changes the item scene.
I forgot to hit reply (firt time on this forum).

It's above. Sorry for the inconvenience.
I forgot to hit reply (firt time on this forum).
You get a notification either way when someone posts in a thread you posted in, so that's not strictly necessary.

I added this one as you said, and while, yes, it prevents that window from popping up, it also freezes the game after pressing on the item (and there is no way to unfreeze the game); it stays in a frozen state, and the only way to fix that is by closing the game.
Whoops, looks like we removed a bit too much functionality there xD This should work better:
JavaScript:
Scene_Item.prototype.onItemOk = function () {this._itemWindow.active = true;};
Whoops, looks like we removed a bit too much functionality there xD This should work better:
JavaScript:
Scene_Item.prototype.onItemOk = function () {this._itemWindow.active = true;};

It works now! Thank you very much 😂
Whoops, looks like we removed a bit too much functionality there xD
shut-it-down-dark-city.gif

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-remove-use-back-menu-from-item-menu.161519/