-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Remove inline javascript to comply with some CSP #154
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
Fixed via 5d468e3. Tested OK with Kiwix JS 3.4.0 extension in Chrome; which failed without the fix. |
Thanks! |
A new biologie-tout-compris_fr_all is scheduled but in the mean time, here's the test one I created test_yt5_2022-07.zim (16MB) |
It seems to work fine, thanks! |
Tested with dirtybiology_fr_all_2021-10.zim, dirtybiology_fr_all_2015-11.zim, and litterature-audiobooks-poetry_fr_2020-01.zim
Every page has the following inline script, that could be moved to a javascript file:
<script>$(document).ready(function() { trigger_webp_polyfill(); });</script>
And the drop-down list of the home page does not work because of its onchange attribute, that could be replaced by attaching an event handler on it (in a javascript file):
<select class="chosen-select" name="list" onchange="genplaylist()">...</select>
The text was updated successfully, but these errors were encountered: