ユーザーがログインしている場合など、いくつかの条件に基づいてcrossrider をsetPopup
複数回呼び出すときに問題が発生し、ブラウザ アクションをクリックしてポップアップのみを表示するか、そうでない場合はログイン ポップアップを表示します。
しかし、それはその後一度だけ呼び出しています。
function handler(evtXHR) {
if (invocation.ready State == 4) {
if (invocation.status == 200) {
//alert("successs : "+invocation.responseText);
if (invocation.responseText == "demo") {
//buttonState = true;`enter code here`
appAPI.browserAction.setPopup({
resourcePath: 'html/New popup.html',
height: 1000,
width: 1000
});
}