| <!DOCTYPE html> |
| <html> |
| <head> |
| <link rel="stylesheet" href="style"></link> |
| <link rel="prefetch" href="prefetch"></link> |
| </head> |
| <body> |
| <img src="image-inline"> |
| <a href="javascript:" ping="ping">link</a> |
| |
| <!-- All script-based loading at the bottom to avoid duplicating requests |
| due to the preload scanner --> |
| <script src="script"></script> |
| <script> |
| // <img> |
| var i = document.createElement('img'); |
| i.src = "image-script"; |
| |
| // <a ping> |
| document.querySelector('a').click(); |
| |
| // Beacon |
| navigator.sendBeacon("/beacon", "foo"); |
| </script> |
| </body> |
| </html> |