Commit Graph
9 Commits
Author SHA1 Message Date
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
DIYgod a34b9ae542 feat: remove addNoReferrer 2019-08-28 14:33:05 +08:00
Henry Wang d09affa703 feat: add addNoReferrer in common-utils (#2571)
* fix: no-referrer tag

* chore: merge qdaily routes

* feat: add addNoReferrer in common-utils

This adds no-referrer attribute to images.
Parameters:

- add no-referrer attribute to images
- $: cheerio selector
- source: source selector, string
- target: target attribute name, typically for lazyload imgs, string
- srcPrefix: prefix for src, string
- removeAttr: attributes to remove, array: ['attrA','attrB']

* test: add test case

* doc: update
2019-07-08 11:45:02 +08:00
Cloud 70d885b4b9 feat: iindienova添加参数 (#2420) 2019-06-17 14:25:43 +08:00
Cloud 7e0ca8aaee feat: indienova 全文 (#2417)
时间和作者不好搞 留给有缘人去弄吧
2019-06-16 20:30:23 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
Henry Wang e72f82e983 chore: 部分代码优化 (#1674) 2019-03-04 19:26:09 +08:00
幻葬咲夜 d0d3b69d27 add indienova (#1509) 2019-01-31 17:21:59 +08:00