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 3af98f7 commit 581dab4Copy full SHA for 581dab4
src/ui/options.js
@@ -237,6 +237,11 @@ document.querySelector("#version").textContent = _("Version",
237
238
async function copyContainer() {
239
cookieStoreId = containerSelect.value;
240
+ if (cookieStoreId == "default") {
241
+ alert("Cannot replace the default policy.")
242
+ containerCopy.value = "blank";
243
+ return;
244
+ }
245
let copyCookieStoreId = containerCopy.value;
246
let copyContainerName = containerCopy.options[containerCopy.selectedIndex].text;
247
let copyPolicy = await UI.getPolicy(copyCookieStoreId);
0 commit comments