Skip to content

v0.3-alpha

Compare
Choose a tag to compare
@tusharnankani tusharnankani released this 12 Nov 12:20
· 13 commits to main since this release

Updates:

  • refactor: Inject script on click
chrome.action.onClicked.addListener((tab) => { ... } 
  • feat: Add a simple toggle button (#3, #4)
  toggle ? (
      chrome.scripting.insertCSS({
          target: {tabId: tab.id},
          css: `.blur { filter: blur(4px); }`
      })
      ) : (
          chrome.scripting.insertCSS({
              target: {tabId: tab.id},
              css: `.blur { filter: none; }`
          })
  );