Comments (2)
Thank you for the detailed report. I confirm I was able to reproduce the issue. In fact, detecting the complete loading of a page is not a trivial matter. For this reason, I've just added a hidden option called delayBeforeProcessing
(associated with a profile) which allows you to set a number of seconds before processing the page. This option will be available in the next version.
from singlefile.
Note that the userscript below should also work meanwhile.
dispatchEvent(new CustomEvent("single-file-user-script-init"));
addEventListener("single-file-on-before-capture-request", async event => {
event.preventDefault();
try {
// wait 5000ms
await new Promise(resolve => setTimeout(resolve, 5000));
// do other things...
} finally {
dispatchEvent(new CustomEvent("single-file-on-before-capture-response"));
}
});
from singlefile.
Related Issues (20)
- Save to include videos/gifs HOT 3
- Option not to group "save page with profile" into a submenu, but add profiles directly HOT 1
- Git repo is 338M but code base is 3.8M HOT 1
- File name issue (V 1.22.46 for Google Chrome ) HOT 1
- Manifest v3 support HOT 1
- Targeted optimization of web images to reduce the overall size of the archive HOT 1
- white page HOT 1
- Attempting to save a Reddit tab causes the tab to freeze and crash. HOT 8
- InternalError:allocation size overflow HOT 1
- Export button on Firefox Android not working HOT 1
- Add option for space saving without deleting newlines HOT 3
- Hello, may I ask if my project can be added to the 'Projects using/compatible with SingleFile'? HOT 6
- Add option to remove menu entry in tab bar HOT 1
- SingleFile and SingleFileZ both have problem when saving a webpage tool based on Bootstrap. HOT 5
- Add an option to make the infobar opened by default when viewing an archive HOT 1
- Images (full-sized) not fully captured on eBay listing HOT 1
- Auto save on tab removal HOT 4
- 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
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.