I doubt you can do it from KSM, I think that runs before Nickel even starts, and the web browser requires Nickel to run.
I suggest taking a look at
NickelDBus. It's similar to NickelMenu, but you can invoke it from scripts or other programs over D-Bus.