about chrome.tabs.executeScript( id,details, callback)

The result of a script is the last expression being evaluated. So in your example you could use: chrome.tabs.executeScript( null, {code:”var x = 10; x”}, function(results){ console.log(results); } ); This will log [10] to the extension’s console. results is actually an array of values because if the page has more than one frame you can … Read more

How to track DOM change in chrome extension?

Updated for 2020: The recommended way nowadays is to use the Mutation Observer API. let observer = new MutationObserver(mutations => { for(let mutation of mutations) { for(let addedNode of mutation.addedNodes) { if (addedNode.nodeName === “IMG”) { console.log(“Inserted image”, addedNode); } } } }); observer.observe(document, { childList: true, subtree: true });

Chrome extensions – Other ways to read response bodies than chrome.devtools.network?

The feature request you linked to implies that there is no support for reading either: Unfortunately, this request is not trivial. (…) Regarding reading the Response Body: This is challenging from a performance perspective. (…) So overall, this is just not easy to achieve… So, no, there doesn’t seem to be a way for an … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)