Changeset 33588 for websites/modoki
- Timestamp:
- 05/26/09 13:38:47 (4 years ago)
- Files:
-
- 1 modified
-
websites/modoki/index.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websites/modoki/index.html
r33580 r33588 195 195 config : function(){ 196 196 var _self = this; 197 this.specialkey = { 198 "9" : "TAB", 199 "8" : "BS", 200 "13" : "ENT", 201 "27" : "ESC" 202 } 197 203 this.keyHandler = { 198 "j" : function(){ _self.down(); }, 199 "k" : function(){ _self.up(); }, 200 "s" : function(){ _self.fav(); }, 201 "e" : function(){ _self.open_url(); }, 202 "r" : function(){ _self.reply(); }, 203 "R" : function(){ _self.retween(); }, 204 " " : function(){ _self.searchLast(); } 204 "j" : function(){ _self.down(); }, 205 "k" : function(){ _self.up(); }, 206 "s" : function(){ _self.fav(); }, 207 "e" : function(){ _self.open_url(); }, 208 "r" : function(){ _self.reply(); }, 209 "ENT" : function(){ _self.reply(); }, 210 "R" : function(){ _self.retween(); }, 211 " " : function(){ _self.searchLast(); } 205 212 }; 206 213 this._altanative = (new Date).getTime(); 207 214 this._crosspost = 0; 208 this._version = "0.3 1";215 this._version = "0.32"; 209 216 this._max_id = 0; 210 217 this.p_name = ""; … … 219 226 var keybind = function(e){ 220 227 if( e.target.tagName == 'INPUT' || e.target.tagName == 'TEXTAREA' ) return; 221 var pressKey= (e.ctrlKey?'C-':'') + (e.altKey?'A-':'') + String.fromCharCode(e.which);228 var pressKey= (e.ctrlKey?'C-':'') + (e.altKey?'A-':'') + ((typeof _self.specialkey[e.which] == "undefined" )?String.fromCharCode(e.which) : _self.specialkey[e.which]); 222 229 if( typeof _self.keyHandler[pressKey] != "function" ) return; 223 230 try{ … … 488 495 //for outputz 489 496 if( this._outputz_secret != "" ){ 490 var url = "http://outputz.com/api/post?key=" + this._outputz_secret + '&uri= ' + location.href + '&size=' + text.length;497 var url = "http://outputz.com/api/post?key=" + this._outputz_secret + '&uri=http://tiwtter.com/&size=' + text.length; 491 498 this.crossDomainPost(url); 492 499 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)