this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refactoring Privacy & Security, prep for 1.4.0

+6 -2
+6 -2
background.js
··· 125 125 }) 126 126 } 127 127 128 - // Execute performAction when a tab is updated 128 + // Execute performAction when a tab is updated and the tab is a website. 129 129 tabs.onUpdated.addListener((tabId, changeInfo, tab) => { 130 - if (changeInfo.status === "complete" && tab.active) { 130 + if ( 131 + changeInfo.status === "complete" && 132 + tab.active && 133 + (tab.url.startsWith("http://") || tab.url.startsWith("https://")) 134 + ) { 131 135 performAction(tab) 132 136 } 133 137 })