rem: element.focus(); if (element.select && ( element.tagName.toLowerCase() != 'input' || !['button', 'reset', 'submit'].include(element.type) ) ) element.select(); 
add: try { element.focus(); if (element.select && (element.tagName.toLowerCase() != 'input' || !['button', 'reset', 'submit'].include(element.type))) element.select(); } catch (e) {} 
context:   activate: function(element) {    element = $(element);    element.focus();    if (element.select && ( element.tagName.toLowerCase() != 'input' ||      !['button', 'reset', 'submit'].include(element.type) ) )      element.select();    return element;  },
meta: 7608	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7608/d556a0875c83645645bd2067594241546d26d052/prototype.js/buggy/web/js/prototype.js