diff --git a/src/js/options.js b/src/js/options.js index 935dcb14..5bdf51ac 100644 --- a/src/js/options.js +++ b/src/js/options.js @@ -23,6 +23,7 @@ ignoreCache: gsStorage.IGNORE_CACHE, addContextMenu: gsStorage.ADD_CONTEXT, syncSettings: gsStorage.SYNC_SETTINGS, + noNag: gsStorage.NO_NAG, timeToSuspend: gsStorage.SUSPEND_TIME, theme: gsStorage.THEME, whitelist: gsStorage.WHITELIST, @@ -73,7 +74,7 @@ setSyncNoteVisibility(!gsStorage.getOption(gsStorage.SYNC_SETTINGS)); let searchParams = new URL(location.href).searchParams; - if (searchParams.has('firstTime')) { + if (searchParams.has('firstTime') && !gsStorage.getOption(gsStorage.NO_NAG)) { document .querySelector('.welcome-message') .classList.remove('reallyHidden');