English 中文(简体)
NPAPI plugin.my browser被封锁!
原标题:problem about NPAPI plugin ...my browser was blocked !
  1. Tools I use : Browser: firefox 3.6.17 and Google Chrome
    Interface:NPAPI

  2. My question: I want to callback a Javascript function from my NPAPI plugin by calling NPN_invokeDefault after finish to execute "Exec_func" , but it takes secends to execute "Exec_func" ( the browser wait for its return!). for this , I have to create a child thread to execute it ,otherwise the browser will be blocked !
    if I do this , the browser firefox still be blocked like doing nothing , and the browser google chrome will tell me : return error after execute NPN_invokeDefault .

    关于

此外:

当浏览器赢得的拖网被阻时,如何把 p子从花gin中 as死。

感谢

关于

问题回答

The NPAPI documentation is very clear about the fact that you cannot call NPN_* functions from any thread but the main thread.





相关问题
Destroying session on close of the browser from the task bar

When I close the browser window from the task bar the session is not getting destroyed. I could handle this on closing the browser using close(X) button or by pressing Alt+F4 using javascript. But ...

InvokeMethod not working on windows form

I have a windows form containing a webbrowser that navigates to a site which sends data back in the form of a table. I would like to transfer the data on that table to a application that runs some ...

Automated web browser?

For learning purposes I would like to automate some parts in a browser game, currently I am trying to fill out some simple text boxes, without any luck though. I ve created a WebBrowser component on ...

MySQL - Username to connect using Query browser

I m fairly new to my sql, and I need to know what is the default username for mysql, like in mssql you have sa . I can connect to the mysql command client but it does not ask me for a username.

Widescreen check on normal screen

I work normal screen and I develop some web application. When the application goes on widescreen some of the pages looks weired. Is there any way I can view my web page as it looks in Widescreen on my ...

How does Google get a toolbar right below the tabs in IE?

I researched through all BHO related documentation, but I just can t figure how Google gets the translation toolbar right below the tabs in IE. Any useful pointers how to achieve the same effect for ...

How to detect page zoom level in all modern browsers?

How can I detect the page zoom level in all modern browsers? While this thread tells how to do it in IE7 and IE8, I can t find a good cross-browser solution. Firefox stores the page zoom level for ...

热门标签