Bad Dragon White Page Fix

Workaround for the white page bug on Bad Dragon.

Ekde 2021/09/15. Vidu La ĝisdata versio.

Aŭtoro
tikutaro
Ratings
0 0 0
Versio
0.1.1
Kreita
2021/09/15
Ĝisdatigita
2021/09/15
Size
883 bitokoj
Licenco
N/A
Aplikiĝas al

This script serves as a workaround to the "white page" bug on Bad Dragon by reloading certain media scripts that failed to load.

The white page bug occurs when the website fetches scripts from Cloudfront but the CORS header Access-Control-Allow-Origin is not present in the response, meaning the page's scripts don't load. As a result, the website appears to not have completely loaded (white background, no stylesheet, elements are arranged incorrectly, etc).