You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in eighteenminus.js line 213 to send number of blocked images chrome.runtime.sendMessage({event: 'number', number: imgBlocked}, function(response) {});
in popup.js line 61 chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { if (request.event == 'number') $('p.number').find('strong').text(request.number); });
inside onMessage, we can't access background content DOM or even use console. However, the data sent from content page is correct, and alert can be used.
The text was updated successfully, but these errors were encountered:
in eighteenminus.js line 213 to send number of blocked images
chrome.runtime.sendMessage({event: 'number', number: imgBlocked}, function(response) {});
in popup.js line 61
chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { if (request.event == 'number') $('p.number').find('strong').text(request.number); });
inside onMessage, we can't access background content DOM or even use console. However, the data sent from content page is correct, and alert can be used.
The text was updated successfully, but these errors were encountered: