Bad Dragon White Page Fix

Workaround for the white page bug on Bad Dragon.

2021-09-15 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
tikutaro
باھا نومۇرى
0 0 0
نەشرى
0.1
قۇرۇلغان ۋاقتى
2021-09-15
يېڭىلانغان ۋاقتى
2021-09-15
Size
839 بايت
ئىجازەتنامىسى
يوق
قوللايدىغىنى

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).