Skip to content

Releases: MistralMireille/MHTML-Viewer

v0.9.7

13 Mar 18:16
Compare
Choose a tag to compare

Important:
If you have a previous version of this app, you'll have to uninstall it first before you can install this one. Long story short, I've been releasing the debug version of the apk. This is a signed release version which should be smaller in size among other benefits. Luckily, there aren't really that many user settings so reinstalling shouldn't be too annoying.

Changelog:

  • Changed "Default Crawler Folder" and "Default Download Folder" setting names to "Crawler Folder" and "Download Folder" since they aren't really defaults after you change them. The names didn't really make sense.
  • Added a "Theme" setting that lets you set a simple Dark theme. It requires an app restart though.
  • Changes where the list of mhtml files will be scrolled to after exiting a local file:

    Before: The list would reset, making the first file the top of the list.
    After: The list will automatically scroll so that the last-opened local file will be placed at the top of the list.

  • Fixed issue where if the user presses "Back" in the WebView, "Next Page" and "Previous Page" would no longer go to the correct file.
  • Added a menu that appears when the user holds an mhtml file. The menu has three options:

    Delete File: Will prompt the user, asking if they want to delete the file.
    Rename File: Will prompt the user, asking for a new filename in order to rename the file.
    Fix Blob Images (Experimental): Will attempt to fix blob images. I can't imagine most users would use this but I guess I'll elaborate on what it does. When the saveWebArchive method of a WebView saves a page with images that have "blob:" in their source tags, the image won't correctly appear when you load the locally archived file. The simple fix is to just scan the file for instances where that happens and remove the "blob:" which is what this does. It runs on the same thread though, so until all of the instances of "blob:" are removed, the app will freeze.

v0.9.5

04 Oct 23:59
Compare
Choose a tag to compare

Changelog:

  • Fixed issue where navigating to another local page via link in the page would make the "Next Page" and "Previous Page" buttons no longer correctly change to the right file. (i.e. If you clicked a link in File1 that goes to File2 and then clicked "Next Page", it would open File2 again instead of File3.)
  • Fixed issue where using the share feature in a browser, like Chrome or Firefox, to open a url in the app's browser would cause the app to crash.
  • Added a file browser that can be used to change the crawler folder, which determines what folders and subfolders to look for mhtml files in, and the download folder, which determines where pages saved via the browser's "Save Page" option get saved. Originally, the user would have to type the path. The user can still type the path if prefered since there is also an EditText in the file browser dialog.
  • Fixed issue where if a user sets the crawler folder or the download folder to a folder that is a parent of storage/emulated then the app would crash on startup with the only fix being to reinstall the app.
  • Added a menu option "Download Here" to the MainActivity (where the list of the local mhtml files are) that allows the user to change the download location to whatever folder the MainActivity is currently open to.
  • Added a menu option "Find in Page" that let the user search for some text in a local file to quickly navigate to it.

2/27/2023: Changed the behavior of the "Find in Page" menu so that the user can also tap "Next" or "Previous" to start the search as opposed to requiring the user to press "Go". Fixed versioning stuff.

3/03/2023: Added an icon that supports Android 13's themed icons.

v0.9.4

02 Jun 02:14
Compare
Choose a tag to compare

Changelog:

  • Fixed issue where if a filename had %, ?, or #, the webview would fail to load it.
  • Settings such as "Default Download Location" will now have the current value in the text input so that the user won't have to type "storage/emulated/0/" every time.
  • Settings now allow the user to define what happens if they click a link in a local file. The three options are:

    Ask User: When the user clicks a link, if there's another local file with that url in the same folder, it will ask the user if they want to open the local file or the online url. If a local file isn't found, the user will still be asked if they want to open the online url.
    Local Only: When the user clicks a link, if there's another local file with that url in the same folder, it loads it; otherwise, it doesn't do anything.
    Do Nothing: When the user clicks a link in a local file, nothing happens.

  • Added numeric sort which sorts the files only by the numbers in the filenames. This was added to fix an issue where slight differences in filenames leads to incorrectly sorted filenames (i.e. "someFilename? 1.mht" will come after "someFilename 2.mht")
  • Added the drop down commands "Next Page" and "Previous Page" which allow the user to change from a local file to the next or previous local file.

v0.9.3

21 Jan 01:21
Compare
Choose a tag to compare

Fixed issue with alphanumeric sort, changed the list of folders/files to always update when the user returns in case they change a file outside of the app, and fixed orientation change resetting the browser.

4/26/2022: Fixed issue with BlobReplacement function.