v0.3-alpha
Updates:
- refactor: Inject script on click
chrome.action.onClicked.addListener((tab) => { ... }
toggle ? (
chrome.scripting.insertCSS({
target: {tabId: tab.id},
css: `.blur { filter: blur(4px); }`
})
) : (
chrome.scripting.insertCSS({
target: {tabId: tab.id},
css: `.blur { filter: none; }`
})
);