-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix scrapers to remove inline javascript in ZIM files #865
Comments
It looks like we might have got as far as we can with this issue. It has become less critical now that we are forced (due to Manifest V3) to use the PWA workaround for the Chromium extension. However, "conceptually" it would be nice to fix the remaining three scrapers. @kelson42 Do you think this issue should now be closed (but leave the unresolved three issues listed above still open)? |
Still something to finish, now officially on the plate of @benoit74 ;) |
|
@benoit74 Wonderful, many thanks! Box duly ticked! |
Thank you very much, @benoit74. I've ticked OpenEdx and look forward to Gutenberg in due course! |
@Jaifroid: Could you please test:
Unfortunately I cannot provide a ZIM to test openedx because we have no more active recipes on Zimfarm + other issues preventing the scraper to operate properly on recent openedx versions (openzim/openedx#175) |
@benoit74 Thank you very to have fixed the last scrapers. I can't wait to see that ticket closed! |
@benoit74 Thank you very much indeed. I've tested the new Gutenberg ZIM in the Chromium extension in the "Service Worker Local" mode, and I can confirm that books now display and load correctly, and all JS seems to be functioning as expected. I'm still downloading the African Story Book, so will report back on that, but it's looking great! |
I've now tested the African Story Book ZIM in Chromium with Service Worker Local mode (this is the mode where inline JS is blocked), and I confirm that it all looks good. The EPUB viewer, which I think is the main piece of dynamic code here, works perfectly with this version. @benoit74 Many thanks indeed. So I think we can finally close this issue if everyone is happy. 😊 |
Thanks once again! |
As discussed in #789, browser extensions now enforce some CSP that block inline javascript.
And it might happen in some other contexts, too.
Here is a list of affected scrapers that should be fixed (most critical first):
NB: please tick the items in the list only when it has been tested with Kiwix-js with a public ZIM file
The text was updated successfully, but these errors were encountered: