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 bda83f4 commit 9a9d870Copy full SHA for 9a9d870
src/ui/options.js
@@ -216,6 +216,11 @@ document.querySelector("#version").textContent = _("Version",
216
217
async function copyContainer() {
218
cookieStoreId = containerSelect.value;
219
+ if (cookieStoreId == "default") {
220
+ alert("Cannot replace the default policy.")
221
+ containerCopy.value = "blank";
222
+ return;
223
+ }
224
let copyCookieStoreId = containerCopy.value;
225
let copyContainerName = containerCopy.options[containerCopy.selectedIndex].text;
226
let copyPolicy = await UI.getPolicy(copyCookieStoreId);
0 commit comments