dont show new login notification bar on bitwarden websites
This commit is contained in:
parent
8692b3b40f
commit
17e36e7a4d
|
@ -3,6 +3,7 @@
|
||||||
formData = [],
|
formData = [],
|
||||||
barType = null;
|
barType = null;
|
||||||
|
|
||||||
|
if (window.location.hostname.indexOf('bitwarden.com') === -1) {
|
||||||
chrome.storage.local.get('disableAddLoginNotification', function (obj) {
|
chrome.storage.local.get('disableAddLoginNotification', function (obj) {
|
||||||
if (!obj || !obj['disableAddLoginNotification']) {
|
if (!obj || !obj['disableAddLoginNotification']) {
|
||||||
chrome.runtime.sendMessage({
|
chrome.runtime.sendMessage({
|
||||||
|
@ -10,6 +11,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
|
chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
|
||||||
if (msg.command === 'openNotificationBar') {
|
if (msg.command === 'openNotificationBar') {
|
||||||
|
|
Loading…
Reference in New Issue