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
|
592151bdb6
|
Add support for Invidious
- Embed Invidious player for invidio.us feeds
- Add new rewrite rule to use Invidious player for Youtube feeds
|
2020-03-20 20:56:59 -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
|
a786e78aca
|
Add embedly.com to iframe whitelist
|
2018-07-10 20:56:54 -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 |
|
aniran
|
920dda79b7
|
Add soundcloud and bandcamp iframe sources
|
2018-04-27 17:55:58 -07:00 |
|
Frédéric Guillot
|
84d912c979
|
Rewrite imports
|
2017-12-12 21:48:13 -08:00 |
|
Frédéric Guillot
|
6f5350a497
|
Move packages http and url
|
2017-12-02 20:26:21 -08:00 |
|
Frédéric Guillot
|
fb2a73c91e
|
Proxify image enclosures
|
2017-12-01 22:29:18 -08: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 |
|