Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shjwudp/online_webpage_diff

online webpage diff
https://github.com/shjwudp/online_webpage_diff

Last synced: about 1 month ago
JSON representation

online webpage diff

Awesome Lists containing this project

README

        

# Online Page Diff

> [page-monitor](https://github.com/fouber/page-monitor) 的在线形式

# 效果

![illustrate](./illustrate.png)

## 使用

```javascript

SHJWUDP_DIFF.showdiff(left_dom, right_dom, legend);

```

left_dom 和 right_dom是参与比对的两个DOM,legend是可选项,显示比对结果的统计

具体请看demo

demo的使用方法:

> 在demo目录下

> python2:

> ```python2
> python -m SimpleHTTPServer
> ```

> python3:

> ```python3
> python3 -m http.server
> ```

> 打开浏览器访问