add: if (dialogType == cookieType) session.disabled = !site; 
context: function buttonEnabling(textfield) {  // trim any leading space  var site = textfield.value.replace(/^\s*([-\w]*:\/+)?/, "");  var block = document.getElementById("btnBlock");  var allow = document.getElementById("btnAllow");  block.disabled = !site;  allow.disabled = !site;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/50dbe55fbd89b13e826cea1c278db12bd989067b/CookieViewer.js/buggy/extensions/wallet/cookieviewer/resources/content/CookieViewer.js