1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 00:05:07 +00:00
serenity/Userland/Libraries/LibWeb/Loader
Luke Wilde 210c3795f9 LibWeb: Apply content filter to DNS prefetch and pre-connect
Performing DNS prefetch or pre-connect on filtered URLs is wasteful,
as we would block any actual use further down the line.

A bunch of websites perform DNS prefetch and/or pre-connect to trackers
as well, for example:
```
prefetch DNS for 'https://adserver-us.adtech.advertising.com/'
prefetch DNS for 'https://secure.adnxs.com/'
prefetch DNS for 'https://bidder.criteo.com/'
prefetch DNS for 'https://static.criteo.net/'
prefetch DNS for 'https://cdn.krxd.net/'
prefetch DNS for 'https://widgets.outbrain.com/'
prefetch DNS for 'https://images.outbrain.com/'
prefetch DNS for 'https://log.outbrain.com/
prefetch DNS for 'https://amplifypixel.outbrain.com/'
prefetch DNS for 'https://odb.outbrain.com/'
prefetch DNS for 'https://js-sec.indexww.com/'
prefetch DNS for 'https://as-sec.casalemedia.com/'
prefetch DNS for 'https://as.casalemedia.com/'
prefetch DNS for 'https://sofia.trustx.org/'
prefetch DNS for 'https://c.amazon-adsystem.com/'
prefetch DNS for 'https://s.amazon-adsystem.com/'
prefetch DNS for 'https://aax.amazon-adsystem.com/'
prefetch DNS for 'https://t.teads.tv/'
prefetch DNS for 'https://beacon.krxd.net/'
pre-connect to 'https://www.google-analytics.com/'
pre-connect to 'https://www.googletagmanager.com/'
```
2022-06-10 12:15:37 +01:00
..
ContentFilter.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ContentFilter.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
FrameLoader.cpp LibWeb: Allow configuring the default error page path 2022-05-29 23:00:04 +01:00
FrameLoader.h LibWeb: Allow configuring the default error page path 2022-05-29 23:00:04 +01:00
ImageLoader.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ImageLoader.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ImageResource.cpp LibWeb: Abstract the image decoding via Web::ImageDecoding::Decoder 2022-05-15 12:17:36 +02:00
ImageResource.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LoadRequest.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
LoadRequest.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ProxyMappings.cpp LibWeb: Remove debug spam about proxy configuration lookups 2022-04-09 14:50:05 +02:00
ProxyMappings.h Browser+LibWeb+WebContent: Implement per-URL-pattern proxies 2022-04-09 12:21:43 +02:00
Resource.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Resource.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ResourceLoader.cpp LibWeb: Apply content filter to DNS prefetch and pre-connect 2022-06-10 12:15:37 +01:00
ResourceLoader.h LibWeb: Abstract the LibProtocol ResourceLoader connection 2022-05-15 12:17:36 +02:00