Comments (3)
This is possible by opening the index.html
file in the browser after extracting the zip file and save the page again with SingleFile. If you use Chrome, you need to enable "Allow access to file URLs" in the extension page, i.e. chrome://extensions/?id=mpiodijhokgodhhofbcjdecpffjipkle. Otherwise I would recommend to run a HTTP server and open the index.html through it (e.g. http://localhost:8080/saved-page/index.html).
Alternatively, you can use SingleFile CLI to re-save the page, see https://github.com/gildas-lormeau/single-file-cli.
from singlefile.
That's the workaround I mentioned and use, but you lose profile (maybe you originally saved a zip which includes searchable text, but then on resaving used a different profile)
And even when using the same profile the saved file is slightly different, has a different number of files (besides those you delete, of course). Though maybe the 2nd part doesn't matter, it's just some js chunking and such that's performed differently
Is there maybe a way to "split" the saved file into pure zip and SingleFile's metadata so you could edit the zip as you like and later combine it with the metadata into your cool universal format?
from singlefile.
Right now, I agree that today manipulating a self-extracting file is very complicated, if not impossible (for universal files) with existing tools. It's technically possible to implement such a tool, but it requires a bit of work.
from singlefile.
Related Issues (20)
- Unable to edit page on mzh.moegirl.org.cn, blank in annotation editor with `Content Security Policy` errors (but open success, saved with smaller size) HOT 2
- Saving with Zip format (including SingleFileZ) fails to save some elements HOT 1
- The `white-space` attr will be removed after saving in Safari HOT 3
- Ability to run SingleFile within a Playwright context HOT 1
- Underlining of text HOT 1
- 保存网页后,本地html文件无法正常显示网页内容 HOT 3
- Add support for `HTTPS-Only Mode` in Firefox HOT 16
- SingleFile does not work on Android Microsoft Edge at all HOT 4
- Some tab / button trigger by js not working HOT 3
- feature request: debug log traces to be monitored in console HOT 8
- I'm bit confused about help page HOT 1
- Why can't I click this button,i want debug the crx! HOT 2
- ebay capture doesn't save all images HOT 1
- SingleFile freezes when saving with Zotero Connector enabled HOT 9
- Freeze on a Japanese website HOT 2
- 有些网址无法下载图片 HOT 2
- ScienceDirect snapshots are missing styles HOT 4
- Non-technical person here! Is it possible to save full websites with this? HOT 3
- Feature Request: support saving to s3 (or s3 compatible) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from singlefile.