Skip to content

Commit eefca8f

Browse files
committed
Generalized Chrome msg listener error labels
1 parent 3943d06 commit eefca8f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

chatgpt-auto-continue/chromium/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
alert: () => modals.alert(...['title', 'msg', 'btns', 'checkbox', 'width'].map(arg => options[arg])),
1717
showAbout: () => chatgpt.isLoaded().then(() => modals.open('about')),
1818
syncConfigToUI: () => sync.configToUI(options)
19-
}[action]?.() || console.warn(`Received unsupported action: "${action}"`))
19+
}[action]?.() || console.warn(`Chome msg listener warning: "${action}"`))
2020
})
2121

2222
// Import JS resources

chatgpt-auto-continue/firefox/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
alert: () => modals.alert(...['title', 'msg', 'btns', 'checkbox', 'width'].map(arg => options[arg])),
1717
showAbout: () => chatgpt.isLoaded().then(() => modals.open('about')),
1818
syncConfigToUI: () => sync.configToUI(options)
19-
}[action]?.() || console.warn(`Received unsupported action: "${action}"`))
19+
}[action]?.() || console.warn(`Chome msg listener warning: "${action}"`))
2020
})
2121

2222
// Import JS resources

chatgpt-infinity/chromium/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
fromBG && settings.save('infinityMode', false) // disable Infinity mode 1st to not transfer between tabs
3030
sync.configToUI(options)
3131
}
32-
}[action]?.() || console.warn(`Received unsupported action: "${action}"`))
32+
}[action]?.() || console.warn(`Chome msg listener warning: "${action}"`))
3333
})
3434

3535
// Import APP data

chatgpt-infinity/firefox/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
fromBG && settings.save('infinityMode', false) // disable Infinity mode 1st to not transfer between tabs
3030
sync.configToUI(options)
3131
}
32-
}[action]?.() || console.warn(`Received unsupported action: "${action}"`))
32+
}[action]?.() || console.warn(`Chome msg listener warning: "${action}"`))
3333
})
3434

3535
// Import APP data

chatgpt-widescreen/chromium/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
alert: () => modals.alert(...['title', 'msg', 'btns', 'checkbox', 'width'].map(arg => options[arg])),
3434
showAbout: async () => { if (env.site == 'chatgpt') await chatgpt.isLoaded() ; modals.open('about') },
3535
syncConfigToUI: () => sync.configToUI(options)
36-
}[action]?.() || console.warn(`Received unsupported action: "${action}"`))
36+
}[action]?.() || console.warn(`Chome msg listener warning: "${action}"`))
3737
})
3838

3939
// Import DATA

chatgpt-widescreen/firefox/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
alert: () => modals.alert(...['title', 'msg', 'btns', 'checkbox', 'width'].map(arg => options[arg])),
3434
showAbout: async () => { if (env.site == 'chatgpt') await chatgpt.isLoaded() ; modals.open('about') },
3535
syncConfigToUI: () => sync.configToUI(options)
36-
}[action]?.() || console.warn(`Received unsupported action: "${action}"`))
36+
}[action]?.() || console.warn(`Chome msg listener warning: "${action}"`))
3737
})
3838

3939
// Import DATA

0 commit comments

Comments
 (0)