do not display the FAQs page in development mode
This commit is contained in:
parent
9e4faa9a29
commit
177e5127db
|
@ -184,6 +184,8 @@ chrome.storage.local.get('version', prefs => {
|
||||||
// Open FAQs page once after installation to guide new users,
|
// Open FAQs page once after installation to guide new users,
|
||||||
// https://github.com/schomery/stylish-chrome/issues/22#issuecomment-279936160
|
// https://github.com/schomery/stylish-chrome/issues/22#issuecomment-279936160
|
||||||
if (!prefs.version) {
|
if (!prefs.version) {
|
||||||
|
// do not display the FAQs page in development mode
|
||||||
|
if ('update_url' in chrome.runtime.getManifest()) {
|
||||||
let version = chrome.runtime.getManifest().version;
|
let version = chrome.runtime.getManifest().version;
|
||||||
chrome.storage.local.set({
|
chrome.storage.local.set({
|
||||||
version
|
version
|
||||||
|
@ -195,6 +197,7 @@ chrome.storage.local.get('version', prefs => {
|
||||||
}, 3000);
|
}, 3000);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// bouncing back 'updatePopup' to popup
|
// bouncing back 'updatePopup' to popup
|
||||||
|
|
Loading…
Reference in New Issue
Block a user