Changeset 7603
- Timestamp:
- Jun 18, 2008, 11:34:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/stable-2.10.x/public_html/cmd/www.nicovideo.jp.js
r7185 r7603 1 1 function url2cmd(url) { 2 if (!url.match(/ http:\/\/www\.nicovideo\.jp\/.*\/((?:[a-z]{2})\d+)$/)) {2 if (!url.match(/^http:\/\/www\.nicovideo\.jp\/watch\/([a-z0-9]+)$/)) { 3 3 pne_url2a(url); 4 4 return false;
Note: See TracChangeset
for help on using the changeset viewer.