Skip to content

Commit f917469

Browse files
committed
Add chrome web store to the urls that we are not allowed to attach
1 parent 8957e78 commit f917469

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tabs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export async function getCurrentTab() {
2626
export function isTabAllowedToAttach(tab) {
2727
if (
2828
!tab.url?.startsWith("chrome://") &&
29-
!tab.url?.startsWith("chrome-extension://")
29+
!tab.url?.startsWith("chrome-extension://") &&
30+
!tab.url?.startsWith("https://chromewebstore.google.com/")
3031
) {
3132
// It's not a privileged page.
3233
return true;

0 commit comments

Comments
 (0)