Hi,
I do not understand you exactly, you say you need to display inbound popups, but you also want to disable them?
in any case, when a call rings your extension or any other channel associated to your extension/button, and before the notification is displayed, a .php script is called (checkdir.php).
You can alter that file to add your own code, if you look at the default file you will see that you have two type of popups (on phone ringing, or agent connect), and that you can output javascript code, so you can open a popup, call a different .js aplicattion, or whatever. You also have the option to disable the regular notification after running your own code, by returing 0 from the custom_popup function.
so I think all your needs are covered, but you will have to code it to suit.
In the neare future I will release a google chrome extension that can be also used to fire popups, so that would be another way, but it is not out yet.