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