7 lines
184 B
JavaScript
7 lines
184 B
JavaScript
chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
|
|
if (changeInfo.status === "complete" && tab.url) {
|
|
chrome.tabs.sendMessage(tabId, { type: "applyCSS" });
|
|
}
|
|
});
|
|
|