We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42b42e5 commit 694e808Copy full SHA for 694e808
popup/index.js
@@ -244,8 +244,8 @@ async function runScript(script) {
244
recentScriptsSaver.add(script);
245
runScriptInCurrentTab(script.func);
246
} else {
247
- let w = script.whiteList?.join(", ");
248
- let b = [...script.blackList, ...GlobalBlackList]?.join(", ");
+ let w = script?.whiteList?.join(", ");
+ let b = [...(script?.blackList || []), ...GlobalBlackList]?.join(", ");
249
250
openModal(
251
t({
0 commit comments