add: e.preventDefault() 
context: function ss_slkeypress (e){    var w = this.outputWindow;    var newOfs;        switch (e.keyCode)    {        case 13:            if (!e.target.value)                return;            e.line = e.target.value;            this.onInputCompleteLine (e);            e.target.value = "";            break;        case 38: /* up */            if (this.lastHistoryReferenced == -2)            {                this.lastHistoryReferenced = -1;                e.target.value = this.incompleteLine;            }            else if (this.lastHistoryReferenced <                     this.inputHistory.length - 1)            {                e.target.value =                    this.inputHistory[++this.lastHistoryReferenced];            }            break;        case 40: /* down */            if (this.lastHistoryReferenced > 0)                e.target.value =                    this.inputHistory[--this.lastHistoryReferenced];            else if (this.lastHistoryReferenced == -1)            {                e.target.value = "";                this.lastHistoryReferenced = -2;            }            else            {                this.lastHistoryReferenced = -1;                e.target.value = this.incompleteLine;            }            break;                    case 33: /* pgup */            newOfs = w.pageYOffset - (w.innerHeight / 2);            if (newOfs > 0)                w.scrollTo (w.pageXOffset, newOfs);            else                w.scrollTo (w.pageXOffset, 0);            break;                    case 34: /* pgdn */            newOfs = w.pageYOffset + (w.innerHeight / 2);            if (newOfs < (w.innerHeight + w.pageYOffset))                w.scrollTo (w.pageXOffset, newOfs);            else                w.scrollTo (w.pageXOffset, (w.innerHeight + w.pageYOffset));            break;        case 9: /* tab */            e.preventDefault();            this.onTabCompleteRequest(e);            break;               default:            this.lastHistoryReferenced = -1;            this.incompleteLine = e.target.value;            break;    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6d3605984754042ac2ea071be474d6b8ed01f0eb/venkman-views.js/buggy/extensions/venkman/resources/content/venkman-views.js