Commit abe4f29aea missed the existence of
safecerthax, which would have caused an error on specific firmware
versions.
This partially reverts commit abe4f29aea.
This time, it's an HTML include, and not a relative include.
We can make use of the existing captures done for invalidVersion and
methodUnavailable by passing it to the include flag.
Move all HTML tags into the new HTML include so that it doesn't show on
Crowdin, this way translations aren't broken every time something in
the HTML tags change. One change will fix all of it.
Also, do not show the version selector if JS is not supported on the
browser. This can be done with a simple JS to display the script
automatically, which will by definition not show the selector when JS
isn't enabled as the JS to turn it on can't run.
This is the solution to making sure things that need translating aren't cached from English. A continuation of another commit that needed nocache.
ALSO:Add kartdlphax to progress sidebar
ALSO: Remove fading on dropdown menu click. This is also a bug on the actual upstream, when the cursor leaves the screen the menu disappears but the fading doesn't.
This causes things like the menu saying it's open when it's not and closed when open. I'm not dealing with an upstream bug.
The link to the privact policy was loading the fourth title because `titles[3]` is gonna be the fourth element in the array. Since there are only three in the array and the third in `en_gb` is 'Privacy Policy', I'm gonna assume that it's meant to be `titles[2]`.
I make this mistake a lot myself.