You cannot control anything outside of your own plugin window from NPAPI because NPAPI is unaware of anything outside of the page. NPAPI does not know anything about the browser itself or other pages. This is by design. If there is any way without using system APIs to do what you're trying to do it'd be an extension thing, but I doubt it.
Frankly, this just isn't the sort of thing that plugins are supposed to be able to do =]