Releases: Mayriad/Mayriads-EH-Master-Script
Patch update: Mayriad's EH Master Script v2.0.2
Merry Christmas and Happy New Year!
Changelog
-
Added styles to the scientific dark theme feature to better cover bounty toplists and individual bounty pages.
-
Added styles to the design fixes feature to fix the colour of the arrow in the gallery list and bounty list page number selector when it is not clickable in the dark theme. Without this fix, this arrow would still use the colour from the light theme.
-
Added a helper function for the automated gallery downloads feature to replace illegal characters in the filename with their legal, full-width versions to better preserve the gallery title. This does not apply to Chromium browsers, though, because it seems they always use the default name from the headers.
-
Fixed a rather unexpected bug where gallery downloads do not actually start on Chromium browsers when the filename contains tilde (~), by including tilde in the list of illegal characters to be replaced in the new helper function mentioned above.
-
Fixed the notification message when the automated gallery downloads feature tries to check the torrents of a removed gallery; now it gives the unavailable gallery error instead of an unknown error. Previously, it was not known whether removed galleries could still show torrents in gallery lists. Another check is added to selectTargetTorrent() for basically the same purpose, but it is hopefully unnecessary.
-
Fixed the notification message when the automated gallery downloads feature tries to download a removed gallery as an archive; now it gives the unavailable gallery error instead of an unknown error. Previously, the error was handled in a wrong place.
-
Separated the unknown error from the group of setup errors, so that unknown errors will no longer stop the page download mode. The notification popup will still show up and pause the start of new gallery downloads in this mode until it is clicked.
-
Enabled error log download for unknown errors in the automated gallery downloads feature. It was incorrectly left disabled in attemptDownloadStep() and testDownloadHeaders() earlier.
-
Removed a line of code in the automated gallery downloads feature which would give an unnecessary notification popup with a debug message on one type of error. This one escaped the pre-release clean-up.
-
Changed all anchors added by this script to include their destination URLs in their hrefs as well, by adjusting the helper functions that add them. This makes the URLs visible on hover for slightly better transparency. Previously these URLs were only included in their onclick handlers.
Patch update: Mayriad's EH Master Script v2.0.1
Changelog
-
Added alternative placement for XHR error handlers to support the GM API v3 used by Violentmonkey. This is why the last version of this script did not really work on Violentmonkey.
-
Added a helper function that renames object properties after a script update without affecting their values.
-
Fixed one typo in loadData() which can mess up user settings in a script update. Fortunately, no one could have been affected by this typo since it is fixed in the first public update ever.
-
Modified fitViewerToScreen() to add semi-transparent shading strips behind the texts to make them easier to read in this mode.
-
Renamed the gallery download shortcuts feature to "automated gallery downloads", which better reflects what it does after the overhaul based on GM.download().
-
Cleaned up some code since Violentmonkey now also supports GM.* aliases that are compatible with GM API v4.
-
Applied trivial wording, line wrap, and variable name changes.
Mayriad's EH Master Script v2.0.0
First public release.