Frédéric Guillot
|
c0eab5ebc5
|
Avoid stretched image if specified width is larger than Miniflux's layout
|
2022-07-04 20:10:07 -07:00 |
|
Frédéric Guillot
|
806a069785
|
sanitizer: handle image URLs in srcset attribute with comma
|
2022-07-04 13:50:09 -07:00 |
|
Frédéric Guillot
|
d85908e3de
|
Allow width and height attributes for img tags
|
2022-07-03 17:44:12 -07:00 |
|
Frédéric Guillot
|
5f9d6fd81b
|
Handle srcset images with no space after comma
|
2021-10-13 21:31:08 -07:00 |
|
Frédéric Guillot
|
0413daf76b
|
Remove iframe inner HTML contents
An iframe element never has fallback content, as it will always create a nested
browsing context, regardless of whether the specified initial contents are
successfully used.
https://www.w3.org/TR/2010/WD-html5-20101019/the-iframe-element.html#the-iframe-element
|
2021-02-13 14:00:21 -08:00 |
|
Frédéric Guillot
|
864dd9f219
|
Allow images with data URLs
Only URLs with a mime-type image/* are allowed
|
2021-02-06 14:46:01 -08:00 |
|
Frédéric Guillot
|
3afdf25012
|
Do not proxy image data url
|
2020-10-14 22:26:54 -07:00 |
|
Frédéric Guillot
|
d75ff0c5ab
|
Add sanitizer support for responsive images
- Add support for picture HTML tag
- Add support for srcset, media, and sizes attributes to img and source tags
|
2020-09-28 23:22:08 -07:00 |
|
alex
|
0f258fd55b
|
Make add_invidious_video rule applicable for different invidious instances
|
2020-09-06 13:41:42 -07:00 |
|
Frédéric Guillot
|
ac3c936820
|
Make sure whitelisted URI schemes are handled properly by the sanitizer
|
2020-01-02 11:03:51 -08:00 |
|
Frédéric Guillot
|
8d8f78241d
|
Add native lazy loading for images and iframes
This feature is available only in Chrome >= 76 for now.
See https://web.dev/native-lazy-loading
|
2019-09-10 21:22:19 -07:00 |
|
Jeremy Apthorp
|
304b43cb30
|
Add 'allow-popups' to iframe sandbox permissions
|
2019-03-26 18:26:56 -07:00 |
|
Frédéric Guillot
|
dbcc5d8a97
|
Use canonical imports
|
2018-08-24 21:56:39 -07:00 |
|
Frédéric Guillot
|
de1a4aad30
|
Add support for protocol relative YouTube URLs
|
2018-07-04 22:45:44 -07:00 |
|
dzaikos
|
7d4a195519
|
Sandbox iframes when sanitizing.
Updated iframe unit tests.
Refactored sanitizer.getExtraAttributes() to use `switch` instead of multiple `if` statements.
|
2018-07-03 12:55:18 -07:00 |
|
dzaikos
|
c9131b0e89
|
Improve sanitizer to remove style tag contents.
See #157.
Refactored how blacklisted tags are handled so they're easier manage in the future.
|
2018-06-24 19:53:23 -07:00 |
|
Dave Z
|
d847b10e32
|
Improve sanitizer to remove script and noscript contents
These tags where removed but the content was rendered as escaped HTML.
See #157
|
2018-06-23 17:50:43 -07:00 |
|
Frédéric Guillot
|
c719cf7df0
|
Rewrite iframe Youtube URLs to https://www.youtube-nocookie.com
|
2018-06-12 18:45:09 -07:00 |
|
Frédéric Guillot
|
bd663b43a0
|
Improve HTML sanitizer
|
2017-11-25 18:08:59 -08:00 |
|
Frédéric Guillot
|
8ffb773f43
|
First commit
|
2017-11-19 22:01:46 -08:00 |
|