webrecorder / archiveweb.page

A High-Fidelity Web Archiving Extension for Chrome and Chromium based browsers!
https://chrome.google.com/webstore/detail/webrecorder/fpeoodllldobpkbkabpblcfaogecpndd
GNU Affero General Public License v3.0
824 stars 59 forks source link

This website cannot be saved correctly #128

Open xjl456852 opened 1 year ago

xjl456852 commented 1 year ago

The latex online website cannot be saved correctly. Can't open the result. The result page always fails to open image Thank you

ikreymer commented 1 year ago

Unfortunately, this site uses implicit globals across different files, eg. it declares

let boot_body = Config[Environment].Boot_OSS;
...

in one file, and then uses boot_body in other JS files. We don't have a solution for this, and an example of what's describe in: webrecorder/wombat#82 An easy fix for the site is to use something like:

window.boot_body = Config[Environment].Boot_OSS;
...

Perhaps we can explore fixing this automatically in the future, but it is tricky.