Changeset 2424
- Timestamp:
- 12/04/07 18:15:01 (5 years ago)
- Files:
-
- 1 modified
-
lang/javascript/userscripts/torack.user.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/torack.user.js
r961 r2424 4 4 // @namespace http://susu.whitesnow.jp/ns/userscripts 5 5 // @include http://www.toranoana.jp/cgi-bin/R2/details05.cgi* 6 // @version 0.2 6 // @version 0.2.1 7 7 // ==/UserScript== 8 8 … … 23 23 if (i % 2) { 24 24 id = elements[i].innerHTML; 25 id.match(/^(\d{2})(\d{4})(\d{2})(\d{2})/); 26 path = RegExp.$1 + '/' + RegExp.$2 + '/' + RegExp.$3 + '/' + RegExp.$4 + '/' + id; 25 path = id.replace(/^(\d{2})(\d{4})(\d{2})(\d{2})/, '$1/$2/$3/$4/$0'); 27 26 href = '/mailorder/article/' + path + '.html'; 28 27 src = 'http://img.toranoana.jp/img/' + path + '-1.gif';
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)