Apps other than browsers than should support browser events don't seem to react to the input (forward, back).

Here, the current setup works on browsers, but doesn't on Visual Studio Code or Obsidian, which are known to go back or forward in "history".