dyweb / mos

MOOC & Open Source Group
Apache License 2.0
18 stars 1 forks source link

[idea] av/ac/sm/pixiv/?? detector #26

Closed xplorld closed 6 years ago

xplorld commented 6 years ago

motivation

当你看到一个 av 号,不能点开,还需要搜索,就很不爽

spec

A chrome extension

in any HTML page: if exist av\d+ in content, replace to <a href="http://bilibili.com/video/av123...1"> av123...1</a>, others similar

features

design

set up several rules.

Rule = match(regex) + replace(HTML)

alternative designs

a link may be disturbing. Maybe a 下拉菜单 is acceptable? default

evaluation

xplorld commented 6 years ago

@ComMouse: 神秘代码转换器

xplorld commented 6 years ago

如果做成右键下拉菜单就不需要在打开网页时候扫描了, 0 overhead, 但是不知道体验如何,还得选中

voldikss commented 6 years ago

dibs https://github.com/dyweb/acg-detector

xplorld commented 6 years ago

我应该是全东岳最没有行动力的人了。。。

gaocegege commented 6 years ago

Thank @clouduan for the implementation!

gaocegege commented 6 years ago

@xplorld

ruiyang 这样的 CMU 大佬只需要发需求就好了,实现的工作交给我们这样的来做 :微笑:

xplorld commented 6 years ago

sad_rabbit.jpg