Greasy Fork is available in English.

huiji-tieba-script

Automatic URL conversion, fix sticker link

Автор
Siyuan Hou (yahiousun)
Инсталации дневно
0
Инсталации общо
73
Рейтинг
1 0 0
Версия
0.1.2
Създаден
Обновен
Лиценз
Няма
Работи на

Описание на автора

huiji-tieba-script

Baidu Tieba <灰机汉化组吧> Automatic URL conversion

/ * e.g.
 * input: 尾号2902
 * output: <a href=\"http://smp.yoedge.com/view/omnibus/1002902\" target=\"_blank\">http://smp.yoedge.com/view/omnibus/1002902</a>
*/

/ * e.g.
 * input: ht<img class="BDE_Smiley" pic_type="1" width="30" height="30" src="https://tb2.bdstatic.com/tb/editor/images/face/i_f27.png?t=20140803">tp://sm<img class="BDE_Smiley" pic_type="1" width="30" height="30" src="https://tb2.bdstatic.com/tb/editor/images/face/i_f33.png?t=20140803">p.yoedge.com/view/omnibus/1001949
 * output: <a href=\"http://smp.yoedge.com/view/omnibus/1001949\" target=\"_blank\">http://smp.yoedge.com/view/omnibus/1001949</a>
*/