Giter VIP home page Giter VIP logo

mozarchiver's Introduction

MozArchiver

Extension to allow the creation and viewing of MAFF and MHT archive files within Pale Moon. Fork of the extension Mozilla Archive Format by Christopher Ottley and Paolo Amadini for Pale Moon.

Building

Simply download the contents of the "src" folder and pack the contents into a .zip file. Then, rename the file to .xpi and drag into the browser.

On Unix systems (or Windows 10, with WSL) you can optionally run build.sh instead. Running this as-is will produce a .xpi file ending in -dev, and if run from the command line and appending a number (e.g. ./build.sh 2) will append that number to the filename instead.

mozarchiver's People

Contributors

lootyhoof avatar spiralofhope avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

troyp guimmp92

mozarchiver's Issues

Urlbar button does not work in PM 28

After opening an archive file in Pale Moon 28.0.0b5, the button displayed in the URL bar does not function. On click, the following error is displayed in the console:
TypeError: Ci.nsIPopupBoxObject is undefined
The error occurs at this line.

I suspect the root cause might be related to this bug. Replacing Ci.nsIPopupBoxObject with PopupBoxObject appears to fix the issue.

Can't save multiple tabs

Hi,
when I try to save multiple tabs (more tabs at the same time separately or more tabs in a unique maff file), the operation fails.

very long filenames

Not sure if bug or feature, but saving with very long filenames (i can confirm 643 chars long), give "unknown error". I've also made a terminal script to download and make maff, where the zip application cant handle very long file-name, dunno if its the same problem. (can be a problem since sometimes the default suggested name for the file is too long).

window.onload does not fire in a .mht file

I don't know is it an issue of Pale Moon or MozArchiver, but it worked fine with old Firefox and UnMHT.
The event window.onload does not fire. A simple example from MDN (https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event#Live_example) give me this if I execute it in a .mht file (testcase.mht in the attachment)

readystate: interactive
DOMContentLoaded

It should be like this (testcase.html in the attachment):

readystate: interactive
DOMContentLoaded
readystate: complete
load

So, many .mht files that rely on some JavaScript are broken.
Tested with Pale Moon 28.5.2 and MozArchiver 2.0.1.

testcase.zip

Saves, but does not display, Disqus comments

  • Visit https://www.bitchute.com/video/3yk3xezML8Q/
    • (I've tried other random BitChute videos, and I think this problem is reproduced with all videos with some significant number of comments.)
    • (I click the Disqus "sort by oldest", but I don't think that's relevant)
  • scroll down and keep clicking see more no longer appears -- i.e. all comments have been loaded
  • save as maff
    • (Note that this example will be ~100 MB since it includes the video)
  • view the maff
  • scroll down to the bottom of the maff
  • compare the original-bottom with the maff-bottom
    • (not all Disqus comments are displayed.)
  • copy part of the bottom comment from the original
  • From Pale Moon, view the source of the maff (control-u)
  • search for the text which was copied

The comment is present in the source of the saved data, but is not displayed within Pale Moon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.