質問編集履歴
1
コード修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
}
|
24
24
|
|
25
25
|
function init(){
|
26
|
+
|
26
27
|
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab){
|
27
28
|
if(tab.url.includes("https://sssss/sssss")){
|
28
29
|
if (changeInfo.status === 'complete'){
|
@@ -33,8 +34,8 @@
|
|
33
34
|
console.log(count)
|
34
35
|
}
|
35
36
|
}
|
37
|
+
});
|
36
38
|
}
|
37
|
-
}
|
38
39
|
|
39
40
|
chrome.action.onClicked.addListener(function(tab) {
|
40
41
|
init();
|