Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome extension Reg:chrome扩展在javascript dragend函数中调用chrome.webstore.install_Google Chrome Extension_Inline_Failed Installation_Chrome Web Store - Fatal编程技术网

Google chrome extension Reg:chrome扩展在javascript dragend函数中调用chrome.webstore.install

Google chrome extension Reg:chrome扩展在javascript dragend函数中调用chrome.webstore.install,google-chrome-extension,inline,failed-installation,chrome-web-store,Google Chrome Extension,Inline,Failed Installation,Chrome Web Store,chrome.webstore.install正在使用onclick函数将应用程序添加到chrome扩展中,但当我尝试其他事件时,它抛出了一个异常未捕获的Chrome Web Store安装只能由用户手势启动。请确认并尽快更新它将仅对onclick有效。如果它也适用于其他事件,请更新,因为我需要在dragend函数中添加应用程序到Chrome扩展。当我通过在许多地方搜索这在onclick函数中使用。是,仅适用于onclick。dragEnd不被视为用户手势

chrome.webstore.install正在使用onclick函数将应用程序添加到chrome扩展中,但当我尝试其他事件时,它抛出了一个异常未捕获的Chrome Web Store安装只能由用户手势启动。请确认并尽快更新它将仅对onclick有效。如果它也适用于其他事件,请更新,因为我需要在dragend函数中添加应用程序到Chrome扩展。当我通过在许多地方搜索这在onclick函数中使用。

是,仅适用于onclick。dragEnd不被视为用户手势