Bad Dragon White/Blank Page Fix

Workaround for the white page & blank page bugs on Bad Dragon.

Author
tikutaro
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
0.1.5
Created
2021-09-15
Updated
2021-10-13
License
N/A
Applies to

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

The white page and blank page bugs occur 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).