-
-
Notifications
You must be signed in to change notification settings - Fork 26
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 #249
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. |
@rgaudin Is that feasible? easily? |
There are additional ones, like MathJax, highlighting and for the tags browser. So yes, it's feasible, probably easy but time consuming… |
Could you give us a link to a ZIM file we could test with? |
The inline javascript already identified has indeed disappeared.
|
Fixed in 5cfce66. I'll share another ZIM |
Looks good, now. Thanks! |
Tested with https://download.kiwix.org/zim/stack_exchange/beer_stackexchange_com_2021-12.zim
There are these 2 inline javascript blocks in each page :
and the avatar images have the following attribute, too :
onerror="onImageLoadingError(this);"
The text was updated successfully, but these errors were encountered: