As yet, I haven't found a work around but, at least, using the following you can send an alert to the page and tell the user whats happening...
/* in the background.js */
chrome.browserAction.onClicked.addListener(function(tab){
linkAudit.log('alert if not loaded');
chrome.tabs.executeScript(tab.id, {
code:'if(!window.linkAudit){alert("Please reload the page to run Link Audit")}'
})
});
Investigate the
Link Audit extension.

No comments:
Post a Comment