Changeset 37992
- Timestamp:
- 07/21/10 10:07:06 (3 years ago)
- Location:
- websites/twicli
- Files:
-
- 1 added
- 2 modified
-
plugins/geomap.js (added)
-
plugins/regexp.js (modified) (1 diff)
-
twicli.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websites/twicli/plugins/regexp.js
r37844 r37992 5 5 // 発言(JSON)が指定条件にマッチするか判定 6 6 function execRegexp(tw, exp) { 7 var source = "\n from" + tw.source.replace(/<.*?>/g,'');7 var source = "\nvia " + tw.source.replace(/<.*?>/g,''); 8 8 return (!exp.id || tw.user.screen_name.match(exp.id )) && 9 9 (!exp.id_n ||!tw.user.screen_name.match(exp.id_n)) && -
websites/twicli/twicli.js
r37892 r37992 239 239 if (!(cookieVer>7)) pluginstr+="\ntranslate.js\nscroll.js"; 240 240 if (!(cookieVer>8)) pluginstr+="\nthumbnail.js"; 241 if (!(cookieVer>9)) pluginstr=" worldcup-2010.js\n" + pluginstr.substr(1); 241 //if (!(cookieVer>9)) pluginstr=" worldcup-2010.js\n" + pluginstr.substr(1); 242 if (!(cookieVer>10)) pluginstr = pluginstr.replace(/worldcup-2010.js\n/,''); 243 if (!(cookieVer>10)) pluginstr+="\ngeomap.js"; 242 244 pluginstr = pluginstr.substr(1); 243 245 var plugins = new Array; … … 593 595 //クライアント 594 596 (tw.source ? '<span class="separator"> / </span><span class="source">' + tw.source.replace(/<a /,'<a target="twitter"') + '</span>' : '') + '</span>' + 597 //Geolocation 598 (tw.geo && tw.geo.type == 'Point' ? '<a class="button geomap" id="geomap-' + tw.id + '" target="_blank" href="http://maps.google.com?q=' + tw.geo.coordinates.join(',') + '"><img src="images/marker.png" alt="geolocation" title="' + tw.geo.coordinates.join(',') + '"></a>' : '') + 595 599 //返信先を設定 596 600 ' <a class="button" href="javascript:replyTo(\'' + un + "'," + tw.id + ')"><img src="images/reply.png" alt="↩" width="14" height="14"></a>' + … … 1117 1121 decr_enter = frm.decr_enter.checked; 1118 1122 resetUpdateTimer(); 1119 writeCookie('ver', 1 0, 3652);1123 writeCookie('ver', 11, 3652); 1120 1124 writeCookie('limit', nr_limit, 3652); 1121 1125 writeCookie('max_count', max_count, 3652);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)