hash-command-arbitrary
Avril 5 years ago
parent ac146d01da
commit 0608fc4229
Signed by untrusted user: flanchan
GPG Key ID: 284488987C31F630

@ -1,4 +1,4 @@
var internal_url_re = /(?:>>>)?(?:https?:\/\/)?flanchan\.moe\/s\/(.+)/;
var internal_url_re = /(?:>>>)?(?:https?:\/\/)?flanchan\.moe\/(?:music\/)?s\/(.+)/;
/* YOUTUBE */

@ -201,7 +201,7 @@ var OS = OneeSama.prototype;
var break_re = new RegExp("(\\S{" + DEFINES.WORD_LENGTH_LIMIT + "})");
/* internal refs, embeds */
var ref_re = />>(\d+|>\/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})/;
OS.hook = function (name, func) {
var hs = this.hooks[name];

Loading…
Cancel
Save