|
|
@ -202,7 +202,7 @@ var OS = OneeSama.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
var break_re = new RegExp("(\\S{" + DEFINES.WORD_LENGTH_LIMIT + "})");
|
|
|
|
var break_re = new RegExp("(\\S{" + DEFINES.WORD_LENGTH_LIMIT + "})");
|
|
|
|
/* internal refs, embeds */
|
|
|
|
/* internal refs, embeds */
|
|
|
|
var ref_re = />>(\d+|>\/s\/.+|>\/music\/s\/.+|>\/watch\?v=[\w-]{11}(?:#t=[\dhms]{1,9})?|>\/soundcloud\/[\w-]{1,40}\/[\w-]{1,80}|>\/@\w{1,15}\/\d{4,20}(?:\?s=\d+)?|>\/(?:a|sysint|nap)\/\d{0,10})/;
|
|
|
|
var ref_re = />>(\d+|>\/s\/.+|>\/music\/s\/.+|>\/watch\?v=[\w-]{11}(?:#t=[\dhms]{1,9})?|>\/soundcloud\/[\w-]{1,40}\/[\w-]{1,80}|>\/@\w{1,15}\/\d{4,20}(?:\?s=\d+)?|>\/(?:a|sysint|nap)\/\d{0,10}|>\/rurus\/)/;
|
|
|
|
|
|
|
|
|
|
|
|
OS.hook = function (name, func) {
|
|
|
|
OS.hook = function (name, func) {
|
|
|
|
var hs = this.hooks[name];
|
|
|
|
var hs = this.hooks[name];
|
|
|
@ -263,6 +263,9 @@ OS.red_string = function (ref) {
|
|
|
|
var num = parseInt(ref.slice(4+2), 10);
|
|
|
|
var num = parseInt(ref.slice(4+2), 10);
|
|
|
|
dest = '../outbound/nap/' + (num ? ''+num : '');
|
|
|
|
dest = '../outbound/nap/' + (num ? ''+num : '');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (prefix == '>/r') {
|
|
|
|
|
|
|
|
dest ="/faq.html";
|
|
|
|
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
this.tamashii(parseInt(ref, 10));
|
|
|
|
this.tamashii(parseInt(ref, 10));
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|