The general idea is that Cheat Engine attaches to a process, so for a browser game you point it at your browser rather than at a game executable. Open the browser first, load the game, then select the browser's process in Cheat Engine and scan from there.
Two caveats worth knowing. Browser games often run through plugins that store values in ways the scanner cannot cleanly find, so it frequently does not work at all. And because Naruto Arena is an online game, memory editing breaks the terms of service and can get an account banned.