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
..
2019-07-03 12:10:36 +08:00
2019-07-08 11:45:02 +08:00
2019-07-08 11:45:02 +08:00
2019-04-23 15:03:58 +08:00
2018-12-26 18:35:10 +08:00
2019-06-26 00:01:25 +08:00
2018-12-26 18:35:10 +08:00
2019-06-26 00:01:25 +08:00
2018-12-26 18:35:10 +08:00
2019-07-08 11:45:02 +08:00