rem: var prefs = qaNotifications.getNotificationSettings(); if (prefs[0] == '1') return false; if (this.type == 'testday' && ! prefs[1] == '0') return true; if (this.type == 'bugday' && ! prefs[2] == '0') return true; if (this.type == 'prerelease' && ! prefs[3] == '0') return true; if (this.type == 'news' && ! prefs[4] == '0') return true; if (this.type == 'newbuilds' && ! prefs[5] == '0') return true; if (this.type == 'special' && ! prefs[6] == '0') return true;   return false; }, 
add: var prefs = qaNotifications.getNotificationSettings(); if (prefs[0] == '1') return false; if (this.type == 'testday' && ! prefs[1] == '0') return true; if (this.type == 'bugday' && ! prefs[2] == '0') return true; if (this.type == 'prerelease' && ! prefs[3] == '0') return true; if (this.type == 'news' && ! prefs[4] == '0') return true; if (this.type == 'newbuilds' && ! prefs[5] == '0') return true; if (this.type == 'special' && ! prefs[6] == '0') return true;   return false; } 
context: 	okToShow : function() {		var prefs = qaNotifications.getNotificationSettings();		if (prefs[0] == '1') // all notifications disabled			return false;		if (this.type == 'testday' && ! prefs[1] == '0')			return true;		if (this.type == 'bugday' && ! prefs[2] == '0')			return true;		if (this.type == 'prerelease' && ! prefs[3] == '0')			return true;		if (this.type == 'news' && ! prefs[4] == '0')			return true;		if (this.type == 'newbuilds' && ! prefs[5] == '0')			return true;		if (this.type == 'special' && ! prefs[6] == '0')			return true;				// catch all:		return false;	},
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/notifications.js/buggy/testing/extensions/community/chrome/content/notifications.js