All themes are moved to `_theme` submodule, which will be shared with
other websites on hacks.guide.
Repository-specific files can be overlayed after the fact, such as
additional languages, custom JavaScript, progress table paths and the
like.
As MSET9 has mostly matured, we will no longer need several other
exploits.
The following are removed:
- alternate-exploits (and all linked by it)
- All seedminer-related paths
- firmware update pages
It's better to cater to the larger audience which is most likely on
11.x. Too many people are pressing literally anything else, ending up
at soundhax with a higher version.
All downstream changes from the theme (i.e. here) will be denoted with:
/* hacks-guide change start */
and
/* hacks-guide change end */
One-line changes are marked with
/* hacks-guide change */
next to it.
Since our theme does not have linear history with upstream, this allows
quicker identification of what exactly has differentiated downstream,
as we do have a few out-of-tree patches for extra functionality.
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.