mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 03:08:30 +00:00
new domain popup toggle
This commit is contained in:
parent
bf18652e5a
commit
251eaacd69
@ -30,6 +30,7 @@ const checkboxes = [
|
|||||||
"reduceTransparency",
|
"reduceTransparency",
|
||||||
"disableAnimations",
|
"disableAnimations",
|
||||||
"disableMetadata",
|
"disableMetadata",
|
||||||
|
"disableNewDomainPopup"
|
||||||
];
|
];
|
||||||
const exceptions = { // used for mobile devices
|
const exceptions = { // used for mobile devices
|
||||||
"vQuality": "720"
|
"vQuality": "720"
|
||||||
@ -605,6 +606,8 @@ window.onload = () => {
|
|||||||
}
|
}
|
||||||
loadSettings();
|
loadSettings();
|
||||||
detectColorScheme();
|
detectColorScheme();
|
||||||
|
|
||||||
|
if(sGet("disableNewDomainPopup") !== "true")
|
||||||
popup("migration", 1);
|
popup("migration", 1);
|
||||||
}
|
}
|
||||||
window.history.replaceState(null, '', window.location.pathname);
|
window.history.replaceState(null, '', window.location.pathname);
|
||||||
|
@ -156,6 +156,7 @@
|
|||||||
"FilenamePreviewVideoTitle": "Video Title",
|
"FilenamePreviewVideoTitle": "Video Title",
|
||||||
"FilenamePreviewAudioTitle": "Audio Title",
|
"FilenamePreviewAudioTitle": "Audio Title",
|
||||||
"FilenamePreviewAudioAuthor": "Audio Author",
|
"FilenamePreviewAudioAuthor": "Audio Author",
|
||||||
"UrgentFilenameUpdate": "customizable file names!"
|
"UrgentFilenameUpdate": "customizable file names!",
|
||||||
|
"SettingsDisableNewDomainPopup": "disable new domain popup"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -494,6 +494,9 @@ export default function(obj) {
|
|||||||
}, {
|
}, {
|
||||||
action: "disableChangelog",
|
action: "disableChangelog",
|
||||||
name: t("SettingsDisableNotifications"),
|
name: t("SettingsDisableNotifications"),
|
||||||
|
}, {
|
||||||
|
action: "disableNewDomainPopup",
|
||||||
|
name: t("SettingsDisableNewDomainPopup"),
|
||||||
padding: "no-margin"
|
padding: "no-margin"
|
||||||
}])
|
}])
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user