I have developed a simple NPAPI plugin
using Firebreath
- the plugin
is used to launch another process when a particular URL
is visited.
I would like to extend the plugin to detect and log what users (on an intranet) are copying from and optionally restrict which users can copy content based on their role.
I have not been able to understand how I could detect the copy event (if such a thing exists) - any help and direction would be appreciated. I'm specifically looking at Chrome
on Windows initially.
Many thanks,
Jon
None of what you're describing can be done with a NPAPI plugin. NPAPI plugins don't know anything about browsers copying and pasting, nor do they know anything about what URLs the browser visits, unless they happen to exist as an object tag on the page.
At best, what you're trying to do would require an extension, though I don't know if it's possible or not.